aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 19:37:24 +0800
committermarino <marino@FreeBSD.org>2016-02-07 19:37:24 +0800
commit84f2502f2500c14b8038574054ab13f6dedd8d1e (patch)
tree98a60b56ef704c7ace4655d0eeb39f51e845ce4f /math
parent4178e36f2f367f3d8aa5d04c33d3d6694e6b2882 (diff)
downloadfreebsd-ports-gnome-84f2502f2500c14b8038574054ab13f6dedd8d1e.tar.gz
freebsd-ports-gnome-84f2502f2500c14b8038574054ab13f6dedd8d1e.tar.zst
freebsd-ports-gnome-84f2502f2500c14b8038574054ab13f6dedd8d1e.zip
math/aamath: document ncurses requirement (USES+=ncurses)
Also link with ncurses, not termcap approved by: infrastructure blanket
Diffstat (limited to 'math')
-rw-r--r--math/aamath/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/math/aamath/Makefile b/math/aamath/Makefile
index 6aa7338cee91..0611ad60da71 100644
--- a/math/aamath/Makefile
+++ b/math/aamath/Makefile
@@ -14,14 +14,13 @@ COMMENT= Renders ASCII art from mathematical expressions
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= readline
-
+USES= ncurses readline
WRKSRC= ${WRKDIR}/${PORTNAME}
+CFLAGS+= -I${LOCALBASE}/include
+MAKE_ARGS= LIBS="-lreadline -lncurses"
PLIST_FILES= bin/aamath man/man1/aamath.1.gz
-CFLAGS+= -I${LOCALBASE}/include
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1