1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use ${BUILD_COOKIE}

Set PKGNAME
This commit is contained in:
Jean-Marc Zucconi 1994-12-12 12:53:06 +00:00
parent 01aefb6a4d
commit 09956ebb8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560

View File

@ -1,6 +1,7 @@
#define this if you want to build LaTeX too
#MAKE_LATEX= yes
PKGNAME= tex
DISTFILES= web2c.tar.gz web.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz modes.mf
@ -28,6 +29,8 @@ FORMATS= tex.fmt
CFLAGS= -O2
BUILD_COOKIE= ${WRKDIR}/.build_done
pre-fetch:
@if [ ! -d ${DISTDIR} ]; then mkdir -p ${DISTDIR}; fi
@mkdir -p ${WRKDIR}
@ -98,8 +101,9 @@ latex_tfm.tar.gz:
ftp_dir=/tex-archive/fonts file_in=latex/tfm.tar.gz file_out=$@; \
fi;)
build: ${BUILD_COOKIE}
build: configure
${BUILD_COOKIE}:
@echo "===> Building for ${DISTNAME}"
@(cd ${WRKSRC}/web2c; make triptrap)
@(cd ${WRKSRC}/web2c; make run-triptrap)
@ -119,6 +123,7 @@ build: configure
@(cd ${WRKSRC}/web2c; TEXINPUTS=${WRKDIR}/lib:${WRKSRC}; export TEXINPUTS;\
TEXFONTS=${WRKDIR}/cm/tfm:${WRKDIR}/latex/tfm; export TEXFONTS; \
make fmts="${FORMATS}" fmts)
@touch -f ${BUILD_COOKIE}
install:
@echo "===> Installing for ${DISTNAME}"