2011-05-19 10:43:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2011/05/19 14:43:16 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
|
2010-05-26 10:52:35 -04:00
|
|
|
GNOME_VERSION= 2.30.3
|
2011-05-19 10:43:16 -04:00
|
|
|
REVISION= 3
|
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
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS= devel/gettext \
|
|
|
|
x11/icon-naming-utils>=0.8.90
|
2003-10-07 01:48:53 -04:00
|
|
|
|
2011-05-19 03:50:37 -04:00
|
|
|
# Rational: except for QT/KDE ports, gtk+ should already be in the
|
|
|
|
# dependency chain for ports installing share/icons/ files (i.e. no need
|
|
|
|
# to explicitely add it) and if we have svg icons without their png
|
|
|
|
# counterpart and librsvg is not part of the dependency chain then we
|
|
|
|
# explicitely add it.
|
|
|
|
# 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.
|
|
|
|
RUN_DEPENDS += x11/gtk+2 \
|
|
|
|
x11/gnome/librsvg
|
|
|
|
|
2010-05-01 18:22:00 -04:00
|
|
|
PKG_ARCH= *
|
|
|
|
|
2009-10-14 12:57:15 -04:00
|
|
|
USE_LIBTOOL= No
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2010-04-20 13:49:51 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_path_GIT=false \
|
|
|
|
ac_cv_path_INKSCAPE=false \
|
|
|
|
ac_cv_path_ICONTOOL_RENDER=false
|
2003-06-12 16:16:58 -04:00
|
|
|
|
2010-10-06 09:51:58 -04:00
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/${GNOME_PROJECT}
|
|
|
|
|
|
|
|
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>
|