math/lambda: USES+= ncurses, link to ncurses (not termcap)

This commit is contained in:
John Marino 2016-02-07 11:44:47 +00:00
parent fe9f124720
commit 7da7d1fce8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408378

View file

@ -11,7 +11,7 @@ COMMENT= Lambda calculus interpreter
LICENSE= GPLv2
USES= perl5 readline shebangfix
USES= perl5 ncurses readline shebangfix
USE_PERL5= build
SHEBANG_FILES= docs/trans_xml_for_cat.pl
GNU_CONFIGURE= yes
@ -25,6 +25,10 @@ PLIST_FILES= bin/lambda \
DOCS= lambda.html lambdamanual.html user_manual_style.css
PORTDOCS= *
post-patch:
${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure \
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lambda ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}