aboutsummaryrefslogtreecommitdiff
path: root/lang/sather-tutorial
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-10-19 12:20:42 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-10-19 12:20:42 +0000
commit0555612be34b83372b715af1c23c77498e40dd1c (patch)
treed249f7af428e3fa7aae12b4477b2952ef48960ad /lang/sather-tutorial
parentea9e05812bc7a2acc94f3560b2d34e6d1d58fb14 (diff)
downloadports-0555612be34b83372b715af1c23c77498e40dd1c.tar.gz
ports-0555612be34b83372b715af1c23c77498e40dd1c.zip
The distfile is already extracted in do-extract, so use that instead of
extracting a second time. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=424242
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>