Date: Wed, 20 May 2015 18:42:33 +0000 (UTC) From: Olivier Duchateau <olivierd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386878 - head/x11-themes/gnome-icons-elementary Message-ID: <201505201842.t4KIgXGp032083@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505201842.t4KIgXGp032083>