openbsd-ports/x11/gnome/icon-theme/Makefile
ajacoutot c1dcb146ce Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 08:03:21 +00:00

41 lines
901 B
Makefile

# $OpenBSD: Makefile,v 1.37 2011/05/11 08:03:23 ajacoutot Exp $
COMMENT= base icon theme for GNOME
GNOME_PROJECT= gnome-icon-theme
GNOME_VERSION= 2.30.3
REVISION= 1
CATEGORIES= x11
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/gnome
BUILD_DEPENDS= devel/gettext \
x11/icon-naming-utils>=0.8.90
PKG_ARCH= *
USE_LIBTOOL= No
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_path_GIT=false \
ac_cv_path_INKSCAPE=false \
ac_cv_path_ICONTOOL_RENDER=false
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
.include <bsd.port.mk>