summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 06:58:43 +0000
committersnj <snj@pkgsrc.org>2004-04-25 06:58:43 +0000
commit124c08223318aabd7419b3aeca428c2ff403d364 (patch)
tree3f2ec27cec855a6431cd2ac0a66f486e2f234bfb /devel
parent87dcd1486440390b1dde82e50daabd97471e1ebb (diff)
downloadpkgsrc-124c08223318aabd7419b3aeca428c2ff403d364.tar.gz
Convert to buildlink3.
Diffstat (limited to 'devel')
-rw-r--r--devel/eXdbm/Makefile4
-rw-r--r--devel/eXdbm/buildlink3.mk19
2 files changed, 21 insertions, 2 deletions
diff --git a/devel/eXdbm/Makefile b/devel/eXdbm/Makefile
index f50948bc59f..f99f560ddbe 100644
--- a/devel/eXdbm/Makefile
+++ b/devel/eXdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/01/22 08:24:29 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/04/25 07:06:14 snj Exp $
#
DISTNAME= eXdbm-beta-1.0b1
@@ -11,6 +11,6 @@ HOMEPAGE= http://www.linux-france.org/pesch/exode/exdbm.html
COMMENT= eXode configuration database routines
USE_GNU_TOOLS+= make
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/eXdbm/buildlink3.mk b/devel/eXdbm/buildlink3.mk
new file mode 100644
index 00000000000..95656a35b00
--- /dev/null
+++ b/devel/eXdbm/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 07:06:14 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+EXDBM_BUILDLINK3_MK:= ${EXDBM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= eXdbm
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NeXdbm}
+BUILDLINK_PACKAGES+= eXdbm
+
+.if !empty(EXDBM_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.eXdbm+= eXdbm>=1.0b1
+BUILDLINK_PKGSRCDIR.eXdbm?= ../../devel/eXdbm
+BUILDLINK_DEPMETHOD.eXdbm?= build
+.endif # EXDBM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}