summaryrefslogtreecommitdiff
path: root/security/nessus-libraries
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-03 05:52:55 +0000
committersnj <snj@pkgsrc.org>2004-05-03 05:52:55 +0000
commit33ce8a4077c3bb03836b0ca613839c23a081cb2c (patch)
treeb3f7c3c9db6a2581a910dc724219c691ce1015ae /security/nessus-libraries
parent0311e651a8859f589fd51b2f9ed84b110d8f1b3f (diff)
downloadpkgsrc-33ce8a4077c3bb03836b0ca613839c23a081cb2c.tar.gz
Convert to buildlink3.
Diffstat (limited to 'security/nessus-libraries')
-rw-r--r--security/nessus-libraries/Makefile8
-rw-r--r--security/nessus-libraries/buildlink2.mk32
-rw-r--r--security/nessus-libraries/buildlink3.mk22
3 files changed, 26 insertions, 36 deletions
diff --git a/security/nessus-libraries/Makefile b/security/nessus-libraries/Makefile
index ad733b6e25b..19e29a78d43 100644
--- a/security/nessus-libraries/Makefile
+++ b/security/nessus-libraries/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/03/26 02:27:52 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2004/05/03 05:52:55 snj Exp $
#
DISTNAME= nessus-libraries-${VERS}
@@ -8,7 +8,7 @@ PKGREVISION= 2
COMMENT= Libs required by the Nessus Network security scanner
WRKSRC= ${WRKDIR}/nessus-libraries
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_LIBTOOL= yes
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
@@ -18,6 +18,6 @@ CONFIGURE_ENV+= CPP=${CPP}
CONFIGURE_ARGS+=--enable-zlib=${BUILDLINK_PREFIX.zlib}/lib \
--localstatedir=/var
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/nessus-libraries/buildlink2.mk b/security/nessus-libraries/buildlink2.mk
deleted file mode 100644
index 9e8d6053282..00000000000
--- a/security/nessus-libraries/buildlink2.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.6 2004/03/26 02:27:53 wiz Exp $
-#
-
-.if !defined(NESSUS_LIBRARIES_BUILDLINK2_MK)
-NESSUS_LIBRARIES_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= nessus-libraries
-BUILDLINK_DEPENDS.nessus-libraries?= nessus-libraries>=2.0.9
-BUILDLINK_RECOMMENDED.nessus-libraries?= nessus-libraries>=2.0.9nb2
-BUILDLINK_PKGSRCDIR.nessus-libraries?= ../../security/nessus-libraries
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.nessus-libraries=nessus-libraries
-BUILDLINK_PREFIX.nessus-libraries_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.nessus-libraries+= include/nessus/getopt.h
-BUILDLINK_FILES.nessus-libraries+= include/nessus/harglists.h
-BUILDLINK_FILES.nessus-libraries+= include/nessus/libnessus.h
-BUILDLINK_FILES.nessus-libraries+= include/nessus/libvers.h
-BUILDLINK_FILES.nessus-libraries+= include/nessus/net/bpf.h
-BUILDLINK_FILES.nessus-libraries+= include/nessus/pcap-namedb.h
-BUILDLINK_FILES.nessus-libraries+= include/nessus/pcap.h
-BUILDLINK_FILES.nessus-libraries+= lib/libhosts_gatherer.*
-BUILDLINK_FILES.nessus-libraries+= lib/libnessus.*
-BUILDLINK_FILES.nessus-libraries+= lib/libpcap-nessus.*
-
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
-
-BUILDLINK_TARGETS+= nessus-libraries-buildlink
-
-nessus-libraries-buildlink: _BUILDLINK_USE
-
-.endif # NESSUS_LIBRARIES_BUILDLINK2_MK
diff --git a/security/nessus-libraries/buildlink3.mk b/security/nessus-libraries/buildlink3.mk
new file mode 100644
index 00000000000..454d751bfa9
--- /dev/null
+++ b/security/nessus-libraries/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 05:52:55 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NESSUS_LIBRARIES_BUILDLINK3_MK:= ${NESSUS_LIBRARIES_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= nessus-libraries
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnessus-libraries}
+BUILDLINK_PACKAGES+= nessus-libraries
+
+.if !empty(NESSUS_LIBRARIES_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.nessus-libraries+= nessus-libraries>=2.0.9
+BUILDLINK_RECOMMENDED.nessus-libraries?=nessus-libraries>=2.0.9nb2
+BUILDLINK_PKGSRCDIR.nessus-libraries?= ../../security/nessus-libraries
+.endif # NESSUS_LIBRARIES_BUILDLINK3_MK
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}