# New ports collection makefile for: latex # Version required: ? # Date created: 29 September 1994 # Whom: jmz # # $FreeBSD$ # VERSION= 99.12 DISTNAME= latex PKGNAME= latex2e-${VERSION} CATEGORIES= print MASTER_SITES= ftp://ftp.freesoftware.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 MAINTAINER= jmz@FreeBSD.org BUILD_DEPENDS= tex:${PORTSDIR}/print/tex RUN_DEPENDS= tex:${PORTSDIR}/print/tex 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 ${PREFIX}/share/texmf/tex/latex/graphics.cfg;\ echo '\ExecuteOptions{dvips}' >${PREFIX}/share/texmf/tex/latex/color.cfg) @(cd ${WRKSRC}/psnfss; for f in *.sty *.tex; do \ if [ -f $$f ]; then ${INSTALL_DATA} $$f ${PREFIX}/share/texmf/tex/latex; fi; done) @(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex) @(${MKDIR} ${PREFIX}/share/texmf/documentation) @(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) @(cd ${PREFIX}/bin; ${RM} -f latex; ${LN} -s tex latex) .include