diff options
author | jmz <jmz@FreeBSD.org> | 1994-12-12 20:53:06 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1994-12-12 20:53:06 +0800 |
commit | 2b80f8c6b2014c0b6ce822b3fce14fdb2f21345a (patch) | |
tree | ceb8d58336a9c484188954dce4870bff2736a915 /print/tex/Makefile | |
parent | 36a72413da11248442b50e628a097754e00fa291 (diff) | |
download | freebsd-ports-gnome-2b80f8c6b2014c0b6ce822b3fce14fdb2f21345a.tar.gz freebsd-ports-gnome-2b80f8c6b2014c0b6ce822b3fce14fdb2f21345a.tar.zst freebsd-ports-gnome-2b80f8c6b2014c0b6ce822b3fce14fdb2f21345a.zip |
Use ${BUILD_COOKIE}
Set PKGNAME
Diffstat (limited to 'print/tex/Makefile')
-rw-r--r-- | print/tex/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile index 5176e9d78932..4dadbb97b7a7 100644 --- a/print/tex/Makefile +++ b/print/tex/Makefile @@ -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}" |