2005-06-17 05:50:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2005/06/17 03:50:28 jlam Exp $
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2004-02-16 22:20:04 +01:00
|
|
|
DISTNAME= trafshow-4.0
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 1
|
2000-08-11 07:34:08 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@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
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
|
2000-08-11 07:34:08 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/trafshow
|
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
|
|
|
|
2004-02-16 22:20:04 +01:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2000-08-11 07:42:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|