1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/print/latex/Makefile

74 lines
3.2 KiB
Makefile
Raw Normal View History

1995-04-15 04:34:11 +00:00
# New ports collection makefile for: latex
# Version required: ?
# Date created: 29 September 1994
# Whom: jmz
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
1995-04-15 04:34:11 +00:00
#
VERSION= 99.06
1995-04-15 04:34:11 +00:00
DISTNAME= latex
PKGNAME= latex2e-${VERSION}
CATEGORIES= print
MASTER_SITES= ftp://ftp.cdrom.com/pub/tex/package/
DISTFILES= latex_mf-${VERSION}.tar.gz latex_tfm-${VERSION}.tar.gz \
latex_base-${VERSION}.tar.gz latex_tools-${VERSION}.tar.gz \
latex_graphics-${VERSION}.tar.gz latex_psnfss-${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
NO_WRKSUBDIR= yes
MANUAL_PACKAGE_BUILD= has to be built with tex port
do-build:
@(cd ${WRKSRC}/base; tex --ini unpack.ins)
@(cd ${WRKSRC}/base; TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS; \
tex --ini latex.ltx </dev/null)
@(cd ${WRKSRC}/tools; TEXFORMATS=${WRKSRC}/base:; \
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
1999-08-22 19:01:07 +00:00
${LN} -sf ${PREFIX}/bin/tex latex; ./latex tools.ins)
@(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)
@(cd ${WRKSRC}/psnfss; TEXFORMATS=${WRKSRC}/base:; \
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
1999-08-22 19:01:07 +00:00
${CHMOD} u+w mh2scr.enc;\
${LN} -sf ${PREFIX}/bin/tex latex; for f in adobe charter\
mathtime psfonts alucida lucidabr nimbus utopia; do \
./latex $$f.ins; done)
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)
@${MKDIR} ${PREFIX}/share/texmf/tex/latex
@(cd ${WRKSRC}/base; for f in latexbug.tex testpage.tex \
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 \
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done)
@${MKDIR} ${PREFIX}/share/texmf/makeindx;
@(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)
@(cd ${WRKSRC}/graphics; for f in *.sty *.tex; do \
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done)
@(cd ${WRKSRC}/psnfss; for f in *.sty *.tex; do \
if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done)
1999-08-22 19:01:07 +00:00
@(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex)
@(${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 \
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)
@(cd ${WRKSRC}/psnfss; for f in *.dtx; do \
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)
.include <bsd.port.mk>