1995-04-15 04:34:11 +00:00
|
|
|
# New ports collection makefile for: latex
|
|
|
|
# Date created: 29 September 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1995-04-15 04:34:11 +00:00
|
|
|
#
|
1997-11-10 11:23:41 +00:00
|
|
|
|
2000-04-09 17:50:59 +00:00
|
|
|
PORTNAME= latex2e
|
2004-04-19 19:57:46 +00:00
|
|
|
PORTVERSION= 2003.12
|
2004-06-14 13:27:38 +00:00
|
|
|
PORTREVISION= 1
|
2001-01-16 17:33:20 +00:00
|
|
|
CATEGORIES= print
|
2001-06-08 15:49:30 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= jmz
|
2000-04-09 17:41:40 +00:00
|
|
|
DISTFILES= latex_mf-${PORTVERSION}.tar.gz latex_tfm-${PORTVERSION}.tar.gz \
|
|
|
|
latex_base-${PORTVERSION}.tar.gz latex_tools-${PORTVERSION}.tar.gz \
|
|
|
|
latex_graphics-${PORTVERSION}.tar.gz latex_psnfss-${PORTVERSION}.tar.gz
|
1995-04-15 04:34:11 +00:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= TeX macro package
|
1995-04-15 04:34:11 +00:00
|
|
|
|
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
|
|
|
|
2006-05-14 01:12:33 +00:00
|
|
|
DIST_SUBDIR= tex
|
|
|
|
|
|
|
|
CONFLICTS= teTeX*
|
|
|
|
|
1999-06-08 23:10:52 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
1995-04-21 00:21:41 +00:00
|
|
|
do-build:
|
2006-05-14 01:12:33 +00:00
|
|
|
@${RM} ${WRKSRC}/tfm/dummy.tfm ${WRKSRC}/mf/cmex9.mf
|
2006-06-27 16:32:08 +00:00
|
|
|
@(cd ${WRKSRC}/base; TEXINPUTS=${WRKSRC}/base: export TEXINPUTS; tex --ini unpack.ins)
|
|
|
|
@(cd ${WRKSRC}/base; TEXINPUTS=${WRKSRC}/base: TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS TEXINPUTS; \
|
1997-02-10 02:08:55 +00:00
|
|
|
tex --ini latex.ltx </dev/null)
|
1999-06-08 23:10:52 +00:00
|
|
|
@(cd ${WRKSRC}/tools; TEXFORMATS=${WRKSRC}/base:; \
|
1994-12-26 00:23:32 +00:00
|
|
|
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
|
1999-08-22 19:01:07 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/tex latex; ./latex tools.ins)
|
1999-06-08 23:10:52 +00:00
|
|
|
@(cd ${WRKSRC}/graphics; TEXFORMATS=${WRKSRC}/base:; \
|
|
|
|
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
|
1999-08-22 19:01:07 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/tex latex; ./latex graphics.ins)
|
1999-06-08 23:10:52 +00:00
|
|
|
@(cd ${WRKSRC}/psnfss; TEXFORMATS=${WRKSRC}/base:; \
|
|
|
|
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
|
2001-06-08 15:49:30 +00:00
|
|
|
${LN} -sf ${PREFIX}/bin/tex latex; ./latex psfonts.ins)
|
1994-09-29 08:56:50 +00:00
|
|
|
|
1999-06-08 23:10:52 +00:00
|
|
|
do-install:
|
|
|
|
@(${INSTALL_DATA} ${WRKSRC}/base/latex.fmt ${PREFIX}/share/texmf/web2c/)
|
|
|
|
@(cd ${WRKSRC}/tfm; ${INSTALL_DATA} *.tfm ${PREFIX}/share/texmf/fonts/tfm)
|
|
|
|
@(cd ${WRKSRC}/mf; ${INSTALL_DATA} *.mf ${PREFIX}/share/texmf/metafont)
|
1999-08-22 23:33:47 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/tex/latex
|
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 \
|
1997-07-26 15:00:43 +00:00
|
|
|
*.cls *.clo *.sty *.fd *.def *.cfg ; do \
|
1999-06-08 23:10:52 +00:00
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done)
|
1999-08-22 23:33:47 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/makeindx;
|
1999-06-08 23:10:52 +00:00
|
|
|
@(cd ${WRKSRC}/base; ${INSTALL_DATA} *.ist ${PREFIX}/share/texmf/makeindx)
|
|
|
|
@(cd ${WRKSRC}/tools; for f in *.sty *.tex; do \
|
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done)
|
2000-02-07 01:14:00 +00:00
|
|
|
@(cd ${WRKSRC}/graphics; for f in *.sty *.tex *.def; do \
|
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done;\
|
2002-01-29 11:48:57 +00:00
|
|
|
${ECHO_CMD} '\ExecuteOptions{dvips}' >${PREFIX}/share/texmf/tex/latex/graphics.cfg;\
|
|
|
|
${ECHO_CMD} '\ExecuteOptions{dvips}' >${PREFIX}/share/texmf/tex/latex/color.cfg)
|
1999-06-08 23:10:52 +00:00
|
|
|
@(cd ${WRKSRC}/psnfss; for f in *.sty *.tex; do \
|
2001-06-08 15:49:30 +00:00
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done;\
|
|
|
|
tar cf - tex fonts | tar -C ${PREFIX}/share/texmf/ -xf -)
|
1999-08-22 19:01:07 +00:00
|
|
|
@(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex)
|
1999-08-22 23:33:47 +00:00
|
|
|
@(${MKDIR} ${PREFIX}/share/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 \
|
1999-06-08 23:10:52 +00:00
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done)
|
|
|
|
@(cd ${WRKSRC}/tools; for f in *.dtx; do \
|
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done)
|
|
|
|
@(cd ${WRKSRC}/graphics; for f in *.dtx; do \
|
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done)
|
2001-06-08 15:49:30 +00:00
|
|
|
@(cd ${WRKSRC}/psnfss; for f in *.dtx *pfd; do \
|
1999-06-08 23:10:52 +00:00
|
|
|
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/documentation; fi; done)
|
1999-08-22 19:01:07 +00:00
|
|
|
@(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex)
|
1994-12-26 00:23:32 +00:00
|
|
|
|
1994-09-29 08:56:50 +00:00
|
|
|
.include <bsd.port.mk>
|