textproc/docbook-to-man: Use openjade after jade deprecation (f9de5757c4)

- Remove OPENJADE option
- Bump PORTREVISION for dependency change

PR:		282097
This commit is contained in:
Yasuhiro Kimura 2024-10-29 22:21:41 +08:00 committed by Po-Chuan Hsieh
parent a3a4ca880d
commit 2010fd9a6a
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 7 additions and 25 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= docbook-to-man
PORTVERSION= 1.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= https://www.oasis-open.org/docbook/tools/dtm/
DISTNAME= docbook-to-man
@ -11,30 +11,17 @@ WWW= https://www.oasis-open.org/docbook/tools/dtm/
LICENSE= MIT
RUN_DEPENDS= docbook>0:textproc/docbook
RUN_DEPENDS= docbook>=0:textproc/docbook \
openjade>=0:textproc/openjade
USES= imake
MAKE_JOBS_UNSAFE= yes
# There are two ports that satisfy the nsgmls requirement.
# Jade is preferred, but OpenJade can be selected if needed.
OPTIONS_DEFINE= OPENJADE
OPENJADE_DESC= Use OpenJade SGML/XML/DSSSL toolkit instead of Jade
OPENJADE_RUN_DEPENDS= onsgmls:textproc/openjade
OPENJADE_RUN_DEPENDS_OFF= nsgmls:textproc/jade
post-extract:
@${MV} ${WRKSRC}/Doc/instant.1 ${WRKSRC}/Instant/oinstant.man
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cmd/docbook-to-man.sh
post-patch-OPENJADE-off:
@${REINPLACE_CMD} -e 's|%%NSGMLS%%|nsgmls|' ${WRKSRC}/cmd/docbook-to-man.sh
post-patch-OPENJADE-on:
@${REINPLACE_CMD} -e 's|%%NSGMLS%%|onsgmls|' ${WRKSRC}/cmd/docbook-to-man.sh
.include <bsd.port.mk>

View file

@ -13,18 +13,13 @@
# ***** modify the following line (to "=false") if you're not using the
@@ -51,19 +51,16 @@ DOCBOOK=$SGMLS/Davenport/dtd
doElanPSInclude=true
-
# Everything below this line should be pretty standard and not require
# modification.
@@ -57,13 +57,11 @@ doElanPSInclude=true
#ulimit -c unlimited
PARSER=nsgmls
-PARSER=nsgmls
-INSTANT=instant
+PARSER=onsgmls
+INSTANT=oinstant
INSTANT_OPT=-d
@ -35,7 +30,7 @@
error=false
@@ -159,17 +156,8 @@ cat >> /tmp/dtm.$$.psinc <<\!
@@ -159,17 +157,8 @@ cat >> /tmp/dtm.$$.psinc <<\!
.ds f4\"
!