svn commit: r367964 - head/devel/itext

Antoine Brodin antoine at FreeBSD.org
Thu Sep 11 19:22:48 UTC 2014


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>


More information about the svn-ports-head mailing list