aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbook-to-man
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/docbook-to-man')
-rw-r--r--textproc/docbook-to-man/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/textproc/docbook-to-man/Makefile b/textproc/docbook-to-man/Makefile
index 146c87d0ae03..5c0c7b764b19 100644
--- a/textproc/docbook-to-man/Makefile
+++ b/textproc/docbook-to-man/Makefile
@@ -15,18 +15,8 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A DocBook SGML DTD into nroff/troff -man macros converter
-.include <bsd.port.pre.mk>
-
# Global variables
#
-
-# There are two ports that satisfy the nsgmls requirement.
-# Jade is preferred.
-
-.if ${MACHINE_ARCH} == "alpha"
-WITH_OPENJADE= yes
-.endif
-
.if defined(WITH_OPENJADE)
RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade
.else
@@ -37,13 +27,22 @@ RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook
USE_IMAKE= yes
PREFIX?= ${LOCALBASE}
USE_XLIB= yes
-XFREE86_HTML_MAN= no
+XFREE86_HTML_MAN= no
MAN1= oinstant.1
+.include <bsd.port.pre.mk>
+
# Local variables
#
+# There are two ports that satisfy the nsgmls requirement.
+# Jade is preferred.
+
+.if ${ARCH} == "alpha"
+WITH_OPENJADE= yes
+.endif
+
.if defined(WITH_OPENJADE)
NSGMLS= onsgmls
.else