aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>1999-01-21 06:19:42 +0800
committernik <nik@FreeBSD.org>1999-01-21 06:19:42 +0800
commit8051c32a2df6cbbc2906fbe559c9c2e987b5eb06 (patch)
tree6d5e847779305907f3cebed1686e185e5ffdfd15 /textproc
parent4189029578ebafc3255cb50998925062a99475b4 (diff)
downloadfreebsd-ports-gnome-8051c32a2df6cbbc2906fbe559c9c2e987b5eb06.tar.gz
freebsd-ports-gnome-8051c32a2df6cbbc2906fbe559c9c2e987b5eb06.tar.zst
freebsd-ports-gnome-8051c32a2df6cbbc2906fbe559c9c2e987b5eb06.zip
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')
-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