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
|
|
|
|
#
|
1995-04-20 20:21:41 -04:00
|
|
|
# $Id: Makefile,v 1.15 1995/04/17 20:31:35 asami 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
|
1995-04-01 07:51:41 -05:00
|
|
|
CATEGORIES+= printing
|
1994-09-29 04:56:20 -04:00
|
|
|
DISTFILES= web2c.tar.gz web.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
|
|
|
|
|
1994-09-29 04:56:20 -04:00
|
|
|
EXTRACT_ONLY= web2c.tar.gz web.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
|
|
|
|
mf_lib.tar.gz cm_mf.tar.gz
|
1995-04-20 20:21:41 -04:00
|
|
|
|
1994-12-26 21:55:51 -05:00
|
|
|
FTPGET= ${FILESDIR}/ftpget
|
1994-09-29 04:56:20 -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-04-16 20:16:14 -04:00
|
|
|
CFLAGS= -O2 -L${X11BASE}/lib
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1994-12-12 07:53:06 -05:00
|
|
|
|
1994-09-29 04:56:20 -04:00
|
|
|
web2c.tar.gz:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/systems/web2c web2c.tar.gz ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
web.tar.gz:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/systems/web2c web.tar.gz ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
cm_mf.tar.gz:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/fonts cm/mf.tar.gz ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
cm_tfm.tar.gz:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/fonts cm/tfm.tar.gz ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
mf_lib.tar.gz:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/systems/knuth lib.tar.gz ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
modes.mf:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/fonts/modes modes.mf ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
tex_base.tar.gz:
|
1994-12-26 21:55:51 -05:00
|
|
|
@${FTPGET} ${CTAN} /tex-archive/macros plain/base.tar.gz ${DISTDIR}/$@
|
1994-09-29 04:56:20 -04:00
|
|
|
|
1995-04-20 20:21:41 -04:00
|
|
|
do-build:
|
1994-09-29 04:56:20 -04:00
|
|
|
@(cd ${WRKSRC}/web2c; make triptrap)
|
|
|
|
@(cd ${WRKSRC}/web2c; make run-triptrap)
|
|
|
|
@(cd ${WRKSRC}/web2c; make clean-triptrap)
|
|
|
|
@(cd ${WRKSRC}; make CFLAGS="${CFLAGS}" programs)
|
|
|
|
@(cd ${WRKSRC}; MFINPUTS=${WRKDIR}/mf; export MFINPUTS;\
|
|
|
|
make bases="${BASES}" bases)
|
|
|
|
@(cd ${WRKSRC}/web2c; TEXINPUTS=${WRKDIR}/lib:${WRKSRC}; export TEXINPUTS;\
|
|
|
|
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}")
|
|
|
|
@mkdir -p ${PREFIX}/lib/texmf/fonts/tfm
|
|
|
|
@(cd ${WRKDIR}/cm/tfm; install -c -m 644 *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
|
|
|
|
@mkdir -p ${PREFIX}/lib/texmf/mf
|
|
|
|
@(cd ${WRKDIR}/mf; install -c -m 644 *.mf ${PREFIX}/lib/texmf/mf)
|
|
|
|
@mkdir -p ${PREFIX}/lib/texmf/tex
|
|
|
|
@(cd ${WRKDIR}/lib; install -c -m 644 *.tex ${PREFIX}/lib/texmf/tex)
|
|
|
|
@(cd ${WRKDIR}/plain/base; install -c -m 644 *.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>
|