aboutsummaryrefslogtreecommitdiff
path: root/net/httping/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-04-17 20:52:00 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-04-17 20:52:00 +0000
commit69a89a6bd150ad356047238271a0adce0d344dea (patch)
tree1df64e639f66e59c4102080cb1afc1c9cdf73bb1 /net/httping/Makefile
parent313cdd2fced068955799cb873bbe7922e75a1d94 (diff)
Notes
Diffstat (limited to 'net/httping/Makefile')
-rw-r--r--net/httping/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/net/httping/Makefile b/net/httping/Makefile
index 7e279709ea17..5ecb5a09ec7d 100644
--- a/net/httping/Makefile
+++ b/net/httping/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= httping
-PORTVERSION= 2.1
+PORTVERSION= 2.2
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/httping/ \
CRITICAL
@@ -17,6 +17,19 @@ MAKE_JOBS_SAFE= yes
MAN1= httping.1
PLIST_FILES= bin/httping
+OPTIONS_DEFINE= NCURSES
+
+NCURSES_DESC= ncurses support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNCURSES}
+LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3
+MAKE_ENV+= SSL=yes NC=yes FW=yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1