2013-04-03 03:41:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.61 2013/04/03 07:41:15 ajacoutot Exp $
|
2012-09-27 03:18:51 -04:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
2003-06-12 16:16:58 -04:00
|
|
|
|
2009-10-14 12:57:15 -04:00
|
|
|
COMMENT= base icon theme for GNOME
|
2003-06-12 16:16:58 -04:00
|
|
|
|
2009-10-14 12:57:15 -04:00
|
|
|
GNOME_PROJECT= gnome-icon-theme
|
2013-03-29 03:49:30 -04:00
|
|
|
GNOME_VERSION= 3.8.0
|
2009-10-14 12:57:15 -04:00
|
|
|
|
|
|
|
CATEGORIES= x11
|
2003-06-12 16:16:58 -04:00
|
|
|
|
2008-02-19 09:57:34 -05:00
|
|
|
# GPLv2
|
2003-06-12 16:16:58 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2009-10-14 12:57:15 -04:00
|
|
|
MODULES= x11/gnome
|
2007-07-05 18:50:10 -04:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
BUILD_DEPENDS= x11/icon-naming-utils>=0.8.90
|
2003-10-07 01:48:53 -04:00
|
|
|
|
2011-05-19 03:50:37 -04:00
|
|
|
# gnome-icon-theme is the inherited theme for most icon themes so we
|
|
|
|
# make sure we have gtk-update-icon-cache and can display svg icons.
|
2011-12-03 13:45:02 -05:00
|
|
|
MODGNOME_ICON_CACHE= Yes
|
|
|
|
RUN_DEPENDS += x11/gnome/librsvg
|
2011-05-19 03:50:37 -04:00
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
CONFIGURE_ARGS= --enable-icon-mapping \
|
|
|
|
--disable-nls
|
2003-06-12 16:16:58 -04:00
|
|
|
|
2012-09-27 03:40:09 -04:00
|
|
|
# don't run gtk-update-icon-cache, the package takes care of it
|
|
|
|
CONFIGURE_ENV += ac_cv_path_GTK_UPDATE_ICON_CACHE=/usr/bin/true
|
|
|
|
|
2010-10-06 09:51:58 -04:00
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/${GNOME_PROJECT}
|
|
|
|
|
2013-04-03 03:13:19 -04:00
|
|
|
# gtk-update-icon-cache is checked by configure but do not enforce the
|
|
|
|
# dependency: we don't need to run it, the package takes care of that
|
|
|
|
pre-configure:
|
|
|
|
ln -s /usr/bin/true ${WRKDIR}/bin/gtk-update-icon-cache
|
|
|
|
|
2012-10-17 04:50:40 -04:00
|
|
|
# Unbreak GTK+ applications that use gnome-icon-theme, when executed outside
|
2012-09-27 03:18:51 -04:00
|
|
|
# of a Desktop Environment
|
2010-10-06 09:51:58 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}/gtk-2.0
|
2012-10-17 04:50:40 -04:00
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}/gtk-3.0
|
2010-10-06 09:51:58 -04:00
|
|
|
@echo 'gtk-icon-theme-name = "gnome"' > \
|
|
|
|
${EXAMPLEDIR}/gtk-2.0/gtkrc
|
2012-10-17 04:50:40 -04:00
|
|
|
@printf "[Settings]\ngtk-icon-theme-name = gnome\n" > \
|
|
|
|
${EXAMPLEDIR}/gtk-3.0/settings.ini
|
2010-10-06 09:51:58 -04:00
|
|
|
|
2003-06-12 16:16:58 -04:00
|
|
|
.include <bsd.port.mk>
|