openbsd-ports/x11/faenza-icon-theme/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.7 2013/03/11 11:46:09 espie Exp $
COMMENT = complete, colourful suite of squared icons
2013-01-14 07:44:17 -05:00
V = 1.3
DISTNAME = faenza-icon-theme_${V}
PKGNAME = faenza-icon-theme-${V}
CATEGORIES = x11
HOMEPAGE = http://tiheum.deviantart.com/
2013-01-14 07:44:17 -05:00
MASTER_SITES = http://faenza-icon-theme.googlecode.com/files/
EXTRACT_SUFX = .zip
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PKG_ARCH = *
NO_BUILD = Yes
2013-03-11 07:35:43 -04:00
NO_TEST = 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>