2011-12-03 13:45:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2011/12/03 18:45:02 ajacoutot Exp $
|
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
|
2011-10-19 08:44:40 -04:00
|
|
|
GNOME_VERSION= 3.2.1.1
|
2011-12-03 13:45:02 -05:00
|
|
|
REVISION= 1
|
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
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= 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-12-03 13:45:02 -05:00
|
|
|
# If we have svg icons without their png counterpart and librsvg is not
|
|
|
|
# part of the dependency chain then we explicitely add it.
|
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
|
|
|
|
2010-05-01 18:22:00 -04:00
|
|
|
PKG_ARCH= *
|
|
|
|
|
2009-10-14 12:57:15 -04:00
|
|
|
USE_LIBTOOL= No
|
2011-09-12 03:28:52 -04:00
|
|
|
CONFIGURE_ARGS= --enable-icon-mapping \
|
|
|
|
--disable-nls
|
2003-06-12 16:16:58 -04:00
|
|
|
|
2010-10-06 09:51:58 -04:00
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/${GNOME_PROJECT}
|
|
|
|
|
2011-09-12 03:28:52 -04:00
|
|
|
FAKE_FLAGS= pkgconfigdir=${PREFIX}/lib/pkgconfig
|
|
|
|
|
|
|
|
# no need to build_depends on gtk+2|gtk+3, we run gtk-update-icon-cache
|
|
|
|
# at pkg_add time if it is available
|
|
|
|
post-extract:
|
|
|
|
ln -sf /usr/bin/true ${WRKDIR}/bin/gtk-update-icon-cache
|
|
|
|
|
2010-10-06 09:51:58 -04:00
|
|
|
post-install:
|
|
|
|
# Unbreak gtk+2 applications that use gnome-icon-theme, when
|
|
|
|
# executed outside of a Desktop Environment
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}/gtk-2.0
|
|
|
|
@echo 'gtk-icon-theme-name = "gnome"' > \
|
|
|
|
${EXAMPLEDIR}/gtk-2.0/gtkrc
|
|
|
|
|
2003-06-12 16:16:58 -04:00
|
|
|
.include <bsd.port.mk>
|