summaryrefslogtreecommitdiff
path: root/net/nemesis
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-02-18 18:54:23 +0000
committeradrianp <adrianp@pkgsrc.org>2007-02-18 18:54:23 +0000
commit5e82482f1fdb99365384babf5e259daedf5ed000 (patch)
treea288cb4f084a313d25d2e9502b986a29962bedb8 /net/nemesis
parent446c26a5121d303e7972af0ab818a5af57bd4e2c (diff)
downloadpkgsrc-5e82482f1fdb99365384babf5e259daedf5ed000.tar.gz
buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
Diffstat (limited to 'net/nemesis')
-rw-r--r--net/nemesis/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/net/nemesis/Makefile b/net/nemesis/Makefile
index 6d7f56618e9..edf4fe19b22 100644
--- a/net/nemesis/Makefile
+++ b/net/nemesis/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2006/04/06 06:22:33 reed Exp $
+# $NetBSD: Makefile,v 1.16 2007/02/18 18:58:13 adrianp Exp $
DISTNAME= nemesis-1.4
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nemesis/}
@@ -9,9 +10,15 @@ HOMEPAGE= http://jeff.wwti.com/nemesis/
COMMENT= Nemesis is a command-line UNIX network packet injection suite
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-libnet-includes=${BUILDLINK_PREFIX.libnet10}/include/libnet10
+CONFIGURE_ARGS+= --with-libnet-libs=${BUILDLINK_PREFIX.libnet10}/lib/libnet10
-BUILDLINK_API_DEPENDS.libnet+= libnet-1.0.2a
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= pre-configure
+SUBST_FILES.conf= configure
+SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
+SUBST_MESSAGE.conf= Fixing configuration script.
.include "../../net/libpcap/buildlink3.mk"
-.include "../../devel/libnet/buildlink3.mk"
+.include "../../devel/libnet10/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"