summaryrefslogtreecommitdiff
path: root/textproc/docproj
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-01-20 22:19:42 +0000
committerNik Clayton <nik@FreeBSD.org>1999-01-20 22:19:42 +0000
commit99273c903841234e0eb6e8c7485f2ad5c9b21a3d (patch)
tree9b911311298b2db4ff319065cd14e269ee295e9e /textproc/docproj
parentUpgrade to 1.1.13. (diff)
Port now requires the JADETEX variable to be either "yes" or "no". If
"yes" then a dependency on print/jadetex is included (which in turn pulls in all 30MB of TeTeX). If no then it is ignored. There is no default. If ${JADETEX} is unset then pkg/JADETEX is shown to the user. Set IS_INTERACTIVE to indicate this in the Makefile.
Diffstat (limited to 'textproc/docproj')
-rw-r--r--textproc/docproj/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile
index e3dd5dc48513..8b5a0d5451eb 100644
--- a/textproc/docproj/Makefile
+++ b/textproc/docproj/Makefile
@@ -3,7 +3,7 @@
# Date created: 27 June 1998
# Whom: Nik Clayton <nik@freebsd.org>
#
-# $Id: Makefile,v 1.5 1998/12/18 10:55:54 jkh Exp $
+# $Id: Makefile,v 1.6 1998/12/20 20:49:13 nik Exp $
#
DISTNAME= docproj
@@ -19,6 +19,20 @@ RUN_DEPENDS= instant:${PORTSDIR}/textproc/sgmlformat \
tidy:${PORTSDIR}/www/tidy \
${PREFIX}/share/sgml/html/catalog:${PORTSDIR}/textproc/html
+IS_INTERACTIVE= "user must set JADETEX variable to 'yes' or 'no'"
+
+JADETEX?=
+
+.if empty(JADETEX)
+.BEGIN:
+ @${CAT} pkg/JADETEX
+ @${FALSE}
+.endif
+
+.if ${JADETEX} == yes
+RUN_DEPENDS+= ${PREFIX}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex
+.endif
+
EXTRACT_ONLY= # empty
NO_BUILD= yes