summaryrefslogtreecommitdiff
path: root/print/tex/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-14 22:56:00 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-14 22:56:00 +0000
commit6c6d0742e87938e28e8e73f25d423479a1e9267c (patch)
tree61f0e0a0ee2caa3dc6b2318d2e299169a96224d3 /print/tex/Makefile
parentUpdate to 1.0.4 (diff)
A number of changes to this port:
* Portlint and clean up some style bugs * Replace a hand-rolled configure script with pre/post-configure and GNU_CONFIGURE (side-effect is to respect CC and CFLAGS in the build instead of using -O2) * respect the value of INSTALL_SCRIPT so the installation doesn't bomb out when we pass in INSTALL_PROGRAM as well * allow automatic packaging (the MANUAL_PACKAGE_BUILD) seems to be a hold- over from several years ago before package builds were done separately. Approved by: jmz (maintainer)
Notes
Notes: svn path=/head/; revision=42605
Diffstat (limited to 'print/tex/Makefile')
-rw-r--r--print/tex/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile
index 3aac70b3539a..ab35364cc8d0 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -14,25 +14,32 @@ MASTER_SITE_SUBDIR= systems/web2c
DISTNAME= web2c-7.2
DISTFILES= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz modes.mf
+EXTRACT_ONLY= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
+ mf_lib.tar.gz cm_mf.tar.gz
MAINTAINER= jmz@FreeBSD.org
-MANUAL_PACKAGE_BUILD= has to be built with latex port
-EXTRACT_ONLY= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
- mf_lib.tar.gz cm_mf.tar.gz
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
MAN1= access.1 amstex.1 bibtex.1 dmp.1 dvicopy.1 dvitype.1 eplain.1 \
etex.1 gftodvi.1 gftopk.1 gftype.1 kpsestat.1 kpsewhich.1 \
latex.1 makempx.1 mf.1 mft.1 mktexlsr.1 mktexmf.1 mktexpk.1 \
mktextfm.1 mpost.1 mpto.1 newer.1 omega.1 patgen.1 pdftex.1 \
pktogf.1 pktype.1 pltotf.1 pooltype.1 readlink.1 tangle.1 \
tex.1 tftopl.1 tie.1 vftovp.1 vptovf.1 weave.1
+MAKE_FLAGS= fmts= all_mems=
-USE_GMAKE= yes
+pre-configure:
+ cd ${WRKDIR} && find . -name \*.gz | xargs gunzip -f
-MAKE_FLAGS= fmts= all_mems=
+post-configure:
+ @cd ${WRKSRC}/web2c; \
+ ${LN} -s ../../tfm/*.tfm ../../base/*.tex ../../mf/*.mf ../../lib/*.mf .; \
+ ${CP} ${DISTDIR}/modes.mf .
do-build:
- @(cd ${WRKSRC}; unset `env|${GREP} ^TEX|${SED} -e s/=.*//`; \
+ @(cd ${WRKSRC}; unset `env|${GREP} ^TEX|${SED} -e s/=.*//`; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${ALL_TARGET})
post-install: