summaryrefslogtreecommitdiff
path: root/textproc/docproj
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2000-10-16 21:31:24 +0000
committerJim Mock <jim@FreeBSD.org>2000-10-16 21:31:24 +0000
commited0e1375ea67953bc38556f86f703f59a3907425 (patch)
treee436623dbd0f4181611e83ffa2df0c2ba68327a9 /textproc/docproj
parentAdd appropriate BUILD_DEPENDS (diff)
Add a knob for openjade.
Ok'd by: nik
Diffstat (limited to 'textproc/docproj')
-rw-r--r--textproc/docproj/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile
index e81943965da0..9df222603880 100644
--- a/textproc/docproj/Makefile
+++ b/textproc/docproj/Makefile
@@ -14,7 +14,6 @@ DISTFILES= # empty
MAINTAINER= nik@freebsd.org
RUN_DEPENDS= instant:${PORTSDIR}/textproc/sgmlformat \
- jade:${PORTSDIR}/textproc/jade \
tidy:${PORTSDIR}/www/tidy \
w3m:${PORTSDIR}/www/w3m \
${PREFIX}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \
@@ -40,6 +39,16 @@ RUN_DEPENDS+= ${PREFIX}/share/texmf/web2c/jadetex.fmt:${PORTSDIR}/print/jadetex
EXTRACT_ONLY= # empty
NO_BUILD= yes
+.if defined(WITH_OPENJADE)
+RUN_DEPENDS+= openjade:${PORTSDIR}/textproc/openjade
+.else
+RUN_DEPENDS+= jade:${PORTSDIR}/textproc/jade
+.endif
+
+.if ${MACHINE_ARCH} == "alpha"
+WITH_OPENJADE= yes
+.endif
+
do-install: # empty
.include <bsd.port.mk>