pkgsrc/graphics/hicolor-icon-theme/Makefile
jperkin 93b583f454 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.
2015-11-25 12:50:43 +00:00

23 lines
824 B
Makefile

# $NetBSD: Makefile,v 1.22 2015/11/25 12:50:43 jperkin Exp $
DISTNAME= hicolor-icon-theme-0.13
CATEGORIES= graphics
MASTER_SITES= http://icon-theme.freedesktop.org/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://icon-theme.freedesktop.org/wiki/HicolorTheme
COMMENT= Standard icon theme called hicolor
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= YES
NO_BUILD= YES
USE_LANGUAGES= # none, not even C
USE_TOOLS+= gmake
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
PRINT_PLIST_AWK+= /^share\/icons\/hicolor\/icon-theme.cache$$/ { next; }
.include "../../mk/bsd.pkg.mk"