pkgsrc/net/trafshow/Makefile

40 lines
1,023 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2007/02/22 19:27:00 wiz Exp $
2000-08-11 07:34:08 +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
MAINTAINER= pkgsrc-users@NetBSD.org
2000-08-11 14:18:58 +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
2001-03-22 07:46:11 +01:00
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
.if defined(USE_INET6) && ${USE_INET6} == "YES"
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:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/.trafshow \
${PREFIX}/share/examples/trafshow/trafshow
2000-08-11 07:34:08 +02:00
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.7
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"