From owner-svn-ports-head@FreeBSD.ORG Mon Sep 8 19:35:48 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 979A49CB; Mon, 8 Sep 2014 19:35:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8338C1F3A; Mon, 8 Sep 2014 19:35:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s88JZmmC051155; Mon, 8 Sep 2014 19:35:48 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s88JZm8k051154; Mon, 8 Sep 2014 19:35:48 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409081935.s88JZm8k051154@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 8 Sep 2014 19:35:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367686 - head/www/py-HTMLgen X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2014 19:35:48 -0000 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