svn commit: r329625 - head/x11-themes/gnome-icons-faenza
Pawel Pekala
pawel at FreeBSD.org
Sun Oct 6 19:02:38 UTC 2013
Author: pawel
Date: Sun Oct 6 19:02:37 2013
New Revision: 329625
URL: http://svnweb.freebsd.org/changeset/ports/329625
Log:
Add support for STAGEDIR
Modified:
head/x11-themes/gnome-icons-faenza/Makefile (contents, props changed)
Modified: head/x11-themes/gnome-icons-faenza/Makefile
==============================================================================
--- head/x11-themes/gnome-icons-faenza/Makefile Sun Oct 6 18:54:13 2013 (r329624)
+++ head/x11-themes/gnome-icons-faenza/Makefile Sun Oct 6 19:02:37 2013 (r329625)
@@ -22,24 +22,24 @@ THEMES= Faenza Faenza-Dark Faenza-Darke
Faenza-Ambiance Faenza-Radiance
FAENZA_LIGHT= Faenza
FAENZA_DARK= Faenza-Dark
+INSTALLDIR= ${STAGEDIR}${PREFIX}/share/icons
-NO_STAGE= yes
do-install:
+ @${MKDIR} ${INSTALLDIR}
.for theme in ${THEMES}
- @cd ${WRKDIR} && ${TAR} -xf ${theme}.tar.gz
+ @cd ${INSTALLDIR} && ${TAR} -xf ${WRKDIR}/${theme}.tar.gz
.if ${FAENZA_LIGHT} == ${theme} || ${FAENZA_DARK} == ${theme}
- @cd ${WRKDIR}/${theme}/places/scalable && \
+ @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 ${WRKDIR}/${theme}/places/${size} && \
+ @cd ${INSTALLDIR}/${theme}/places/${size} && \
${LN} -sf start-here-gnome.png start-here.png
.endfor
.endif
-
- ${CP} -R ${WRKDIR}/${theme} ${PREFIX}/share/icons
- @cd ${PREFIX} && ${FIND} share/icons/${theme} ! -type d >> ${TMPPLIST} && \
+ @cd ${STAGEDIR}${PREFIX} && ${FIND} share/icons/${theme} ! \
+ -type d >> ${TMPPLIST} && \
${FIND} share/icons/${theme} -type d | ${SORT} -r | \
${SED} 's|^|@dirrm |' >> ${TMPPLIST}
.endfor
More information about the svn-ports-head
mailing list