pkgsrc/graphics/hicolor-icon-theme/Makefile
markd d611c0e7ab Don't depend on gtk2+ package just to be able to update an icon cache file.
Instead update the cache iff gtk2 package also installed.
OKed wiz and jmmv.  Bump PKGREVISION.
2007-01-26 01:02:58 +00:00

29 lines
943 B
Makefile

# $NetBSD: Makefile,v 1.14 2007/01/26 01:02:58 markd Exp $
#
DISTNAME= hicolor-icon-theme-0.10
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://icon-theme.freedesktop.org/releases/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://icon-theme.freedesktop.org/wiki/HicolorTheme
COMMENT= Standard icon theme called hicolor
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
NO_BUILD= YES
USE_DIRS+= xdg-1.1
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"