git: db8499a9f887 - main - textproc/sgmlformat: unbreak for external groff
Eugene Grosbein
eugen at FreeBSD.org
Fri Oct 1 08:05:57 UTC 2021
The branch main has been updated by eugen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=db8499a9f8877367b68db78a02c8bf9bf312d572
commit db8499a9f8877367b68db78a02c8bf9bf312d572
Author: Eugene Grosbein <eugen at FreeBSD.org>
AuthorDate: 2021-10-01 08:01:43 +0000
Commit: Eugene Grosbein <eugen at FreeBSD.org>
CommitDate: 2021-10-01 08:05:46 +0000
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)
---
textproc/sgmlformat/Makefile | 8 ++++++--
1 file 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:
More information about the dev-commits-ports-all
mailing list