svn commit: r342775 - head/www/eventum

Martin Wilke miwi at FreeBSD.org
Wed Feb 5 16:59:24 UTC 2014


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>


More information about the svn-ports-all mailing list