summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-03-04 03:57:55 +0000
committerjmz <jmz@FreeBSD.org>1995-03-04 03:57:55 +0000
commitb1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4 (patch)
tree149d86f409ca049b0ea801e02f6e6ef827bdf0ec /print
parent61991ca9ff1c1e8a8229c6647ebaa50adda2d3eb (diff)
downloadFreeBSD-ports-b1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4.zip
FreeBSD-ports-b1d8ee7595c0d323dbd2f8be6f6e74b30925b5b4.tar.gz
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')
-rw-r--r--print/latex/Makefile10
-rw-r--r--print/tex/Makefile1
2 files changed, 6 insertions, 5 deletions
diff --git a/print/latex/Makefile b/print/latex/Makefile
index 4c7429f..6c83652 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:
diff --git a/print/tex/Makefile b/print/tex/Makefile
index d43d258..d112f27 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -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
OpenPOWER on IntegriCloud