aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-03-04 11:57:55 +0800
committerjmz <jmz@FreeBSD.org>1995-03-04 11:57:55 +0800
commitb1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4 (patch)
tree149d86f409ca049b0ea801e02f6e6ef827bdf0ec /print/latex
parent61991ca9ff1c1e8a8229c6647ebaa50adda2d3eb (diff)
downloadfreebsd-ports-gnome-b1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4.tar.gz
freebsd-ports-gnome-b1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4.tar.zst
freebsd-ports-gnome-b1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4.zip
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
Diffstat (limited to 'print/latex')
-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: