summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 04:13:14 +0000
committersnj <snj@pkgsrc.org>2004-04-25 04:13:14 +0000
commit25e93f88f3fb18991a27d3d3a999485cfd0ea745 (patch)
tree1c1e807efbf27abf70f74086360b3fb0b4a9f5e0
parente36972a3c037b62461c2e6b7f752c42a31a79fdb (diff)
downloadpkgsrc-25e93f88f3fb18991a27d3d3a999485cfd0ea745.tar.gz
Convert to buildlink3.
-rw-r--r--devel/libnet/Makefile4
-rw-r--r--devel/libnet/buildlink3.mk18
-rw-r--r--net/LaBrea/Makefile6
-rw-r--r--net/tcptraceroute/Makefile8
4 files changed, 27 insertions, 9 deletions
diff --git a/devel/libnet/Makefile b/devel/libnet/Makefile
index a3aed2316be..bee2516ac52 100644
--- a/devel/libnet/Makefile
+++ b/devel/libnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/20 12:13:28 agc Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/25 04:13:14 snj Exp $
#
DISTNAME= libnet-1.0.1b
@@ -11,7 +11,7 @@ HOMEPAGE= http://www.packetfactory.net/libnet/
COMMENT= C library for portable packet creation and injection
WRKSRC= ${WRKDIR}/${DISTNAME:C/l/L/}
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_LIBTOOL= # defined
GNU_CONFIGURE= # defined
diff --git a/devel/libnet/buildlink3.mk b/devel/libnet/buildlink3.mk
new file mode 100644
index 00000000000..8ca0e11aa5d
--- /dev/null
+++ b/devel/libnet/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 04:13:14 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libnet
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet}
+BUILDLINK_PACKAGES+= libnet
+
+.if !empty(LIBNET_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libnet+= libnet>=1.0.1bnb3
+BUILDLINK_PKGSRCDIR.libnet?= ../../devel/libnet
+.endif # LIBNET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/net/LaBrea/Makefile b/net/LaBrea/Makefile
index e9778c7d9b1..c0d15a42ff8 100644
--- a/net/LaBrea/Makefile
+++ b/net/LaBrea/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/20 12:22:18 agc Exp $
+# $NetBSD: Makefile,v 1.11 2004/04/25 04:14:01 snj Exp $
#
DISTNAME= LaBrea2_3
@@ -12,7 +12,7 @@ HOMEPAGE= http://www.hackbusters.net/LaBrea/
COMMENT= Builds tarpits/honeypots for scanners
WRKSRC= ${WRKDIR}/LaBrea
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
post-extract:
cd ${WRKSRC}; \
@@ -23,5 +23,5 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
-.include "../../devel/libnet/buildlink2.mk"
+.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/tcptraceroute/Makefile b/net/tcptraceroute/Makefile
index 10bfcad3100..fceafb520cf 100644
--- a/net/tcptraceroute/Makefile
+++ b/net/tcptraceroute/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/12/28 06:33:26 kim Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/25 04:13:20 snj Exp $
#
DISTNAME= tcptraceroute-1.4
@@ -9,7 +9,7 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://michael.toren.net/code/tcptraceroute/
COMMENT= Traceroute implementation using TCP packets
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
ALL_TARGET= tcptraceroute
@@ -24,7 +24,7 @@ do-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/examples.txt ${DOCDIR}
-.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"