aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sgmlformat
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-23 06:50:22 +0800
committerobrien <obrien@FreeBSD.org>2001-03-23 06:50:22 +0800
commit0f212231b6342832ee83ecae811312315e4de62a (patch)
tree3c93ae1c1430861d10c011cc63da75b81fd3bcea /textproc/sgmlformat
parent2f770e6e682b9df33c8a1af6de660e5460389731 (diff)
downloadfreebsd-ports-gnome-0f212231b6342832ee83ecae811312315e4de62a.tar.gz
freebsd-ports-gnome-0f212231b6342832ee83ecae811312315e4de62a.tar.zst
freebsd-ports-gnome-0f212231b6342832ee83ecae811312315e4de62a.zip
Correct logic who's result was OpenJade not being used to satisfy the
dependency on the Alpha platform.
Diffstat (limited to 'textproc/sgmlformat')
-rw-r--r--textproc/sgmlformat/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
index e5a7a03ca3c6..95aca3def15b 100644
--- a/textproc/sgmlformat/Makefile
+++ b/textproc/sgmlformat/Makefile
@@ -18,20 +18,17 @@ MAINTAINER= kuriyama@FreeBSD.org
.include <bsd.port.pre.mk>
+.if ${MACHINE_ARCH} == "alpha"
+WITH_OPENJADE= yes
+.endif
+
.if ${OSVERSION} < 220000
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp
+.elif defined(WITH_OPENJADE)
+RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade
.else
RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade
.endif
-
-.if defined(WITH_OPENJADE)
-RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade
-.endif
-
-.if ${MACHINE_ARCH} == "alpha"
-WITH_OPENJADE= yes
-.endif
-
RUN_DEPENDS+= ${PREFIX}/share/sgml/linuxdoc:${PORTSDIR}/textproc/linuxdoc \
${PREFIX}/share/sgml/docbook:${PORTSDIR}/textproc/docbook