Skip to content

Commit

Permalink
math/jacal: Optionize INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
5u623l20 committed Oct 20, 2023
1 parent 869d6b7 commit 0b82429
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions math/jacal/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 0b82429

Please sign in to comment.