openbsd-ports/x11/tango-icon-theme/Makefile
ajacoutot 07174a9714 We want to use @unexec here and not @unexec-delete.
The reason is that if a theme is removed after updating to a new version,
then we are left over with a useless cache file because we are using
pkg_add -u and not pkg_delete.
2011-05-19 14:43:16 +00:00

37 lines
1001 B
Makefile

# $OpenBSD: Makefile,v 1.17 2011/05/19 14:43:16 ajacoutot Exp $
COMMENT= Tango icon theme
DISTNAME= tango-icon-theme-0.8.90
REVISION= 4
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
BUILD_DEPENDS= x11/icon-naming-utils>=0.8.7 \
graphics/ImageMagick
# 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>