Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 19:22:47 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367964 - head/devel/itext
Message-ID:  <201409111922.s8BJMlS2006320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Sep 11 19:22:47 2014
New Revision: 367964
URL: http://svnweb.freebsd.org/changeset/ports/367964
QAT: https://qat.redports.org/buildarchive/r367964/

Log:
  Allow staging as a regular user

Modified:
  head/devel/itext/Makefile

Modified: head/devel/itext/Makefile
==============================================================================
--- head/devel/itext/Makefile	Thu Sep 11 19:18:02 2014	(r367963)
+++ head/devel/itext/Makefile	Thu Sep 11 19:22:47 2014	(r367964)
@@ -55,8 +55,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/bin/
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs
-	@${CP} -R ${WRKDIR}/build/docs/* ${STAGEDIR}${DOCSDIR}/apidocs
-	@${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/apidocs
+	(cd ${WRKDIR}/build/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidocs)
 .endif
 
 .include <bsd.port.mk>



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