1996-05-01 09:52:09 +02:00
|
|
|
# New ports collection makefile for: trafshow
|
1996-10-19 19:30:14 +02:00
|
|
|
# Date created: 25 September 1996
|
|
|
|
# Whom: igor@zynaps.ru
|
1996-05-01 09:52:09 +02:00
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1996-05-04 03:57:18 +02:00
|
|
|
#
|
1996-05-01 09:52:09 +02:00
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= trafshow
|
2004-08-17 08:12:20 +02:00
|
|
|
PORTVERSION= 3.1
|
|
|
|
PORTREVISION= 4
|
2004-08-17 09:53:14 +02:00
|
|
|
PORTEPOCH= 1
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= net
|
2002-05-01 01:00:47 +02:00
|
|
|
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \
|
|
|
|
ftp://ftp.nsk.su/pub/RinetSoftware/
|
1996-05-01 09:52:09 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-12-22 03:30:35 +01:00
|
|
|
MAINTAINER= ryan@sasknow.com
|
2003-04-22 10:19:23 +02:00
|
|
|
COMMENT= Full screen visualization of network traffic
|
1996-05-01 09:52:09 +02:00
|
|
|
|
2004-10-14 10:22:33 +02:00
|
|
|
CONFLICTS= trafshow-4.*
|
|
|
|
|
2000-01-24 17:08:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-06-29 18:54:55 +02:00
|
|
|
|
2003-04-22 10:19:23 +02:00
|
|
|
.if defined(WITH_TRAFSHOW_SLANG) || \
|
|
|
|
(exists(${LOCALBASE}/lib/libslang.a) && !defined(WITHOUT_TRAFSHOW_SLANG))
|
2004-08-17 08:12:20 +02:00
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
|
2003-04-22 10:19:23 +02:00
|
|
|
.else
|
2000-01-24 17:08:09 +01:00
|
|
|
.if ${OSVERSION} < 400010
|
2000-11-16 14:14:26 +01:00
|
|
|
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
|
2000-01-24 17:08:09 +01:00
|
|
|
.endif
|
2003-04-22 10:19:23 +02:00
|
|
|
.endif
|
2000-01-24 17:08:09 +01:00
|
|
|
|
2002-11-04 06:46:38 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-01-24 17:08:09 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-28 14:53:16 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-01-24 17:08:09 +01:00
|
|
|
ALL_TARGET= trafshow
|
|
|
|
|
1996-11-18 12:44:27 +01:00
|
|
|
MAN1= trafshow.1
|
1996-05-01 09:52:09 +02:00
|
|
|
|
2000-06-28 14:53:16 +02:00
|
|
|
post-patch:
|
2002-11-04 06:46:38 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.c
|
2000-06-28 14:53:16 +02:00
|
|
|
|
2000-01-24 17:08:09 +01:00
|
|
|
do-install:
|
2000-06-28 14:53:16 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
|
2000-10-29 23:27:34 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/.trafshow ${PREFIX}/etc/trafshow.dist
|
|
|
|
${CP} ${PREFIX}/etc/trafshow.dist ${PREFIX}/etc/trafshow
|
2000-01-24 17:08:09 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|