1995-04-15 00:34:11 -04:00
|
|
|
# New ports collection makefile for: tex
|
1997-12-10 19:00:20 -05:00
|
|
|
# Version required: 7.1
|
1995-04-15 00:34:11 -04:00
|
|
|
# Date created: 29 September 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-27 22:42:41 -04:00
|
|
|
# $Id: Makefile,v 1.35 1999/08/28 02:17:27 mharo Exp $
|
1995-04-15 00:34:11 -04:00
|
|
|
#
|
|
|
|
|
1997-12-10 19:00:20 -05:00
|
|
|
DISTNAME= web2c-7.1
|
1997-02-09 20:57:56 -05:00
|
|
|
PKGNAME= tex-3.14159
|
1996-11-17 03:45:20 -05:00
|
|
|
CATEGORIES= print
|
1997-12-14 21:19:23 -05:00
|
|
|
MASTER_SITES= ftp://ftp.cdrom.com/pub/tex/package/
|
1997-12-10 19:00:20 -05:00
|
|
|
DISTFILES= web2c-7.1.tar.gz web-7.1.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
|
1997-02-09 20:57:56 -05:00
|
|
|
mf_lib.tar.gz cm_mf.tar.gz modes.mf
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1995-04-15 00:34:11 -04:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1997-11-10 06:23:41 -05:00
|
|
|
MANUAL_PACKAGE_BUILD= has to be built with latex port
|
1997-12-10 19:00:20 -05:00
|
|
|
EXTRACT_ONLY= web2c-7.1.tar.gz web-7.1.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
|
1994-09-29 04:56:20 -04:00
|
|
|
mf_lib.tar.gz cm_mf.tar.gz
|
1995-04-20 20:21:41 -04:00
|
|
|
|
1997-02-09 20:57:56 -05:00
|
|
|
USE_GMAKE= yes
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1999-01-28 22:09:05 -05:00
|
|
|
MAKE_FLAGS= fmts= all_mems=
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1999-01-28 22:09:05 -05:00
|
|
|
do-build:
|
1999-08-27 22:17:34 -04:00
|
|
|
@(cd ${WRKSRC}; unset `env|${GREP} ^TEX|${SED} -e s/=.*//`; \
|
1999-01-28 22:09:05 -05:00
|
|
|
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${ALL_TARGET})
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1997-02-09 20:57:56 -05: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-27 22:42:41 -04:00
|
|
|
@${RM} -f ${PREFIX}/bin/mpostf ${PREFIX}/bin/inimpost ${PREFIX}/bin/virmpost ${PREFIX}/bin/latex \
|
1997-02-09 20:57:56 -05:00
|
|
|
${PREFIX}/share/texmf/web2c/mpost.mem ${PREFIX}/share/texmf/web2c/mp.pool
|
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/fonts/tfm
|
1997-12-10 19:00:20 -05:00
|
|
|
@(cd ${WRKDIR}/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm)
|
1997-02-09 20:57:56 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/metafont
|
1997-12-10 19:00:20 -05:00
|
|
|
@(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/share/texmf/metafont)
|
1997-02-09 20:57:56 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/tex
|
|
|
|
@(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
|
1997-12-10 19:00:20 -05:00
|
|
|
@(cd ${WRKDIR}/base; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
|
1994-12-26 21:55:51 -05:00
|
|
|
|
1994-09-29 04:56:20 -04:00
|
|
|
.include <bsd.port.mk>
|