freebsd-ports/x11-themes/gnome-icons-faenza/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= faenza
PORTVERSION= 1.3
CATEGORIES= x11-themes gnome
MASTER_SITES= GOOGLE_CODE
PROJECTHOST= ${PORTNAME}-icon-theme
PKGNAMEPREFIX= gnome-icons-
DISTNAME= ${PROJECTHOST}_${PORTVERSION}
MAINTAINER= pawel@FreeBSD.org
COMMENT= Faenza GNOME 2 icon themes
LICENSE= GPLv3
USES= zip
NO_BUILD= yes
INSTALLS_ICONS= yes
THEMES= Faenza Faenza-Dark Faenza-Darkest Faenza-Darker \
Faenza-Ambiance Faenza-Radiance
FAENZA_LIGHT= Faenza
FAENZA_DARK= Faenza-Dark
INSTALLDIR= ${STAGEDIR}${PREFIX}/share/icons
do-install:
@${MKDIR} ${INSTALLDIR}
.for theme in ${THEMES}
@cd ${INSTALLDIR} && ${TAR} -xf ${WRKDIR}/${theme}.tar.gz
.if ${FAENZA_LIGHT} == ${theme} || ${FAENZA_DARK} == ${theme}
@cd ${INSTALLDIR}/${theme}/places/scalable && \
${LN} -sf start-here-gnome.svg start-here.svg && \
${LN} -sf start-here-gnome-symbolic.svg start-here-symbolic.svg
.for size in 22 24 32 48 64 96
@cd ${INSTALLDIR}/${theme}/places/${size} && \
${LN} -sf start-here-gnome.png start-here.png
.endfor
.endif
@cd ${STAGEDIR}${PREFIX} && \
${FIND} share/icons/${theme} ! -type d >> ${TMPPLIST}
.endfor
.include <bsd.port.mk>