pkgsrc/net/trafshow/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

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
DISTNAME= trafshow-5.2.3
PKGREVISION= 3
2000-08-11 07:34:08 +02:00
CATEGORIES= net
MASTER_SITES= # ftp://ftp.nsk.su/pub/RinetSoftware/
2000-08-11 07:34:08 +02:00
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
2017-09-06 12:40:25 +02:00
#HOMEPAGE= http://soft.risp.ru/trafshow/index.shtml
COMMENT= Full screen visualization of the network traffic
2000-08-11 07:34:08 +02:00
BUILD_TARGET= trafshow
GNU_CONFIGURE= yes
2000-08-11 07:34:08 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.trafshow
PKG_SUPPORTED_OPTIONS= inet6
PKG_SUGGESTED_OPTIONS= inet6
2001-03-22 07:46:11 +01:00
.include "../../mk/bsd.options.mk"
2001-03-22 07:46:11 +01:00
.if !empty(PKG_OPTIONS:Minet6)
CPPFLAGS+= -DINET6
2001-03-22 07:46:11 +01:00
.endif
CFLAGS.Darwin+= -DBIND_8_COMPAT
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/trafshow
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
${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
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8.1
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
2017-05-09 17:32:53 +02:00
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"