diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2021-10-01 08:01:43 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2021-10-01 08:05:46 +0000 |
commit | db8499a9f8877367b68db78a02c8bf9bf312d572 (patch) | |
tree | 477ccce2bba2544c54e118efc4e3f576aefec659 | |
parent | b4c3fa014d77b45321623b9f816c206d10f3f70f (diff) | |
download | ports-db8499a9f8877367b68db78a02c8bf9bf312d572.tar.gz ports-db8499a9f8877367b68db78a02c8bf9bf312d572.zip |
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)
-rw-r--r-- | textproc/sgmlformat/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile index 715670e51775..0875ff9e1c3f 100644 --- a/textproc/sgmlformat/Makefile +++ b/textproc/sgmlformat/Makefile @@ -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: |