textproc/sgmlformat: unbreak for external groff
The GNU roff toolchain has been removed from base but sgmlformat relied on "groff" command to be in PATH and installs three .ts files with references to /usr/share/tmac that does not exist in modern FreeBSD versions. Add textproc/groff to RUN_DEPENDS and fix broken references, so sgmlformat is functional again. Approved by: kuriyama (maintainer timeout, 3 weeks)
This commit is contained in:
parent
b4c3fa014d
commit
db8499a9f8
1 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= sgmlformat
|
||||
PORTVERSION= 1.7
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= textproc print
|
||||
MASTER_SITES= LOCAL/kuriyama
|
||||
|
||||
|
@ -28,12 +28,16 @@ RUN_DEPENDS= openjade>0:textproc/openjade
|
|||
RUN_DEPENDS= nsgmls:textproc/jade
|
||||
.endif
|
||||
RUN_DEPENDS+= linuxdoc>0:textproc/linuxdoc \
|
||||
docbook-sgml>0:textproc/docbook-sgml
|
||||
docbook-sgml>0:textproc/docbook-sgml \
|
||||
groff:textproc/groff
|
||||
|
||||
.if defined(WITH_OPENJADE)
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
|
||||
@${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
|
||||
@( cd ${WRKSRC}/transpec && \
|
||||
${REINPLACE_CMD} 's,/usr/share/tmac,${PREFIX}/share/groff/current/tmac,' \
|
||||
docbook-roff.ts iso12083article-roff.ts linuxdoc-roff.ts )
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
|
|
Loading…
Reference in a new issue