From 78a0e7cd5b977072e50bc3ea07831aec25ac91fe Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Mon, 6 Jan 2014 19:22:33 +0000 Subject: - Stage support and simplify install - Remove duplicate @dirrm from plist --- x11-themes/gtk-gray-theme/Makefile | 12 +----------- x11-themes/gtk-gray-theme/pkg-plist | 2 -- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'x11-themes/gtk-gray-theme') diff --git a/x11-themes/gtk-gray-theme/Makefile b/x11-themes/gtk-gray-theme/Makefile index 27c6e2b05dfc..1122133b6dd3 100644 --- a/x11-themes/gtk-gray-theme/Makefile +++ b/x11-themes/gtk-gray-theme/Makefile @@ -16,17 +16,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/icons/Tango:${PORTSDIR}/x11-themes/icons-tango 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 diff --git a/x11-themes/gtk-gray-theme/pkg-plist b/x11-themes/gtk-gray-theme/pkg-plist index de777cf69342..bd2b6836f6af 100644 --- a/x11-themes/gtk-gray-theme/pkg-plist +++ b/x11-themes/gtk-gray-theme/pkg-plist @@ -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 -- cgit v1.2.3