summaryrefslogtreecommitdiff
path: root/devel/bonobo-conf
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 20:48:01 +0000
committersnj <snj@pkgsrc.org>2004-04-25 20:48:01 +0000
commit463da892e6b5b9f6f496e991a9f6081e82db4b25 (patch)
tree39168fe7257dfc216b6c7a728b810fde63de9aae /devel/bonobo-conf
parent368b0246a5738b5e78d5149736b3f93f91b9bdd2 (diff)
downloadpkgsrc-463da892e6b5b9f6f496e991a9f6081e82db4b25.tar.gz
Convert to buildlink3.
Diffstat (limited to 'devel/bonobo-conf')
-rw-r--r--devel/bonobo-conf/Makefile16
-rw-r--r--devel/bonobo-conf/buildlink3.mk24
2 files changed, 32 insertions, 8 deletions
diff --git a/devel/bonobo-conf/Makefile b/devel/bonobo-conf/Makefile
index b917b01ca1b..316a559308f 100644
--- a/devel/bonobo-conf/Makefile
+++ b/devel/bonobo-conf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2004/04/25 04:16:43 xtraeme Exp $
+# $NetBSD: Makefile,v 1.21 2004/04/25 20:48:01 snj Exp $
DISTNAME= bonobo-conf-0.14
PKGREVISION= 8
@@ -11,7 +11,7 @@ COMMENT= Bonobo configuration system
BUILD_USES_MSGFMT= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
USE_X11BASE= YES
@@ -24,11 +24,11 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${PREFIX}/share/doc/bonobo-conf
.endfor
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/bonobo/buildlink2.mk"
-.include "../../devel/GConf/buildlink2.mk"
-.include "../../devel/popt/buildlink2.mk"
-.include "../../devel/oaf/buildlink2.mk"
-.include "../../graphics/gdk-pixbuf/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/bonobo/buildlink3.mk"
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/oaf/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bonobo-conf/buildlink3.mk b/devel/bonobo-conf/buildlink3.mk
new file mode 100644
index 00000000000..3bae1ea8413
--- /dev/null
+++ b/devel/bonobo-conf/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 20:48:01 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BONOBO_CONF_BUILDLINK3_MK:= ${BONOBO_CONF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= bonobo-conf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbonobo-conf}
+BUILDLINK_PACKAGES+= bonobo-conf
+
+.if !empty(BONOBO_CONF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.bonobo-conf+= bonobo-conf>=0.14nb7
+BUILDLINK_PKGSRCDIR.bonobo-conf?= ../../devel/bonobo-conf
+.endif # BONOBO_CONF_BUILDLINK3_MK
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/bonobo/buildlink3.mk"
+.include "../../devel/GConf/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/oaf/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}