diff options
author | obache <obache@pkgsrc.org> | 2014-01-13 12:37:51 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-01-13 12:37:51 +0000 |
commit | 725c1441eb606fbda62282ade0f016136216079d (patch) | |
tree | 321c34c4524a8cb6e495d3dbd851275e8e6a6d5e /graphics/gnome-icon-theme/Makefile | |
parent | 5476aabf9b6188e88ca35d8b8e7782623bf46d56 (diff) | |
download | pkgsrc-725c1441eb606fbda62282ade0f016136216079d.tar.gz |
Convert abuse of buildlink with librsvg as build depend to TOOL_DEPENDS.
Diffstat (limited to 'graphics/gnome-icon-theme/Makefile')
-rw-r--r-- | graphics/gnome-icon-theme/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/graphics/gnome-icon-theme/Makefile b/graphics/gnome-icon-theme/Makefile index 6a0342f2e97..bd87a0bffb8 100644 --- a/graphics/gnome-icon-theme/Makefile +++ b/graphics/gnome-icon-theme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.93 2014/01/13 12:13:41 obache Exp $ +# $NetBSD: Makefile,v 1.94 2014/01/13 12:37:51 obache Exp $ DISTNAME= gnome-icon-theme-3.10.0 CATEGORIES= graphics gnome @@ -12,6 +12,8 @@ LICENSE= cc-by-sa-v3.0 AND gnu-lgpl-v3 NOT_FOR_BULK_PLATFORM= HPUX-*-* +TOOL_DEPENDS+= librsvg>=2.22.3:../../graphics/librsvg + GNU_CONFIGURE= yes USE_TOOLS+= gmake intltool msgfmt pkg-config # otherwise it creates lots of lib/locale dirs, even though it doesn't @@ -33,17 +35,17 @@ INSTALL_TEMPLATES+= ../../graphics/gnome-icon-theme/files/icon-cache.tmpl DEINSTALL_TEMPLATES+= ../../graphics/gnome-icon-theme/files/icon-cache.tmpl PRINT_PLIST_AWK+= /^share\/icons\/gnome\/icon-theme.cache$$/ { next; } +FIND_PREFIX:= LIBRSVGDIR=librsvg +.include "../../mk/find-prefix.mk" + post-install: - ${PREFIX}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 16 -h 16 -o ${DESTDIR}${PREFIX}/share/icons/gnome/16x16/places/start-here.png - ${PREFIX}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 22 -h 22 -o ${DESTDIR}${PREFIX}/share/icons/gnome/22x22/places/start-here.png - ${PREFIX}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 24 -h 24 -o ${DESTDIR}${PREFIX}/share/icons/gnome/24x24/places/start-here.png - ${PREFIX}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 32 -h 32 -o ${DESTDIR}${PREFIX}/share/icons/gnome/32x32/places/start-here.png - ${PREFIX}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 48 -h 48 -o ${DESTDIR}${PREFIX}/share/icons/gnome/48x48/places/start-here.png - ${PREFIX}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 256 -h 256 -o ${DESTDIR}${PREFIX}/share/icons/gnome/256x256/places/start-here.png + ${LIBRSVGDIR}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 16 -h 16 -o ${DESTDIR}${PREFIX}/share/icons/gnome/16x16/places/start-here.png + ${LIBRSVGDIR}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 22 -h 22 -o ${DESTDIR}${PREFIX}/share/icons/gnome/22x22/places/start-here.png + ${LIBRSVGDIR}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 24 -h 24 -o ${DESTDIR}${PREFIX}/share/icons/gnome/24x24/places/start-here.png + ${LIBRSVGDIR}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 32 -h 32 -o ${DESTDIR}${PREFIX}/share/icons/gnome/32x32/places/start-here.png + ${LIBRSVGDIR}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 48 -h 48 -o ${DESTDIR}${PREFIX}/share/icons/gnome/48x48/places/start-here.png + ${LIBRSVGDIR}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg -w 256 -h 256 -o ${DESTDIR}${PREFIX}/share/icons/gnome/256x256/places/start-here.png .include "../../devel/gettext-lib/buildlink3.mk" .include "../../graphics/icon-naming-utils/buildlink3.mk" -BUILDLINK_DEPMETHOD.librsvg= build -BUILDLINK_API_DEPENDS.librsvg+= librsvg>=2.22.3 -.include "../../graphics/librsvg/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |