diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-30 13:20:29 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-30 13:20:29 +0000 |
commit | 5fec7bf2be937e9321f11ec789bddbead43a6040 (patch) | |
tree | b674e9a6681870df06304a6bf1a2e92700f84e4c /x11-themes | |
parent | 839fe7d15a419dfdddfcb13a2c13ab734cc3b7be (diff) | |
download | ports-5fec7bf2be937e9321f11ec789bddbead43a6040.tar.gz ports-5fec7bf2be937e9321f11ec789bddbead43a6040.zip |
Notes
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> |