Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 19:35:48 +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: r367686 - head/www/py-HTMLgen
Message-ID:  <201409081935.s88JZm8k051154@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Sep  8 19:35:47 2014
New Revision: 367686
URL: http://svnweb.freebsd.org/changeset/ports/367686
QAT: https://qat.redports.org/buildarchive/r367686/

Log:
  - Allow staging as a regular user
  - USES=python

Modified:
  head/www/py-HTMLgen/Makefile

Modified: head/www/py-HTMLgen/Makefile
==============================================================================
--- head/www/py-HTMLgen/Makefile	Mon Sep  8 19:32:59 2014	(r367685)
+++ head/www/py-HTMLgen/Makefile	Mon Sep  8 19:35:47 2014	(r367686)
@@ -14,7 +14,7 @@ DISTNAME=	HTMLgen
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Python library for the generation of HTML documents
 
-USE_PYTHON=	2
+USES=		python:2
 NO_BUILD=	yes
 
 OPTIONS_DEFINE=	DOCS
@@ -26,10 +26,6 @@ post-patch:
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@${TAR} -C ${WRKSRC} -cf - README html image | \
-		${TAR} -C ${STAGEDIR}${DOCSDIR} -xvf -
-	@${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
-	@${FIND} ${STAGEDIR}${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
-	@${FIND} ${STAGEDIR}${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "README html image" ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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