mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
math/jacal: Optionize INFO
This commit is contained in:
parent
869d6b7e6f
commit
0b82429db4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user