aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/xspread/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/math/xspread/Makefile b/math/xspread/Makefile
index 6d7997500c95..f3275ed0d246 100644
--- a/math/xspread/Makefile
+++ b/math/xspread/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xspread
PORTVERSION= 3.1.1c
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= http://archive.debian.org/%SUBDIR%/ \
http://mirror.safehostnet.com/debian-archive/%SUBDIR%/ \
@@ -52,10 +52,6 @@ do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/x/notes ${STAGEDIR}${DOCSDIR}
-.for dir in doc documents sample_files tests
- @${TAR} -C ${WRKSRC} --exclude '*.tmp' -cf - ${dir} | \
- ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
-.endfor
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} "doc documents sample_files tests" ${STAGEDIR}${DOCSDIR} "! -name *.tmp")
.include <bsd.port.mk>