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.
This commit is contained in:
parent
facb60e5ee
commit
99273c9038
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16218
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user