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

(-)b/textproc/sgmlformat/Makefile (-2 / +6 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	sgmlformat
3
PORTNAME=	sgmlformat
4
PORTVERSION=	1.7
4
PORTVERSION=	1.7
5
PORTREVISION=	6
5
PORTREVISION=	7
6
CATEGORIES=	textproc print
6
CATEGORIES=	textproc print
7
MASTER_SITES=	LOCAL/kuriyama
7
MASTER_SITES=	LOCAL/kuriyama
8
8
Lines 28-39 RUN_DEPENDS= openjade>0:textproc/openjade Link Here
28
RUN_DEPENDS=	nsgmls:textproc/jade
28
RUN_DEPENDS=	nsgmls:textproc/jade
29
.endif
29
.endif
30
RUN_DEPENDS+=	linuxdoc>0:textproc/linuxdoc \
30
RUN_DEPENDS+=	linuxdoc>0:textproc/linuxdoc \
31
		docbook-sgml>0:textproc/docbook-sgml
31
		docbook-sgml>0:textproc/docbook-sgml \
32
		groff:textproc/groff
32
33
33
.if defined(WITH_OPENJADE)
34
.if defined(WITH_OPENJADE)
34
post-patch:
35
post-patch:
35
	@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
36
	@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
36
	@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
37
	@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
38
	@( cd ${WRKSRC}/transpec && \
39
	  ${REINPLACE_CMD} 's,/usr/share/tmac,${PREFIX}/share/groff/current/tmac,' \
40
	  docbook-roff.ts iso12083article-roff.ts linuxdoc-roff.ts )
37
.endif
41
.endif
38
42
39
post-build:
43
post-build:

Return to bug 258374