svn commit: r386878 - head/x11-themes/gnome-icons-elementary
Olivier Duchateau
olivierd at FreeBSD.org
Wed May 20 18:42:33 UTC 2015
Author: olivierd
Date: Wed May 20 18:42:32 2015
New Revision: 386878
URL: https://svnweb.freebsd.org/changeset/ports/386878
Log:
Reorganize install target
Suggested by: mat@
Modified:
head/x11-themes/gnome-icons-elementary/Makefile
Modified: head/x11-themes/gnome-icons-elementary/Makefile
==============================================================================
--- head/x11-themes/gnome-icons-elementary/Makefile Wed May 20 18:36:18 2015 (r386877)
+++ head/x11-themes/gnome-icons-elementary/Makefile Wed May 20 18:42:32 2015 (r386878)
@@ -17,17 +17,11 @@ LICENSE= GPLv3
NO_BUILD= yes
INSTALLS_ICONS= yes
-pre-install:
- cd ${WRKSRC} && ${FIND} * -type d ! -empty \
- ! -path 'stage*' \
- -exec ${MKDIR} -m 0755 \
- ${STAGEDIR}${PREFIX}/share/icons/elementary/"{}" \;
-
do-install:
- cd ${WRKSRC} && ${FIND} * ! -type d ! -name 'plist' ! -name '*.bak' \
- ! -name '${LICENSE}' \
- ! -path 'stage/*' \
- -exec ${INSTALL_DATA} ${WRKSRC}/"{}" \
- ${STAGEDIR}${PREFIX}/share/icons/elementary/"{}" \;
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icons/elementary/ \
+ "! -name 'plist' ! -name '*.bak' ! -name '${LICENSE}' ! -path 'stage/*' "
+ ${FIND} ${STAGEDIR}${PREFIX}/share/icons/elementary/ -depth 2 \
+ -type d -empty | \
+ ${XARGS} ${RMDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list