Date: Fri, 20 Oct 2023 21:04:50 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: 0b82429db400 - main - math/jacal: Optionize INFO Message-ID: <202310202104.39KL4oaC038828@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=0b82429db400e2b8d7cea1aa2808a93c443cd921 commit 0b82429db400e2b8d7cea1aa2808a93c443cd921 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-10-20 19:04:36 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-10-20 21:04:38 +0000 math/jacal: Optionize INFO --- math/jacal/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/math/jacal/Makefile b/math/jacal/Makefile index 5c2285bc873e..7176c974e6c9 100644 --- a/math/jacal/Makefile +++ b/math/jacal/Makefile @@ -12,19 +12,27 @@ LICENSE= GPLv3 RUN_DEPENDS= scm:lang/scm \ ${LOCALBASE}/share/slib/require.scm:lang/slib -USES= gmake makeinfo zip +USES= gmake zip HAS_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes -INFO= jacal +OPTIONS_DEFINE= INFO +OPTIONS_DEFAULT= INFO + +INFO_USES= makeinfo +INFO_INFO= jacal post-patch: ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -i '' -e 's|%%PREFIX%%|${PREFIX}|' {} \; ${CHMOD} +x ${WRKSRC}/configure +post-patch-INFO-off: + ${REINPLACE_CMD} -e '/^install:/s|install-infoz||g' \ + ${WRKSRC}/Makefile + post-install: ${SED} -i '' -e 's|${STAGEDIR}${PREFIX}|${PREFIX}|g' ${STAGEDIR}${PREFIX}/bin/jacal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310202104.39KL4oaC038828>