View | Details | Raw Unified | Return to bug 282097
Collapse All | Expand All

(-)b/textproc/docbook-to-man/Makefile (-16 / +3 lines)
Lines 1-6 Link Here
1
PORTNAME=	docbook-to-man
1
PORTNAME=	docbook-to-man
2
PORTVERSION=	1.0
2
PORTVERSION=	1.0
3
PORTREVISION=	3
3
PORTREVISION=	4
4
CATEGORIES=	textproc
4
CATEGORIES=	textproc
5
MASTER_SITES=	https://www.oasis-open.org/docbook/tools/dtm/
5
MASTER_SITES=	https://www.oasis-open.org/docbook/tools/dtm/
6
DISTNAME=	docbook-to-man
6
DISTNAME=	docbook-to-man
Lines 11-40 WWW= https://www.oasis-open.org/docbook/tools/dtm/ Link Here
11
11
12
LICENSE=	MIT
12
LICENSE=	MIT
13
13
14
RUN_DEPENDS=	docbook>0:textproc/docbook
14
RUN_DEPENDS=	docbook>0:textproc/docbook \
15
		openjade>0:textproc/openjade
15
16
16
USES=		imake
17
USES=		imake
17
18
18
MAKE_JOBS_UNSAFE=	yes
19
MAKE_JOBS_UNSAFE=	yes
19
20
20
# There are two ports that satisfy the nsgmls requirement.
21
# Jade is preferred, but OpenJade can be selected if needed.
22
OPTIONS_DEFINE=	OPENJADE
23
OPENJADE_DESC=	Use OpenJade SGML/XML/DSSSL toolkit instead of Jade
24
25
OPENJADE_RUN_DEPENDS=	onsgmls:textproc/openjade
26
OPENJADE_RUN_DEPENDS_OFF=	nsgmls:textproc/jade
27
28
post-extract:
21
post-extract:
29
	@${MV} ${WRKSRC}/Doc/instant.1 ${WRKSRC}/Instant/oinstant.man
22
	@${MV} ${WRKSRC}/Doc/instant.1 ${WRKSRC}/Instant/oinstant.man
30
23
31
post-patch:
24
post-patch:
32
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cmd/docbook-to-man.sh
25
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/cmd/docbook-to-man.sh
33
26
34
post-patch-OPENJADE-off:
35
	@${REINPLACE_CMD} -e 's|%%NSGMLS%%|nsgmls|' ${WRKSRC}/cmd/docbook-to-man.sh
36
37
post-patch-OPENJADE-on:
38
	@${REINPLACE_CMD} -e 's|%%NSGMLS%%|onsgmls|' ${WRKSRC}/cmd/docbook-to-man.sh
39
40
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)b/textproc/docbook-to-man/files/patch-cmd__docbook-to-man.sh (-3 / +3 lines)
Lines 13-19 Link Here
13
 
13
 
14
 
14
 
15
 # ***** modify the following line (to "=false") if you're not using the
15
 # ***** modify the following line (to "=false") if you're not using the
16
@@ -51,19 +51,16 @@ DOCBOOK=$SGMLS/Davenport/dtd
16
@@ -51,19 +51,16 @@ doElanPSInclude=true
17
 doElanPSInclude=true
17
 doElanPSInclude=true
18
 
18
 
19
 
19
 
Lines 23-30 Link Here
23
 
23
 
24
 #ulimit -c unlimited
24
 #ulimit -c unlimited
25
 
25
 
26
 PARSER=nsgmls
26
-PARSER=nsgmls
27
-INSTANT=instant
27
-INSTANT=instant
28
+PARSER=onsgmls
28
+INSTANT=oinstant
29
+INSTANT=oinstant
29
 INSTANT_OPT=-d
30
 INSTANT_OPT=-d
30
 
31
 
31
- 

Return to bug 282097