mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
4b856bf8d4
With hat: portmgr
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: Pawel Pekala <pawel@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= faenza
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= x11-themes gnome
|
|
MASTER_SITES= https://launchpad.net/~tiheum/+archive/ubuntu/equinox/+files/
|
|
PKGNAMEPREFIX= gnome-icons-
|
|
DISTNAME= ${PORTNAME}-icon-theme_${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Faenza GNOME 2 icon themes
|
|
|
|
LICENSE= GPLv3
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-icon-theme-${PORTVERSION:R}
|
|
NO_BUILD= yes
|
|
NO_ARCH= 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 ${WRKSRC} && ${COPYTREE_SHARE} ${theme} ${INSTALLDIR})
|
|
|
|
.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>
|