summaryrefslogtreecommitdiff
path: root/devel/bonobo
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-03-29 18:20:13 +0000
committertron <tron@pkgsrc.org>2004-03-29 18:20:13 +0000
commit2f841fdbd3598691d7bc007541c4045133b84d25 (patch)
treeed09b288d18877918f1ddd70a58895cbf7591cc0 /devel/bonobo
parent3d8bea5cf37240dad6e3c1d0f0bace93c61b9572 (diff)
downloadpkgsrc-2f841fdbd3598691d7bc007541c4045133b84d25.tar.gz
Convert to buildlink3 framework.
Diffstat (limited to 'devel/bonobo')
-rw-r--r--devel/bonobo/Makefile17
-rw-r--r--devel/bonobo/buildlink3.mk25
2 files changed, 33 insertions, 9 deletions
diff --git a/devel/bonobo/Makefile b/devel/bonobo/Makefile
index 75a4fed6295..d8acd746380 100644
--- a/devel/bonobo/Makefile
+++ b/devel/bonobo/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2004/02/14 18:26:27 jmmv Exp $
-#
+# $NetBSD: Makefile,v 1.45 2004/03/29 18:20:13 tron Exp $
DISTNAME= bonobo-1.0.18
PKGREVISION= 7
@@ -14,7 +13,7 @@ BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
BUILDLINK_DEPENDS.libxml= libxml>1.8.15
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
USE_X11BASE= YES
USE_LIBTOOL= YES
@@ -32,11 +31,11 @@ post-install:
-@${RMDIR} ${PREFIX}/share/libefs/html
-@${RMDIR} ${PREFIX}/share/libefs
-.include "../../graphics/gdk-pixbuf-gnome/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../print/gnome-print/buildlink2.mk"
-.include "../../textproc/libxml/buildlink2.mk"
-.include "../../devel/popt/buildlink2.mk"
-.include "../../devel/oaf/buildlink2.mk"
+.include "../../graphics/gdk-pixbuf-gnome/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../print/gnome-print/buildlink3.mk"
+.include "../../textproc/libxml/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/oaf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bonobo/buildlink3.mk b/devel/bonobo/buildlink3.mk
new file mode 100644
index 00000000000..6bc9bd3b472
--- /dev/null
+++ b/devel/bonobo/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/29 18:20:13 tron Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BONOBO_BUILDLINK3_MK:= ${BONOBO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= bonobo
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbonobo}
+BUILDLINK_PACKAGES+= bonobo
+
+.if !empty(BONOBO_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.bonobo+= bonobo>=1.0.18nb7
+BUILDLINK_PKGSRCDIR.bonobo?= ../../devel/bonobo
+.endif # BONOBO_BUILDLINK3_MK
+
+.include "../../graphics/gdk-pixbuf-gnome/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../print/gnome-print/buildlink3.mk"
+.include "../../textproc/libxml/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/oaf/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}