From 91235cfd5b5b55fb8134d4458311a885fc88fb07 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Tue, 22 Apr 2003 08:19:23 +0000 Subject: Auto-detect the libslang dependency (trafshow uses it if available). Fix a typo in the package comment. PR: 51121 Submitted by: maintainer --- net/trafshow3/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'net/trafshow3/Makefile') 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 +.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 -- cgit v1.2.3