From owner-svn-ports-head@FreeBSD.ORG Wed Feb 5 16:59:24 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 2D4B8C5E; Wed, 5 Feb 2014 16:59:24 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 194EA1F6D; Wed, 5 Feb 2014 16:59:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15GxN5g038622; Wed, 5 Feb 2014 16:59:23 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15GxNZU038621; Wed, 5 Feb 2014 16:59:23 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201402051659.s15GxNZU038621@svn.freebsd.org> From: Martin Wilke Date: Wed, 5 Feb 2014 16:59:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342775 - head/www/eventum 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.17 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: Wed, 05 Feb 2014 16:59:24 -0000 Author: miwi Date: Wed Feb 5 16:59:23 2014 New Revision: 342775 URL: http://svnweb.freebsd.org/changeset/ports/342775 QAT: https://qat.redports.org/buildarchive/r342775/ Log: - Stage support Modified: head/www/eventum/Makefile Modified: head/www/eventum/Makefile ============================================================================== --- head/www/eventum/Makefile Wed Feb 5 16:58:56 2014 (r342774) +++ head/www/eventum/Makefile Wed Feb 5 16:59:23 2014 (r342775) @@ -14,7 +14,6 @@ NO_BUILD= YES USE_PHP= pcre session mysql gd gettext WANT_PHP_WEB= YES -NO_STAGE= yes pre-install: @${MV} ${WRKSRC}/setup/config.php ${WRKSRC}/setup/config.php-dist @@ -24,13 +23,13 @@ post-patch: @${RM} ${WRKSRC}/misc/monitor.php.* do-install: - -${MKDIR} ${WWWDIR} - @cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + -${MKDIR} ${STAGEDIR}${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 @${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - @if [ ! -f ${WWWDIR}/setup/config.php ]; then \ - ${CP} -p ${WWWDIR}/setup/config.php-dist ${WWWDIR}/setup/config.php ; \ + @if [ ! -f ${STAGEDIR}${WWWDIR}/setup/config.php ]; then \ + ${CP} -p ${STAGEDIR}${WWWDIR}/setup/config.php-dist ${STAGEDIR}${WWWDIR}/setup/config.php ; \ fi .include