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 PORTNAME= docbook-to-man
PORTVERSION= 1.0 PORTVERSION= 1.0
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= textproc CATEGORIES= textproc
MASTER_SITES= https://www.oasis-open.org/docbook/tools/dtm/ MASTER_SITES= https://www.oasis-open.org/docbook/tools/dtm/
DISTNAME= docbook-to-man DISTNAME= docbook-to-man
@ -11,30 +11,17 @@ WWW= https://www.oasis-open.org/docbook/tools/dtm/
LICENSE= MIT LICENSE= MIT
RUN_DEPENDS= docbook>0:textproc/docbook RUN_DEPENDS= docbook>=0:textproc/docbook \
openjade>=0:textproc/openjade
USES= imake USES= imake
MAKE_JOBS_UNSAFE= yes 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: post-extract:
@${MV} ${WRKSRC}/Doc/instant.1 ${WRKSRC}/Instant/oinstant.man @${MV} ${WRKSRC}/Doc/instant.1 ${WRKSRC}/Instant/oinstant.man
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cmd/docbook-to-man.sh @${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> .include <bsd.port.mk>

View file

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