aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/py-scientific/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/py-scientific/Makefile b/math/py-scientific/Makefile
index d7397513355c..dced99131941 100644
--- a/math/py-scientific/Makefile
+++ b/math/py-scientific/Makefile
@@ -37,8 +37,8 @@ post-install:
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCDIR}
.if !defined(NOPORTDOCS)
- cd ${WRKDIR}/${DISTNAME}/Doc; tar cf - . | \
- (cd ${DOCDIR}; tar xf -)
+ cd ${WRKDIR}/${DISTNAME}/Doc; tar -c --exclude='*~' -f - . | \
+ (cd ${DOCDIR}; tar -xf -)
@${MKDIR} ${EXAMPLEDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Examples/* ${EXAMPLEDIR}
.endif