diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-01-30 21:20:29 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-01-30 21:20:29 +0800 |
commit | 7ef5515c5d9786a4d65148f8e1c320c8ef269e9d (patch) | |
tree | b674e9a6681870df06304a6bf1a2e92700f84e4c /x11-themes | |
parent | 72b4a48fd87e063bc8d1e90e1b297494bcddba38 (diff) | |
download | freebsd-ports-gnome-7ef5515c5d9786a4d65148f8e1c320c8ef269e9d.tar.gz freebsd-ports-gnome-7ef5515c5d9786a4d65148f8e1c320c8ef269e9d.tar.zst freebsd-ports-gnome-7ef5515c5d9786a4d65148f8e1c320c8ef269e9d.zip |
- Simplify installation
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/sawfish-themes/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/x11-themes/sawfish-themes/Makefile b/x11-themes/sawfish-themes/Makefile index 4b2365bb1222..e91843d85f02 100644 --- a/x11-themes/sawfish-themes/Makefile +++ b/x11-themes/sawfish-themes/Makefile @@ -25,17 +25,12 @@ DATA_DIRS= 2YearsToNever Anonymous Aquiline BWM Big Blackwindow \ T-16-red T-16-yellow Titanium V absolute-metal bluefoo \ debian gorilla gorillaz mxflat typo +post-extract: + ${FIND} ${WRKSRC} -name .xvpics | ${XARGS} ${RM} -rf + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/sawfish/themes -.for d in ${DATA_DIRS} - @${TAR} --exclude ".pc" --exclude ".xvpics" -C ${WRKSRC} -cf - ${d} | \ - ${TAR} -C ${STAGEDIR}${PREFIX}/share/sawfish/themes -xf - - @${FIND} ${STAGEDIR}${PREFIX}/share/sawfish/themes/${d} | \ - ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} - @${FIND} ${STAGEDIR}${PREFIX}/share/sawfish/themes/${d} -type f | \ - ${XARGS} ${CHMOD} ${SHAREMODE} - @${FIND} ${STAGEDIR}${PREFIX}/share/sawfish/themes/${d} -type d | \ - ${XARGS} ${CHMOD} a+rx -.endfor + cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" \ + ${STAGEDIR}${PREFIX}/share/sawfish/themes .include <bsd.port.mk> |