2017-09-06 12:40:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.40 2017/09/06 10:40:31 wiz Exp $
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2007-10-18 11:32:43 +02:00
|
|
|
DISTNAME= trafshow-5.2.3
|
2015-08-18 09:31:00 +02:00
|
|
|
PKGREVISION= 3
|
2000-08-11 07:34:08 +02:00
|
|
|
CATEGORIES= net
|
2011-03-17 23:00:48 +01:00
|
|
|
MASTER_SITES= # ftp://ftp.nsk.su/pub/RinetSoftware/
|
2000-08-11 07:34:08 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-09-06 12:40:25 +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
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.trafshow
|
|
|
|
PKG_SUPPORTED_OPTIONS= inet6
|
2012-06-12 17:45:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= inet6
|
2001-03-22 07:46:11 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
2001-03-22 07:46:11 +01:00
|
|
|
|
2007-09-08 00:12:10 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
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:
|
2010-01-27 17:52:13 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2000-08-11 07:42:15 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/.trafshow \
|
2010-01-27 17:52:13 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/trafshow/trafshow
|
2000-08-11 07:34:08 +02:00
|
|
|
|
2007-10-18 11:32:43 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8.1
|
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"
|
2017-05-09 17:32:53 +02:00
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2000-08-11 07:42:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|