1995-04-15 00:34:11 -04:00
|
|
|
# New ports collection makefile for: tex
|
|
|
|
# Version required: 6.1
|
|
|
|
# Date created: 29 September 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1996-11-18 09:17:24 -05:00
|
|
|
# $Id: Makefile,v 1.23 1996/11/17 08:45:11 obrien Exp $
|
1995-04-15 00:34:11 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= web2c-6.1
|
1995-04-16 18:52:37 -04:00
|
|
|
PKGNAME= tex-3.1415
|
1996-11-17 03:45:20 -05:00
|
|
|
CATEGORIES= print
|
1996-03-01 21:08:23 -05:00
|
|
|
DISTFILES= web2c-6.1.tar.gz web-6.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 modes.mf
|
|
|
|
|
1995-04-15 00:34:11 -04:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1996-03-18 19:20:44 -05:00
|
|
|
EXTRACT_ONLY= web2c-6.1.tar.gz web-6.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
|
1996-11-18 09:17:24 -05:00
|
|
|
MAN1= bibtex.1 dvitype.1 gftodvi.1 gftopk.1 gftype.1 \
|
|
|
|
latex.1 mf.1 mft.1 pktogf.1 pktype.1 pltotf.1 slitex.1 \
|
|
|
|
tangle.1 tex.1 tftopl.1 vftovp.1 vptovf.1 weave.1 etex.1 \
|
|
|
|
amslatex.1 amstex.1 initex.1 lamstex.1 patgen.1 pooltype.1 \
|
|
|
|
virtex.1
|
1995-04-20 20:21:41 -04:00
|
|
|
|
1994-11-11 17:29:14 -05:00
|
|
|
#other equivalent sites: ftp.shsu.edu ftp.dante.de
|
1995-04-20 20:21:41 -04:00
|
|
|
CTAN?= ftp.tex.ac.uk
|
1994-09-29 04:56:20 -04:00
|
|
|
|
|
|
|
|
|
|
|
BASES= mf.base cmmf.base
|
|
|
|
FORMATS= tex.fmt
|
|
|
|
|
1995-10-05 13:31:06 -04:00
|
|
|
CFLAGS+= -L${X11BASE}/lib
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1994-12-12 07:53:06 -05:00
|
|
|
|
1996-03-01 21:08:23 -05:00
|
|
|
web2c-6.1.tar.gz:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web2c-6.1.tar.gz -o ${DISTDIR}/$@
|
1996-03-01 21:08:23 -05:00
|
|
|
web-6.1.tar.gz:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web-6.1.tar.gz -o ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
cm_mf.tar.gz:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f cm/mf.tar.gz -o ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
cm_tfm.tar.gz:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f cm/tfm.tar.gz -o ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
mf_lib.tar.gz:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/knuth -f lib.tar.gz -o ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
modes.mf:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts/modes -f modes.mf -o ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
tex_base.tar.gz:
|
1996-07-06 04:24:14 -04:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/macros -f plain/base.tar.gz -o ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1996-07-06 04:24:14 -04:00
|
|
|
pre-configure:
|
|
|
|
(cd ${WRKDIR}/lib; gunzip *.gz)
|
1995-10-03 17:19:24 -04:00
|
|
|
|
1995-04-20 20:21:41 -04:00
|
|
|
do-build:
|
1996-07-06 04:24:14 -04:00
|
|
|
(cd ${WRKSRC}; make CFLAGS="${CFLAGS}" programs)
|
|
|
|
(cd ${WRKSRC}; MFINPUTS=${WRKDIR}/mf; export MFINPUTS;\
|
1994-09-29 04:56:20 -04:00
|
|
|
make bases="${BASES}" bases)
|
1996-07-06 04:24:14 -04:00
|
|
|
(cd ${WRKSRC}/web2c; TEXINPUTS=${WRKDIR}/lib:${WRKSRC}; export TEXINPUTS;\
|
1994-09-29 04:56:20 -04:00
|
|
|
TEXFONTS=${WRKDIR}/cm/tfm:${WRKDIR}/latex/tfm; export TEXFONTS; \
|
|
|
|
make fmts="${FORMATS}" fmts)
|
|
|
|
|
1995-04-20 20:21:41 -04:00
|
|
|
do-install:
|
1994-09-29 04:56:20 -04:00
|
|
|
@(cd ${WRKSRC}/web2c; make install-exec INSTALL_PROGRAM="/usr/bin/install -c -s")
|
|
|
|
@(cd ${WRKSRC}/web2c; make install-manpages)
|
|
|
|
@(cd ${WRKSRC}/web2c; make install-data bases="${BASES}" fmts="${FORMATS}")
|
1996-11-17 03:45:20 -05:00
|
|
|
@${MKDIR} ${PREFIX}/lib/texmf/fonts/tfm
|
|
|
|
@(cd ${WRKDIR}/cm/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
|
|
|
|
@${MKDIR} ${PREFIX}/lib/texmf/mf
|
|
|
|
@(cd ${WRKDIR}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/lib/texmf/mf)
|
|
|
|
@${MKDIR} ${PREFIX}/lib/texmf/tex
|
|
|
|
@(cd ${WRKDIR}/lib; ${INSTALL_DATA} *.tex ${PREFIX}/lib/texmf/tex)
|
|
|
|
@(cd ${WRKDIR}/plain/base; ${INSTALL_DATA} *.tex ${PREFIX}/lib/texmf/tex)
|
1995-04-20 20:21:41 -04:00
|
|
|
@(rm -f ${PREFIX}/bin/latex)
|
1994-12-26 21:55:51 -05:00
|
|
|
|
|
|
|
.include "Makefile.inc"
|
1994-09-29 04:56:20 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|