From owner-svn-ports-all@FreeBSD.ORG Tue Jun 3 05:04:49 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34BDBA6A; Tue, 3 Jun 2014 05:04:49 +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 2323B2B54; Tue, 3 Jun 2014 05:04:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5354npH044680; Tue, 3 Jun 2014 05:04:49 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5354mQN044679; Tue, 3 Jun 2014 05:04:48 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406030504.s5354mQN044679@svn.freebsd.org> From: Martin Wilke Date: Tue, 3 Jun 2014 05:04:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356284 - head/www/phpwebapp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2014 05:04:49 -0000 Author: miwi Date: Tue Jun 3 05:04:48 2014 New Revision: 356284 URL: http://svnweb.freebsd.org/changeset/ports/356284 QAT: https://qat.redports.org/buildarchive/r356284/ Log: - Stage support PR: 90320 Modified: head/www/phpwebapp/Makefile Modified: head/www/phpwebapp/Makefile ============================================================================== --- head/www/phpwebapp/Makefile Tue Jun 3 05:03:38 2014 (r356283) +++ head/www/phpwebapp/Makefile Tue Jun 3 05:04:48 2014 (r356284) @@ -14,14 +14,13 @@ WANT_PHP_WEB= yes NO_BUILD= yes PHPWEBAPP?= ${PREFIX}/www/data/web_app -NO_STAGE= yes do-install: - ${MKDIR} -p ${PREFIX}/www/data - ${CP} -R ${WRKSRC}/web_app/ ${PHPWEBAPP} - @${FIND} ${PHPWEBAPP} ! -type d | \ - ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${PHPWEBAPP} -type d | ${SORT} -r | \ - ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} + ${MKDIR} -p ${STAGEDIR}${PREFIX}/www/data + ${CP} -R ${WRKSRC}/web_app/ ${STAGEDIR}${PHPWEBAPP} + @${FIND} ${STAGEDIR}${PHPWEBAPP} ! -type d | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${STAGEDIR}${PHPWEBAPP} -type d | ${SORT} -r | \ + ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} @${ECHO_CMD} "@unexec rmdir %D/www/data 2>/dev/null || true" >> ${TMPPLIST} .include