1995-04-15 04:34:11 +00:00
|
|
|
# New ports collection makefile for: tex
|
|
|
|
# Date created: 29 September 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= tex
|
|
|
|
PORTVERSION= 3.14159
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
2001-09-23 19:50:42 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
2001-02-06 14:06:39 +00:00
|
|
|
MASTER_SITE_SUBDIR= systems/web2c
|
2000-04-16 10:44:52 +00:00
|
|
|
DISTNAME= web2c-7.2
|
2000-01-27 21:50:19 +00:00
|
|
|
DISTFILES= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
|
2000-04-09 17:50:59 +00:00
|
|
|
mf_lib.tar.gz cm_mf.tar.gz modes.mf
|
2001-05-14 22:56:00 +00:00
|
|
|
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
|
1994-09-29 08:56:20 +00:00
|
|
|
|
1995-04-15 04:34:11 +00:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
2001-05-14 22:56:00 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2000-05-04 20:48:49 +00:00
|
|
|
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
|
2001-05-14 22:56:00 +00:00
|
|
|
MAKE_FLAGS= fmts= all_mems=
|
1995-04-21 00:21:41 +00:00
|
|
|
|
2001-05-14 22:56:00 +00:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKDIR} && find . -name \*.gz | xargs gunzip -f
|
1994-09-29 08:56:20 +00:00
|
|
|
|
2001-05-14 22:56:00 +00:00
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC}/web2c; \
|
|
|
|
${LN} -s ../../tfm/*.tfm ../../base/*.tex ../../mf/*.mf ../../lib/*.mf .; \
|
|
|
|
${CP} ${DISTDIR}/modes.mf .
|
1994-09-29 08:56:20 +00:00
|
|
|
|
1999-01-29 03:09:05 +00:00
|
|
|
do-build:
|
2001-05-14 22:56:00 +00:00
|
|
|
@(cd ${WRKSRC}; unset `env|${GREP} ^TEX|${SED} -e s/=.*//`; \
|
1999-01-29 03:09:05 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${ALL_TARGET})
|
1994-09-29 08:56:20 +00:00
|
|
|
|
1997-02-10 01:57:56 +00:00
|
|
|
post-install:
|
|
|
|
@for i in kpsewhich dmp bibtex dvicopy dvitomp dvitype gftodvi gftopk \
|
|
|
|
gftype mf mft patgen pktogf pktype pltotf pooltype tangle tex tftopl \
|
|
|
|
vftovp vptovf weave; do strip ${PREFIX}/bin/$$i; done
|
1999-08-28 02:42:41 +00:00
|
|
|
@${RM} -f ${PREFIX}/bin/mpostf ${PREFIX}/bin/inimpost ${PREFIX}/bin/virmpost ${PREFIX}/bin/latex \
|
2000-01-27 21:50:19 +00:00
|
|
|
${PREFIX}/share/texmf/web2c/mpost.mem ${PREFIX}/share/texmf/web2c/plain.mem \
|
|
|
|
${PREFIX}/share/texmf/web2c/mp.pool ${PREFIX}/bin/mpost ${PREFIX}/bin/mpto
|
1997-02-10 01:57:56 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/fonts/tfm
|
1997-12-11 00:00:20 +00:00
|
|
|
@(cd ${WRKDIR}/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm)
|
1997-02-10 01:57:56 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/metafont
|
1997-12-11 00:00:20 +00:00
|
|
|
@(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/share/texmf/metafont)
|
1997-02-10 01:57:56 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/tex
|
|
|
|
@(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
|
1997-12-11 00:00:20 +00:00
|
|
|
@(cd ${WRKDIR}/base; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
|
1994-12-27 02:55:51 +00:00
|
|
|
|
1994-09-29 08:56:20 +00:00
|
|
|
.include <bsd.port.mk>
|