aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sather-tutorial
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-10-19 20:20:42 +0800
committermat <mat@FreeBSD.org>2016-10-19 20:20:42 +0800
commit8bd4c0450b66b9d098faaab237c6e1fc76f2f3b8 (patch)
treed249f7af428e3fa7aae12b4477b2952ef48960ad /lang/sather-tutorial
parent77448e9b6e54f984372a26cb93b0fa7041de298b (diff)
downloadfreebsd-ports-gnome-8bd4c0450b66b9d098faaab237c6e1fc76f2f3b8.tar.gz
freebsd-ports-gnome-8bd4c0450b66b9d098faaab237c6e1fc76f2f3b8.tar.zst
freebsd-ports-gnome-8bd4c0450b66b9d098faaab237c6e1fc76f2f3b8.zip
The distfile is already extracted in do-extract, so use that instead of
extracting a second time. Sponsored by: Absolight
Diffstat (limited to 'lang/sather-tutorial')
-rw-r--r--lang/sather-tutorial/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lang/sather-tutorial/Makefile b/lang/sather-tutorial/Makefile
index 0ac4a1671c0c..86795da879d9 100644
--- a/lang/sather-tutorial/Makefile
+++ b/lang/sather-tutorial/Makefile
@@ -18,7 +18,6 @@ DOCSDIR= ${PREFIX}/share/doc/sather/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${TAR} -xzf ${DISTDIR}/${DISTFILES} -C ${STAGEDIR}${DOCSDIR}
- @${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>