summaryrefslogtreecommitdiff
path: root/net/libnids
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 04:20:11 +0000
committersnj <snj@pkgsrc.org>2004-04-25 04:20:11 +0000
commit3adcd4723ec75787e502fa6171b2992395681db5 (patch)
tree379bb90604b42b2bb05da7a3b893cbc6071e5421 /net/libnids
parent848e40cd6c7f7bdfd5dcd09735391d167da9f67e (diff)
downloadpkgsrc-3adcd4723ec75787e502fa6171b2992395681db5.tar.gz
Convert to buildlink3.
Diffstat (limited to 'net/libnids')
-rw-r--r--net/libnids/Makefile8
-rw-r--r--net/libnids/buildlink3.mk19
2 files changed, 23 insertions, 4 deletions
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index b6f50ff9690..a0a9e389ae6 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/02/14 00:54:45 grant Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/25 04:25:11 snj Exp $
# $FreeBSD: ports/net/libnids/Makefile,v 1.5 2000/04/24 07:42:58 kris Exp $
#
@@ -10,12 +10,12 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://libnids.sourceforge.net/
COMMENT= Network monitoring library with TCP/IP reassembly
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
BUILDLINK_DEPMETHOD.libnet= build
BUILDLINK_DEPMETHOD.libpcap= build
-.include "../../devel/libnet/buildlink2.mk"
-.include "../../net/libpcap/buildlink2.mk"
+.include "../../devel/libnet/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/libnids/buildlink3.mk b/net/libnids/buildlink3.mk
new file mode 100644
index 00000000000..e5c3183fca4
--- /dev/null
+++ b/net/libnids/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 04:25:11 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNIDS_BUILDLINK3_MK:= ${LIBNIDS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libnids
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnids}
+BUILDLINK_PACKAGES+= libnids
+
+.if !empty(LIBNIDS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libnids+= libnids>=1.18
+BUILDLINK_PKGSRCDIR.libnids?= ../../net/libnids
+BUILDLINK_DEPMETHOD.libnids?= build
+.endif # LIBNIDS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}