summaryrefslogtreecommitdiff
path: root/graphics/hicolor-icon-theme/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:50:43 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:50:43 +0000
commit9f026fc529baa5b8b73fd2c6a8f42ba48af73ded (patch)
tree86eb059496354ccd274b3fd95c2821669fe397fd /graphics/hicolor-icon-theme/Makefile
parent81aa9fa39bed3e3d857ba0c0d2a9c2060c16a212 (diff)
downloadpkgsrc-9f026fc529baa5b8b73fd2c6a8f42ba48af73ded.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/hicolor-icon-theme/Makefile')
-rw-r--r--graphics/hicolor-icon-theme/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/hicolor-icon-theme/Makefile b/graphics/hicolor-icon-theme/Makefile
index 7b043cfddbe..a00a70bde6a 100644
--- a/graphics/hicolor-icon-theme/Makefile
+++ b/graphics/hicolor-icon-theme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2014/10/09 14:06:35 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2015/11/25 12:50:43 jperkin Exp $
DISTNAME= hicolor-icon-theme-0.13
CATEGORIES= graphics
@@ -14,8 +14,7 @@ NO_BUILD= YES
USE_LANGUAGES= # none, not even C
USE_TOOLS+= gmake
-EVAL_PREFIX+= PREFIX.gtk2=gtk2+
-FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${PREFIX.gtk2}/bin/gtk-update-icon-cache"
+FILES_SUBST+= GTK_UPDATE_ICON_CACHE="${LOCALBASE}/bin/gtk-update-icon-cache"
FILES_SUBST+= ICON_THEME_DIR="${PREFIX}/share/icons/hicolor"
INSTALL_TEMPLATES+= ../../graphics/hicolor-icon-theme/files/icon-cache.tmpl
DEINSTALL_TEMPLATES+= ../../graphics/hicolor-icon-theme/files/icon-cache.tmpl