2007-02-22 20:26:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.28 2007/02/22 19:27:00 wiz Exp $
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2005-10-11 18:39:29 +02:00
|
|
|
DISTNAME= trafshow-5.2.1
|
2006-02-07 04:13:09 +01:00
|
|
|
PKGREVISION= 1
|
2000-08-11 07:34:08 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-08-11 14:18:58 +02:00
|
|
|
HOMEPAGE= http://soft.risp.ru/trafshow/index.shtml
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Full screen visualization of the network traffic
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= trafshow
|
2004-02-16 22:20:04 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2001-03-22 07:46:11 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
BUILD_DEFS+= USE_INET6
|
|
|
|
|
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == "YES"
|
2001-06-11 08:34:17 +02:00
|
|
|
CPPFLAGS+= -DINET6
|
2001-03-22 07:46:11 +01:00
|
|
|
.endif
|
|
|
|
|
2006-06-05 19:29:25 +02:00
|
|
|
CFLAGS.Darwin+= -DBIND_8_COMPAT
|
|
|
|
|
2005-10-11 18:39:29 +02:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/trafshow
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2000-08-11 07:34:08 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
|
2005-10-11 18:39:29 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/${PKGMANDIR}/man1
|
2000-08-11 07:42:15 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/.trafshow \
|
|
|
|
${PREFIX}/share/examples/trafshow/trafshow
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.7
|
2005-10-11 18:39:29 +02:00
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
2005-10-11 19:02:50 +02:00
|
|
|
|
2004-02-16 22:20:04 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2006-02-07 04:06:01 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2000-08-11 07:42:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|