summaryrefslogtreecommitdiff
path: root/graphics/adwaita-icon-theme
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:50:43 +0000
committerjperkin <jperkin>2015-11-25 12:50:43 +0000
commitc84181c0edfca8d9dadf2bc9be7e42961727cb83 (patch)
tree86eb059496354ccd274b3fd95c2821669fe397fd /graphics/adwaita-icon-theme
parentd1452fc9837378b35db35a2e0a452f48874ab50e (diff)
downloadpkgsrc-c84181c0edfca8d9dadf2bc9be7e42961727cb83.tar.gz
Remove mk/find-prefix.mk usage from the graphics category.
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'graphics/adwaita-icon-theme')
-rw-r--r--graphics/adwaita-icon-theme/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/adwaita-icon-theme/Makefile b/graphics/adwaita-icon-theme/Makefile
index d39bb164833..63301b03f15 100644
--- a/graphics/adwaita-icon-theme/Makefile
+++ b/graphics/adwaita-icon-theme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2015/06/14 22:19:00 prlw1 Exp $
+# $NetBSD: Makefile,v 1.5 2015/11/25 12:50:43 jperkin Exp $
DISTNAME= adwaita-icon-theme-3.16.2.1
CATEGORIES= graphics gnome
@@ -26,17 +26,15 @@ PKGCONFIG_OVERRIDE+= adwaita-icon-theme.pc.in
# but isn't
INSTALLATION_DIRS+= share/icons/Adwaita/96x96/places
-EVAL_PREFIX+= PREFIX.svg=librsvg
-EVAL_PREFIX+= PREFIX.gtk3=gtk3+
-FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${PREFIX.gtk3}/bin/gtk-update-icon-cache"
-FILES_SUBST+= ICON_THEME_DIR="${PREFIX}/share/icons/Adwaita"
+FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${LOCALBASE}/bin/gtk-update-icon-cache"
+FILES_SUBST+= ICON_THEME_DIR="${LOCALBASE}/share/icons/Adwaita"
INSTALL_TEMPLATES+= ../../graphics/adwaita-icon-theme/files/icon-cache.tmpl
DEINSTALL_TEMPLATES+= ../../graphics/adwaita-icon-theme/files/icon-cache.tmpl
PRINT_PLIST_AWK+= /^share\/icons\/gnome\/icon-theme.cache$$/ { next; }
post-install:
.for s in 16 22 24 32 48 96 256
- ${PREFIX.svg}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg \
+ ${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg \
-w ${s} -h ${s} -o \
${DESTDIR}${PREFIX}/share/icons/Adwaita/${s}x${s}/places/start-here.png
.endfor