1995-04-15 04:34:11 +00:00
|
|
|
# New ports collection makefile for: latex
|
|
|
|
# Version required: ?
|
|
|
|
# Date created: 29 September 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1997-01-23 03:35:48 +00:00
|
|
|
# $Id: Makefile,v 1.25 1996/12/17 12:33:39 asami Exp $
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
1997-01-23 03:35:48 +00:00
|
|
|
VERSION= 96.12
|
1995-04-15 04:34:11 +00:00
|
|
|
DISTNAME= latex
|
1995-06-27 12:56:00 +00:00
|
|
|
PKGNAME= latex2e-${VERSION}
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1995-06-27 12:56:00 +00:00
|
|
|
DISTFILES= latex_mf-${VERSION}.tar.gz latex_tfm-${VERSION}.tar.gz \
|
|
|
|
latex_base-${VERSION}.tar.gz latex_tools-${VERSION}.tar.gz
|
1995-04-15 04:34:11 +00:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1995-09-23 20:24:13 +00:00
|
|
|
BUILD_DEPENDS= tex:${PORTSDIR}/print/tex
|
|
|
|
RUN_DEPENDS= tex:${PORTSDIR}/print/tex
|
1995-04-15 04:34:11 +00:00
|
|
|
|
1996-12-17 12:33:56 +00:00
|
|
|
IGNOREFILES= ${DISTFILES}
|
|
|
|
|
1994-12-26 00:23:32 +00:00
|
|
|
#other equivalent sites: ftp.shsu.edu ftp.dante.de
|
1995-04-21 00:21:41 +00:00
|
|
|
CTAN?= ftp.tex.ac.uk
|
1994-09-29 08:56:50 +00:00
|
|
|
|
|
|
|
|
1995-06-27 12:56:00 +00:00
|
|
|
latex_base-${VERSION}.tar.gz:
|
1996-07-06 08:30:53 +00:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/macros -f latex/base.tar.gz -o ${DISTDIR}/$@
|
1995-06-27 12:56:00 +00:00
|
|
|
latex_mf-${VERSION}.tar.gz:
|
1996-07-06 08:30:53 +00:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f latex/mf.tar.gz -o ${DISTDIR}/$@
|
1995-06-27 12:56:00 +00:00
|
|
|
latex_tfm-${VERSION}.tar.gz:
|
1996-07-06 08:30:53 +00:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/fonts -f latex/tfm.tar.gz -o ${DISTDIR}/$@
|
1995-06-27 12:56:00 +00:00
|
|
|
latex_tools-${VERSION}.tar.gz:
|
1996-07-06 08:30:53 +00:00
|
|
|
@${FETCH_CMD} -h ${CTAN} -c /tex-archive/macros -f latex/packages/tools.tar.gz -o ${DISTDIR}/$@
|
1995-10-03 21:19:24 +00:00
|
|
|
|
1995-04-21 00:21:41 +00:00
|
|
|
do-build:
|
1995-03-04 03:57:55 +00:00
|
|
|
@(cd ${WRKSRC}/base; yes | initex unpack.ins)
|
1994-09-29 08:56:50 +00:00
|
|
|
@(cd ${WRKSRC}/base; TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS; \
|
1995-03-04 03:57:55 +00:00
|
|
|
yes | initex latex.ltx)
|
1994-12-26 00:23:32 +00:00
|
|
|
@(cd ${WRKSRC}/packages/tools; TEXFORMATS=${WRKSRC}/base:; \
|
|
|
|
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
|
1995-03-04 03:57:55 +00:00
|
|
|
ln -sf /usr/local/bin/virtex latex; yes | ./latex tools.ins)
|
1994-09-29 08:56:50 +00:00
|
|
|
|
1995-04-21 00:21:41 +00:00
|
|
|
do-install:
|
1996-11-22 17:35:18 +00:00
|
|
|
@(/usr/bin/install -c -m 644 ${WRKSRC}/base/latex.fmt \
|
1994-10-12 03:00:12 +00:00
|
|
|
${PREFIX}/lib/texmf/ini/)
|
1996-11-22 17:35:18 +00:00
|
|
|
@(cd ${WRKSRC}/tfm; install -c -m 644 *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
|
|
|
|
@(cd ${WRKSRC}/mf; install -c -m 644 *.mf ${PREFIX}/lib/texmf/mf)
|
1994-10-12 03:00:12 +00:00
|
|
|
@(cd ${WRKSRC}/base; for f in latexbug.tex testpage.tex \
|
1994-09-29 08:56:50 +00:00
|
|
|
lablst.tex idx.tex nfssfont.tex small2e.tex sample2e.tex docstrip.tex \
|
1995-06-24 16:35:58 +00:00
|
|
|
hyphen.tex *.cls *.clo *.sty *.fd *.def *.cfg ; do \
|
1996-11-22 17:35:18 +00:00
|
|
|
if [ -f $$f ]; then install -c -m 644 $$f ${PREFIX}/lib/texmf/tex; fi; done)
|
|
|
|
@mkdir -p ${PREFIX}/lib/texmf/makeindx;
|
|
|
|
@(cd ${WRKSRC}/base; install -c -m 644 *.ist ${PREFIX}/lib/texmf/makeindx)
|
1994-12-26 00:23:32 +00:00
|
|
|
@(cd ${WRKSRC}/packages/tools; for f in *.sty *.tex; do \
|
|
|
|
if [ -f $$f ]; then install -c -m 644 $$f ${PREFIX}/lib/texmf/tex; fi; done)
|
1995-02-11 02:59:04 +00:00
|
|
|
@(cd ${PREFIX}/bin; rm -f latex; ln -s virtex latex)
|
1996-11-22 17:35:18 +00:00
|
|
|
@(mkdir -p ${PREFIX}/lib/texmf/documentation)
|
1995-06-24 16:35:58 +00:00
|
|
|
@(cd ${WRKSRC}/base; for f in *.dtx ltx3info.tex source2e.tex *.fdd ltnews*.tex *guide.tex; do \
|
1996-11-22 17:35:18 +00:00
|
|
|
if [ -f $$f ]; then install -c -m 644 $$f ${PREFIX}/lib/texmf/documentation; fi; done)
|
1995-02-13 15:00:23 +00:00
|
|
|
@(cd ${WRKSRC}/packages/tools; for f in *.dtx; do \
|
1996-11-22 17:35:18 +00:00
|
|
|
if [ -f $$f ]; then install -c -m 644 $$f ${PREFIX}/lib/texmf/documentation; fi; done)
|
1994-12-26 00:23:32 +00:00
|
|
|
|
|
|
|
.include "Makefile.inc"
|
1994-09-29 08:56:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|