Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2016 12:20:42 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424242 - in head/lang: sather-specification sather-tutorial
Message-ID:  <201610191220.u9JCKgia029582@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610191220.u9JCKgia029582>