diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1994-12-12 12:53:06 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1994-12-12 12:53:06 +0000 |
commit | 09956ebb8b598c8e939ac12c114934c22882021e (patch) | |
tree | 3d705c69eece4fb6b76a3a70568518da1e9950f3 /print/tex/Makefile | |
parent | Add a patch for the sun2mime command to use /usr/bin/awk instead of (diff) |
Use ${BUILD_COOKIE}
Set PKGNAME
Notes
Notes:
svn path=/head/; revision=560
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}" |