Skip to content
Snippets Groups Projects
Commit 0b82429d authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

math/jacal: Optionize INFO

parent 869d6b7e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment