summaryrefslogtreecommitdiff
path: root/print/latex/Makefile
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-03-04 03:57:55 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-03-04 03:57:55 +0000
commitd037bfba6738fe8663c996f7a7019fd890bff3fb (patch)
tree82ef9b41b9fc7c693b75b0725b909fc11e06d524 /print/latex/Makefile
parentForgot to add bin/*merge when I changed it to use merged executables.... (diff)
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
Notes
Notes: svn path=/head/; revision=1084
Diffstat (limited to '')
-rw-r--r--print/latex/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/print/latex/Makefile b/print/latex/Makefile
index 4c7429f34da8..6c8365250a04 100644
--- a/print/latex/Makefile
+++ b/print/latex/Makefile
@@ -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: