openbsd-ports/x11/tango-icon-theme/Makefile
ajacoutot 8f4dc25866 Don't redirect errors to /dev/null and don't return true(1)
unconditionally. Instead, don't check for the existence of index.theme.
This will allow us to catch errors that may be happening because of a
missing dependency in the chain.

Some hidden issues may appear, in which case please contact me.

discussed with and ok blind jasper@
2012-06-15 08:30:18 +00:00

39 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2012/06/15 08:30:24 ajacoutot Exp $
COMMENT= Tango icon theme
DISTNAME= tango-icon-theme-0.8.90
REVISION= 7
CATEGORIES= x11
HOMEPAGE= http://tango.freedesktop.org/
MASTER_SITES= ${HOMEPAGE}/releases/
# Public Domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= textproc/intltool
RUN_DEPENDS= x11/gtk+2,-guic
BUILD_DEPENDS= x11/icon-naming-utils>=0.8.7 \
graphics/ImageMagick \
x11/gtk+2,-guic
# Add the corresponding "Inherits" theme.
RUN_DEPENDS += x11/gnome/icon-theme
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
PKG_ARCH= *
post-install:
@ln ${PREFIX}/share/icons/Tango/16x16/apps/preferences-desktop-keyboard{-shortcuts,}.png
@ln ${PREFIX}/share/icons/Tango/22x22/apps/preferences-desktop-keyboard{-shortcuts,}.png
@ln ${PREFIX}/share/icons/Tango/32x32/apps/preferences-desktop-keyboard{-shortcuts,}.png
@ln ${PREFIX}/share/icons/Tango/scalable/apps/preferences-desktop-keyboard{-shortcuts,}.svg
.include <bsd.port.mk>