diff options
author | roam <roam@FreeBSD.org> | 2003-04-22 16:19:23 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2003-04-22 16:19:23 +0800 |
commit | c252f0a52dbe35ddfb7b90845810e87890dce06d (patch) | |
tree | 22e15c1aa906d16c7e2b010ae34c12603bb9aeec /net/trafshow4 | |
parent | cade471b3beeb2077da171ab6accdedbae94082b (diff) | |
download | freebsd-ports-gnome-c252f0a52dbe35ddfb7b90845810e87890dce06d.tar.gz freebsd-ports-gnome-c252f0a52dbe35ddfb7b90845810e87890dce06d.tar.zst freebsd-ports-gnome-c252f0a52dbe35ddfb7b90845810e87890dce06d.zip |
Auto-detect the libslang dependency (trafshow uses it if available).
Fix a typo in the package comment.
PR: 51121
Submitted by: maintainer
Diffstat (limited to 'net/trafshow4')
-rw-r--r-- | net/trafshow4/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile index 3862aed6e5a8..57d9380e5846 100644 --- a/net/trafshow4/Makefile +++ b/net/trafshow4/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 |