aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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