aboutsummaryrefslogtreecommitdiff
path: root/math/lambda
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 11:44:47 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 11:44:47 +0000
commit7da7d1fce8e27086e56c78d408f98b106fff0a84 (patch)
tree2bfe08e1dd9524d9142a4864327bfb289fb16e80 /math/lambda
parentfe9f12472035dd38b7d1a2485c12f9860e018795 (diff)
downloadports-7da7d1fce8e27086e56c78d408f98b106fff0a84.tar.gz
ports-7da7d1fce8e27086e56c78d408f98b106fff0a84.zip
Notes
Diffstat (limited to 'math/lambda')
-rw-r--r--math/lambda/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/lambda/Makefile b/math/lambda/Makefile
index 58b723b45958..e6c55481a6d5 100644
--- a/math/lambda/Makefile
+++ b/math/lambda/Makefile
@@ -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}