aboutsummaryrefslogtreecommitdiffstats
path: root/print/tex/Makefile
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1997-02-10 09:57:56 +0800
committerjmz <jmz@FreeBSD.org>1997-02-10 09:57:56 +0800
commitf9849238d867f50f17734094a59f921697d6519a (patch)
treeb790e587b2b94df9b46a5f4ac4dafc182b7225fa /print/tex/Makefile
parentd2a3b7e97200d765aed4bc1246e8262083fb4237 (diff)
downloadfreebsd-ports-gnome-f9849238d867f50f17734094a59f921697d6519a.tar.gz
freebsd-ports-gnome-f9849238d867f50f17734094a59f921697d6519a.tar.zst
freebsd-ports-gnome-f9849238d867f50f17734094a59f921697d6519a.zip
Upgrade: version 3.1415 -> version 3.14159
Diffstat (limited to 'print/tex/Makefile')
-rw-r--r--print/tex/Makefile82
1 files changed, 36 insertions, 46 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile
index 8be685a39246..0571c4469fc8 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -1,42 +1,41 @@
# New ports collection makefile for: tex
-# Version required: 6.1
+# Version required: 7.0
# Date created: 29 September 1994
# Whom: jmz
#
-# $Id: Makefile,v 1.24 1996/11/18 14:12:23 asami Exp $
+# $Id: Makefile,v 1.25 1996/12/17 12:33:46 asami Exp $
#
-DISTNAME= web2c-6.1
-PKGNAME= tex-3.1415
+DISTNAME= web2c-7.0
+PKGNAME= tex-3.14159
CATEGORIES= print
-DISTFILES= web2c-6.1.tar.gz web-6.1.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
- mf_lib.tar.gz cm_mf.tar.gz modes.mf
+DISTFILES= web2c-7.0.tar.gz web-7.0.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
+ mf_lib.tar.gz cm_mf.tar.gz modes.mf
MAINTAINER= jmz@FreeBSD.org
-IGNOREFILES= ${DISTFILES}
-EXTRACT_ONLY= web2c-6.1.tar.gz web-6.1.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
+IGNOREFILES= tex_base.tar.gz cm_tfm.tar.gz mf_lib.tar.gz cm_mf.tar.gz
+EXTRACT_ONLY= web2c-7.0.tar.gz web-7.0.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz
-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
+#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
-#other equivalent sites: ftp.shsu.edu ftp.dante.de
-CTAN?= ftp.tex.ac.uk
+USE_GMAKE= yes
+MAKE_FLAGS= fmts= all_mems= -f
-BASES= mf.base cmmf.base
-FORMATS= tex.fmt
-
-CFLAGS+= -L${X11BASE}/lib
+NO_CHECKSUM= yes
+#other equivalent sites: ftp.shsu.edu ftp.dante.de
+CTAN?= ftp.tex.ac.uk
-web2c-6.1.tar.gz:
- @${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web2c-6.1.tar.gz -o ${DISTDIR}/$@
-web-6.1.tar.gz:
- @${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web-6.1.tar.gz -o ${DISTDIR}/$@
+web2c-7.0.tar.gz:
+ @${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web2c-7.0.tar.gz -o ${DISTDIR}/$@
+web-7.0.tar.gz:
+ @${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web-7.0.tar.gz -o ${DISTDIR}/$@
cm_mf.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f cm/mf.tar.gz -o ${DISTDIR}/$@
cm_tfm.tar.gz:
@@ -48,29 +47,20 @@ modes.mf:
tex_base.tar.gz:
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/macros -f plain/base.tar.gz -o ${DISTDIR}/$@
-pre-configure:
- (cd ${WRKDIR}/lib; gunzip *.gz)
-
-do-build:
- (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)
-
-do-install:
- @(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} ${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)
- @(rm -f ${PREFIX}/bin/latex)
+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/latex \
+ ${PREFIX}/share/texmf/web2c/mpost.mem ${PREFIX}/share/texmf/web2c/mp.pool
+ @${MKDIR} ${PREFIX}/share/texmf/fonts/tfm
+ @(cd ${WRKDIR}/cm/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm)
+ @${MKDIR} ${PREFIX}/share/texmf/metafont
+ @(cd ${WRKDIR}/cm/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}/plain/base; ${INSTALL_DATA} *.tex ${PREFIX}/share/texmf/tex)
+ (rm -f ${PREFIX}/bin/latex)
.include "Makefile.inc"