Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 19:22:33 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338923 - head/x11-themes/gtk-gray-theme
Message-ID:  <201401061922.s06JMXcJ003904@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jan  6 19:22:33 2014
New Revision: 338923
URL: http://svnweb.freebsd.org/changeset/ports/338923

Log:
  - Stage support and simplify install
  - Remove duplicate @dirrm from plist

Modified:
  head/x11-themes/gtk-gray-theme/Makefile
  head/x11-themes/gtk-gray-theme/pkg-plist

Modified: head/x11-themes/gtk-gray-theme/Makefile
==============================================================================
--- head/x11-themes/gtk-gray-theme/Makefile	Mon Jan  6 19:04:06 2014	(r338922)
+++ head/x11-themes/gtk-gray-theme/Makefile	Mon Jan  6 19:22:33 2014	(r338923)
@@ -16,17 +16,7 @@ RUN_DEPENDS=	${LOCALBASE}/share/icons/Ta
 NO_BUILD=	yes
 USE_GNOME=	gtk20
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${PREFIX}/share/themes/Gray/gtk-2.0
-	${MKDIR} ${PREFIX}/share/themes/Gray-Flat/gtk-2.0
-	${MKDIR} ${PREFIX}/share/themes/Gray/metacity-1
-	${MKDIR} ${PREFIX}/share/themes/Gray-Flat/metacity-1
-	@${CP} ${WRKDIR}/Gray/index.theme ${PREFIX}/share/themes/Gray
-	@${CP} -R ${WRKDIR}/Gray/gtk-2.0/* ${PREFIX}/share/themes/Gray/gtk-2.0
-	@${CP} ${WRKDIR}/Gray-Flat/index.theme ${PREFIX}/share/themes/Gray-Flat
-	@${CP} -R ${WRKDIR}/Gray-Flat/gtk-2.0/* ${PREFIX}/share/themes/Gray-Flat/gtk-2.0
-	@${CP} -R ${WRKDIR}/Gray/metacity-1/* ${PREFIX}/share/themes/Gray/metacity-1
-	@${CP} -R ${WRKDIR}/Gray-Flat/metacity-1/* ${PREFIX}/share/themes/Gray-Flat/metacity-1
+	cd ${WRKDIR} && ${COPYTREE_SHARE} "Gray Gray-Flat" ${STAGEDIR}${PREFIX}/share/themes
 
 .include <bsd.port.mk>

Modified: head/x11-themes/gtk-gray-theme/pkg-plist
==============================================================================
--- head/x11-themes/gtk-gray-theme/pkg-plist	Mon Jan  6 19:04:06 2014	(r338922)
+++ head/x11-themes/gtk-gray-theme/pkg-plist	Mon Jan  6 19:22:33 2014	(r338923)
@@ -318,8 +318,6 @@ share/themes/Gray/index.theme
 @dirrm share/themes/Gray-Flat/gtk-2.0/Buttons
 @dirrm share/themes/Gray-Flat/gtk-2.0/Arrows
 @dirrm share/themes/Gray-Flat/gtk-2.0
-@dirrm share/themes/Gray-Flat
-@dirrm share/themes/Gray
 @dirrm share/themes/Gray/metacity-1
 @dirrm share/themes/Gray-Flat/metacity-1
 @dirrm share/themes/Gray-Flat



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