Date: Fri, 20 Oct 2023 21:04:46 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e42223a0756a - main - textproc/amberfish: Optional USES=makeinfo Message-ID: <202310202104.39KL4kH6038660@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=e42223a0756acf2c10f135d1688f8ed793054a15 commit e42223a0756acf2c10f135d1688f8ed793054a15 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-10-20 16:07:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-10-20 21:04:37 +0000 textproc/amberfish: Optional USES=makeinfo - Utilize USES=makeinfo only when used specially for DOCS only in this case. - Pet portclippy --- textproc/amberfish/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/textproc/amberfish/Makefile b/textproc/amberfish/Makefile index ab46d4fd9376..5eb44ab2d09e 100644 --- a/textproc/amberfish/Makefile +++ b/textproc/amberfish/Makefile @@ -14,15 +14,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 -USES= gmake makeinfo +USES= gmake + GNU_CONFIGURE= yes + ALL_TARGET= all html -PLIST_FILES= bin/af man/man1/af.1.gz +PLIST_FILES= bin/af PORTDOCS= * OPTIONS_DEFINE= DOCS +DOCS_USES= makeinfo +DOCS_PLIST_FILES= man/man1/af.1.gz + post-extract: ${CP} ${FILESDIR}/porter.cc ${WRKSRC}/src @@ -36,6 +41,10 @@ post-patch: s|make strip|| ; \ s|cp |$${BSD_INSTALL_PROGRAM} |' ${WRKSRC}/src/Makefile.in +post-patch-DOCS-off: + @${REINPLACE_CMD} -e \ + '/cd doc/d' ${WRKSRC}/Makefile + post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/amberfish.png ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310202104.39KL4kH6038660>