svn commit: r367887 - head/math/xspread

Antoine Brodin antoine at FreeBSD.org
Wed Sep 10 20:46:15 UTC 2014


Author: antoine
Date: Wed Sep 10 20:46:14 2014
New Revision: 367887
URL: http://svnweb.freebsd.org/changeset/ports/367887
QAT: https://qat.redports.org/buildarchive/r367887/

Log:
  - Allow staging as a regular user
  - Bump portrevision as most docs was unreadable

Modified:
  head/math/xspread/Makefile

Modified: head/math/xspread/Makefile
==============================================================================
--- head/math/xspread/Makefile	Wed Sep 10 20:30:07 2014	(r367886)
+++ head/math/xspread/Makefile	Wed Sep 10 20:46:14 2014	(r367887)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xspread
 PORTVERSION=	3.1.1c
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	math
 MASTER_SITES=	http://archive.debian.org/%SUBDIR%/ \
 		http://mirror.safehostnet.com/debian-archive/%SUBDIR%/ \
@@ -52,10 +52,6 @@ do-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/x/notes ${STAGEDIR}${DOCSDIR}
-.for dir in doc documents sample_files tests
-	@${TAR} -C ${WRKSRC} --exclude '*.tmp' -cf - ${dir} | \
-		${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
-.endfor
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "doc documents sample_files tests" ${STAGEDIR}${DOCSDIR} "! -name *.tmp")
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list