openbsd-ports/x11/faenza-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

56 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2012/06/15 08:30:18 ajacoutot Exp $
COMMENT = complete, colourful suite of squared icons
V = 1.2
DISTNAME = faenza_icons_by_tiheum-d2v6x24
PKGNAME = faenza-icon-theme-${V}
CATEGORIES = x11
REVISION = 2
HOMEPAGE = http://tiheum.deviantart.com/
MASTER_SITES = http://www.deviantart.com/download/173323228/ \
http://spacehopper.org/mirrors/
EXTRACT_SUFX = .zip
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
PKG_ARCH = *
NO_BUILD = Yes
NO_REGRESS = Yes
RUN_DEPENDS = x11/gtk+2,-guic
# Add the corresponding "Inherits" theme
RUN_DEPENDS += x11/gnome/icon-theme
WRKDIST = ${WRKDIR}
ICONSDIR = ${PREFIX}/share/icons/
FAENZA_PACKAGES = Faenza.tar.gz \
Faenza-Ambiance.tar.gz \
Faenza-Dark.tar.gz \
Faenza-Darker.tar.gz \
Faenza-Darkest.tar.gz \
Faenza-Radiance.tar.gz
do-install:
${INSTALL_DATA_DIR} ${ICONSDIR}
.for _targz in ${FAENZA_PACKAGES}
cd ${WRKDIST} && tar -C ${ICONSDIR} -xzf ${_targz}
.endfor
post-install:
# Fix bogus permissions
@chmod a-x ${ICONSDIR}/Faenz*/emblems/*/*.icon
@chmod a-x ${ICONSDIR}/Faenz*/index.theme
.include <bsd.port.mk>