pkgsrc/net/modpcap/Makefile
agc 27682ba445 Initial import of modpcap version 0.0.5 into the packages collection.
A small C program to modify PCAP files to forge them and use
	them for test and so on.  It allows you to change IP address,
	Mac address, time of the capture, Mbit/second, Packets/second.
2010-11-29 07:25:04 +00:00

27 lines
621 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/11/29 07:25:04 agc Exp $
#
DISTNAME= modcap.c
PKGNAME= modcap-0.0.5
CATEGORIES= net security
MASTER_SITES= http://www.emcy.it/Linux/files/
EXTRACT_SUFX= # empty
MAINTAINER= agc@NetBSD.org
COMMENT= Command line utility to modify pcap capture files
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
AUTO_MKDIRS= yes
WRKSRC= ${WRKDIR}
do-build:
cd ${WRKSRC} && ${CC} -I${PREFIX}/include modcap.c -lm -lpcap -o modcap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/modcap ${DESTDIR}${PREFIX}/bin/
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"