svn commit: r424242 - in head/lang: sather-specification sather-tutorial

Mathieu Arnold mat at FreeBSD.org
Wed Oct 19 12:20:43 UTC 2016


Author: mat
Date: Wed Oct 19 12:20:42 2016
New Revision: 424242
URL: https://svnweb.freebsd.org/changeset/ports/424242

Log:
  The distfile is already extracted in do-extract, so use that instead of
  extracting a second time.
  
  Sponsored by:	Absolight

Modified:
  head/lang/sather-specification/Makefile   (contents, props changed)
  head/lang/sather-tutorial/Makefile   (contents, props changed)

Modified: head/lang/sather-specification/Makefile
==============================================================================
--- head/lang/sather-specification/Makefile	Wed Oct 19 11:44:39 2016	(r424241)
+++ head/lang/sather-specification/Makefile	Wed Oct 19 12:20:42 2016	(r424242)
@@ -18,7 +18,6 @@ DOCSDIR=	${PREFIX}/share/doc/sather/${PO
 
 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>

Modified: head/lang/sather-tutorial/Makefile
==============================================================================
--- head/lang/sather-tutorial/Makefile	Wed Oct 19 11:44:39 2016	(r424241)
+++ head/lang/sather-tutorial/Makefile	Wed Oct 19 12:20:42 2016	(r424242)
@@ -18,7 +18,6 @@ DOCSDIR=	${PREFIX}/share/doc/sather/${PO
 
 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>


More information about the svn-ports-all mailing list