pkgsrc/graphics/hicolor-icon-theme/Makefile

28 lines
935 B
Makefile

# $NetBSD: Makefile,v 1.18 2010/01/20 13:43:45 wiz Exp $
#
DISTNAME= hicolor-icon-theme-0.12
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
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
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+= 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"