Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 16:59:23 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342775 - head/www/eventum
Message-ID:  <201402051659.s15GxNZU038621@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



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