Date: Sat, 07 Mar 2026 08:12:41 +0000 From: =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Vladimir Druzenko <vvd@FreeBSD.org> Subject: git: 10f58b542bc0 - main - textproc/groff: Clean and improve the port Message-ID: <69abddf9.25a14.9cdd45f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=10f58b542bc026fdee2c1e2e726372f19ea3475e commit 10f58b542bc026fdee2c1e2e726372f19ea3475e Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-03-07 07:43:28 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2026-03-07 08:11:48 +0000 textproc/groff: Clean and improve the port * Define directory layout directly via MAKE_ARGS instead of working around predefined defaults via post-install stances. Approved by: db@, yuri@ (Mentors, implicit) Differential Revision: https://reviews.freebsd.org/D55637 --- textproc/groff/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile index 80d32f68d9f0..49db1c51bfd0 100644 --- a/textproc/groff/Makefile +++ b/textproc/groff/Makefile @@ -1,5 +1,6 @@ PORTNAME= groff DISTVERSION= 1.24.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= GNU @@ -31,10 +32,11 @@ PAPERSIZE= A4 CONFIGURE_ENV+= PAGE=${PAPERSIZE} .endif -CONFLICTS= heirloom-doctools ja-groff +MAKE_ARGS= datasubdir=${DATADIR} \ + docdir=${DOCSDIR} \ + exampledir=${EXAMPLESDIR} -DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION} -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${DISTVERSION} +CONFLICTS= heirloom-doctools ja-groff INFO= groff PORTDOCS= * @@ -52,12 +54,10 @@ UCHARDET_CONFIGURE_OFF= --with-uchardet=no post-install: ${INSTALL_DATA} ${FILESDIR}/mdoc.local ${STAGEDIR}${PREFIX}/share/groff/site-tmac ${REINPLACE_CMD} -i "" -e "s/missing/gs/" ${STAGEDIR}${DATADIR}/font/devhtml/DESC + ${RLN} . ${STAGEDIR}${DATADIR}/current - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${STAGEDIR}${DOCSDIR}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} - ${RM} -r ${STAGEDIR}${DOCSDIR}/examples - - ${RLN} ${STAGEDIR}${EXAMPLESDIR}/mom/mom-pdf.pdf ${STAGEDIR}${DOCSDIR}/pdf +post-install-DOCS-on: + ${LN} -f ${STAGEDIR}${EXAMPLESDIR}/mom/mom-pdf.pdf ${STAGEDIR}${DOCSDIR}/pdf post-install-DOCS-off: ${RM} -r ${STAGEDIR}${DOCSDIR}home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69abddf9.25a14.9cdd45f>
