pkgsrc/net/trafshow/Makefile
zuntum 159051ca72 Check in fix from tron@netbsd.org so that now trafshow works with "ppp"
interface as well as with others. If you're using "pppd" and want to be
able to use trafshow to see what's going on on this interface,
you want to update.

Bumb PKGREVISION
2002-05-11 10:21:28 +00:00

40 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2002/05/11 10:21:28 zuntum Exp $
DISTNAME= trafshow-3.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
EXTRACT_SUFX= .tgz
PATCHFILES= trafshow-31-v6-20010322a.diff.gz
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCH_DIST_STRIP+= -p1
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://soft.risp.ru/trafshow/index.shtml
COMMENT= Full screen visualization of the network traffic
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
GNU_CONFIGURE= yes
ALL_TARGET= trafshow
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_INET6
.if defined(USE_INET6) && ${USE_INET6} == "YES"
CPPFLAGS+= -DINET6
.endif
pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/trafshow
${INSTALL_DATA} ${WRKSRC}/.trafshow \
${PREFIX}/share/examples/trafshow/trafshow
.include "../../mk/bsd.pkg.mk"