Lines 7-24
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= trafshow |
8 |
PORTNAME= trafshow |
9 |
PORTVERSION= 3.1 |
9 |
PORTVERSION= 3.1 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= net |
11 |
CATEGORIES= net |
12 |
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \ |
12 |
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \ |
13 |
ftp://ftp.nsk.su/pub/RinetSoftware/ |
13 |
ftp://ftp.nsk.su/pub/RinetSoftware/ |
14 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .tgz |
15 |
|
15 |
|
16 |
MAINTAINER= ryan@sasknow.com |
16 |
MAINTAINER= ryan@sasknow.com |
17 |
COMMENT= Full screen visualization of the network traffic |
17 |
COMMENT= Full screen visualization of network traffic |
18 |
|
18 |
|
19 |
.include <bsd.port.pre.mk> |
19 |
.include <bsd.port.pre.mk> |
|
|
20 |
.if defined(WITH_TRAFSHOW_SLANG) || \ |
21 |
(exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG)) |
22 |
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang |
23 |
.else |
20 |
.if ${OSVERSION} < 400010 |
24 |
.if ${OSVERSION} < 400010 |
21 |
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses |
25 |
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses |
|
|
26 |
.endif |
22 |
.endif |
27 |
.endif |
23 |
|
28 |
|
24 |
USE_REINPLACE= yes |
29 |
USE_REINPLACE= yes |