aboutsummaryrefslogtreecommitdiff
path: root/www/eventum
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-05 16:59:23 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-05 16:59:23 +0000
commit5098d56864ebc0b290376deae08277b364ba5868 (patch)
tree886bf136dee603b9bacd4a28c1ebb747f8822c3b /www/eventum
parentc8b26370c5fc04df512238f0b634e1083877dfeb (diff)
downloadports-5098d56864ebc0b290376deae08277b364ba5868.tar.gz
ports-5098d56864ebc0b290376deae08277b364ba5868.zip
Notes
Diffstat (limited to 'www/eventum')
-rw-r--r--www/eventum/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/www/eventum/Makefile b/www/eventum/Makefile
index 613f4fa60893..d05133417884 100644
--- a/www/eventum/Makefile
+++ b/www/eventum/Makefile
@@ -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>