Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2013 19:02:38 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329625 - head/x11-themes/gnome-icons-faenza
Message-ID:  <201310061902.r96J2cJV039962@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310061902.r96J2cJV039962>