aboutsummaryrefslogtreecommitdiffstats
path: root/math/lambda
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 19:44:47 +0800
committermarino <marino@FreeBSD.org>2016-02-07 19:44:47 +0800
commitf580d425129e03f45c3ba439afeffde755e96cc3 (patch)
tree2bfe08e1dd9524d9142a4864327bfb289fb16e80 /math/lambda
parentcfe7d9f2b1ebb31a7f45f310812ebf61d7a35741 (diff)
downloadfreebsd-ports-gnome-f580d425129e03f45c3ba439afeffde755e96cc3.tar.gz
freebsd-ports-gnome-f580d425129e03f45c3ba439afeffde755e96cc3.tar.zst
freebsd-ports-gnome-f580d425129e03f45c3ba439afeffde755e96cc3.zip
math/lambda: USES+= ncurses, link to ncurses (not termcap)
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}