From ef0f21d9b03c2571df8951b2976dc16bef2c1e92 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 11 Feb 2004 06:12:20 +0000 Subject: bl3ify --- graphics/librsvg2-gtk2/Makefile | 4 ++-- graphics/librsvg2/Makefile | 20 ++++++++++---------- graphics/librsvg2/Makefile.common | 6 +++--- graphics/librsvg2/buildlink3.mk | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 15 deletions(-) create mode 100644 graphics/librsvg2/buildlink3.mk (limited to 'graphics') diff --git a/graphics/librsvg2-gtk2/Makefile b/graphics/librsvg2-gtk2/Makefile index edf9599e220..d257c05ad63 100644 --- a/graphics/librsvg2-gtk2/Makefile +++ b/graphics/librsvg2-gtk2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/02/09 18:47:37 jmmv Exp $ +# $NetBSD: Makefile,v 1.5 2004/02/11 06:22:08 xtraeme Exp $ # .include "../../graphics/librsvg2/Makefile.common" @@ -14,6 +14,6 @@ INSTALL_DIRS= ${WRKSRC}/gtk-engine ${WRKSRC}/gdk-pixbuf-loader GTK2_LOADERS= YES -.include "../../graphics/librsvg2/buildlink2.mk" +.include "../../graphics/librsvg2/buildlink3.mk" .include "../../x11/gtk2/modules.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index 9ba12774038..3544f6d533d 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2004/02/09 18:47:37 jmmv Exp $ +# $NetBSD: Makefile,v 1.23 2004/02/11 06:22:08 xtraeme Exp $ # .include "Makefile.common" @@ -8,13 +8,13 @@ PKGREVISION= 6 CONFIGURE_ARGS+= --disable-pixbuf-loader -.include "../../graphics/freetype2/buildlink2.mk" -.include "../../graphics/libart2/buildlink2.mk" -.include "../../textproc/libxml2/buildlink2.mk" -.include "../../devel/glib2/buildlink2.mk" -.include "../../devel/libgsf/buildlink2.mk" -.include "../../devel/pango/buildlink2.mk" -.include "../../devel/pkgconfig/buildlink2.mk" -.include "../../devel/popt/buildlink2.mk" -.include "../../textproc/libcroco/buildlink2.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/libart2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgsf/buildlink3.mk" +.include "../../devel/pango/buildlink3.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../textproc/libcroco/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/librsvg2/Makefile.common b/graphics/librsvg2/Makefile.common index 5bf929461f2..e45315bc65f 100644 --- a/graphics/librsvg2/Makefile.common +++ b/graphics/librsvg2/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2004/01/22 12:43:10 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.2 2004/02/11 06:22:08 xtraeme Exp $ # DISTNAME= librsvg-2.5.0 @@ -13,7 +13,7 @@ COMMENT= SVG library for GNOME2 DISTINFO_FILE= ${.CURDIR}/../../graphics/librsvg2/distinfo PATCHDIR= ${.CURDIR}/../../graphics/librsvg2/patches -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_X11= YES USE_LIBTOOL= YES GNU_CONFIGURE= YES @@ -24,4 +24,4 @@ CONFIGURE_ARGS+= --disable-gtk-doc CONFIGURE_ARGS+= --with-gimp=no CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html/librsvg2 -.include "../../x11/gtk2/buildlink2.mk" +.include "../../x11/gtk2/buildlink3.mk" diff --git a/graphics/librsvg2/buildlink3.mk b/graphics/librsvg2/buildlink3.mk new file mode 100644 index 00000000000..40534bcd5e6 --- /dev/null +++ b/graphics/librsvg2/buildlink3.mk @@ -0,0 +1,32 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 06:22:08 xtraeme Exp $ +# +# This Makefile fragment is included by packages that use librsvg2. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBRSVG2_BUILDLINK3_MK:= ${LIBRSVG2_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= librsvg2 +.endif + +.if !empty(LIBRSVG2_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= librsvg2 +BUILDLINK_DEPENDS.librsvg2+= librsvg2>=2.5.0nb4 +BUILDLINK_PKGSRCDIR.librsvg2?= ../../graphics/librsvg2 + +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../graphics/libart2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libgsf/buildlink3.mk" +.include "../../devel/pango/buildlink3.mk" +.include "../../devel/popt/buildlink3.mk" +.include "../../textproc/libcroco/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +.endif # LIBRSVG2_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3