diff options
Diffstat (limited to 'net/modpcap/Makefile')
-rw-r--r-- | net/modpcap/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net/modpcap/Makefile b/net/modpcap/Makefile new file mode 100644 index 00000000000..5dbbf8d8be6 --- /dev/null +++ b/net/modpcap/Makefile @@ -0,0 +1,27 @@ +# $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" |