aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow3/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-04-22 08:19:23 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-04-22 08:19:23 +0000
commit91235cfd5b5b55fb8134d4458311a885fc88fb07 (patch)
treeffef0df3abbd38dea61c494a0db52870acbaecbb /net/trafshow3/Makefile
parentaa3c764d93ea1079a788cd5b5c459b881e492dd7 (diff)
downloadports-91235cfd5b5b55fb8134d4458311a885fc88fb07.tar.gz
ports-91235cfd5b5b55fb8134d4458311a885fc88fb07.zip
Notes
Diffstat (limited to 'net/trafshow3/Makefile')
-rw-r--r--net/trafshow3/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 3862aed6e5a8..57d9380e5846 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -7,19 +7,24 @@
PORTNAME= trafshow
PORTVERSION= 3.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \
ftp://ftp.nsk.su/pub/RinetSoftware/
EXTRACT_SUFX= .tgz
MAINTAINER= ryan@sasknow.com
-COMMENT= Full screen visualization of the network traffic
+COMMENT= Full screen visualization of network traffic
.include <bsd.port.pre.mk>
+.if defined(WITH_TRAFSHOW_SLANG) || \
+ (exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG))
+LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+.else
.if ${OSVERSION} < 400010
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
+.endif
USE_REINPLACE= yes
GNU_CONFIGURE= yes