freebsd-ports/print/tex/Makefile

45 lines
1.6 KiB
Makefile
Raw Normal View History

1995-04-15 00:34:11 -04:00
# New ports collection makefile for: tex
# Date created: 29 September 1994
# Whom: jmz
#
1999-08-30 21:53:22 -04:00
# $FreeBSD$
1995-04-15 00:34:11 -04:00
#
PORTNAME= tex
PORTVERSION= 3.14159
CATEGORIES= print
MASTER_SITES= ftp://ftp.freesoftware.com/pub/tex/package/
2000-01-27 16:50:19 -05:00
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
1995-04-15 00:34:11 -04:00
MAINTAINER= jmz@FreeBSD.org
MANUAL_PACKAGE_BUILD= has to be built with latex port
2000-01-27 16:50:19 -05: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
USE_GMAKE= yes
MAKE_FLAGS= fmts= all_mems=
do-build:
1999-08-27 22:17:34 -04:00
@(cd ${WRKSRC}; unset `env|${GREP} ^TEX|${SED} -e s/=.*//`; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${ALL_TARGET})
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
@${RM} -f ${PREFIX}/bin/mpostf ${PREFIX}/bin/inimpost ${PREFIX}/bin/virmpost ${PREFIX}/bin/latex \
2000-01-27 16:50:19 -05: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
@${MKDIR} ${PREFIX}/share/texmf/fonts/tfm
@(cd ${WRKDIR}/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm)
@${MKDIR} ${PREFIX}/share/texmf/metafont
@(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/share/texmf/metafont)
@${MKDIR} ${PREFIX}/share/texmf/tex
@(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
@(cd ${WRKDIR}/base; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
.include <bsd.port.mk>