1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add EXEC_DEPENDS for latex and latex209

Define WRKDIR so that the build targets work correctly
Be repetitively affirmative when building latex so that it does not require
user input
This commit is contained in:
Jean-Marc Zucconi 1995-03-04 03:57:55 +00:00
parent 0e3481deb7
commit d037bfba67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1084
2 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,10 @@
DISTFILES= latex_mf.tar.gz latex_tfm.tar.gz latex_base.tar.gz \
latex_tools.tar.gz
DISTNAME= latex
EXEC_DEPENDS= tex:${PORTSDIR}/print/tex
FTPGET= ${FILESDIR}/ftpget
WRKDIR= ${.CURDIR}/work
BUILD_COOKIE= ${WRKDIR}/.build_done
IS_INTERACTIVE= yes
#other equivalent sites: ftp.shsu.edu ftp.dante.de
CTAN= ftp.tex.ac.uk
@ -24,12 +24,12 @@ build: ${BUILD_COOKIE}
${BUILD_COOKIE}:
@echo "===> Building for ${DISTNAME}"
@(cd ${WRKSRC}/base; initex unpack.ins)
@(cd ${WRKSRC}/base; yes | initex unpack.ins)
@(cd ${WRKSRC}/base; TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS; \
initex latex.ltx)
yes | initex latex.ltx)
@(cd ${WRKSRC}/packages/tools; TEXFORMATS=${WRKSRC}/base:; \
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
ln -s /usr/local/bin/virtex latex; ./latex tools.ins)
ln -sf /usr/local/bin/virtex latex; yes | ./latex tools.ins)
@touch -f ${BUILD_COOKIE}
install:

View File

@ -6,6 +6,7 @@ EXTRACT_ONLY= web2c.tar.gz web.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz
WRKDIR= ${.CURDIR}/work
FTPGET= ${FILESDIR}/ftpget
DISTNAME= web2c-6.1