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> |