aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-03-01 00:21:19 +0800
committermiwi <miwi@FreeBSD.org>2014-03-01 00:21:19 +0800
commit38275af3e14bb4a5e0f41f8e3b9e779b4e4eca96 (patch)
tree0929a86d23fb6a0a6abc010176f5f7067c4caadf /www
parent749d53b68587eb0a4b9b6fc1b6b165879eece584 (diff)
downloadfreebsd-ports-gnome-38275af3e14bb4a5e0f41f8e3b9e779b4e4eca96.tar.gz
freebsd-ports-gnome-38275af3e14bb4a5e0f41f8e3b9e779b4e4eca96.tar.zst
freebsd-ports-gnome-38275af3e14bb4a5e0f41f8e3b9e779b4e4eca96.zip
- Stage support
Diffstat (limited to 'www')
-rw-r--r--www/elgg/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/www/elgg/Makefile b/www/elgg/Makefile
index bd0509027bba..c808e80c8d31 100644
--- a/www/elgg/Makefile
+++ b/www/elgg/Makefile
@@ -19,24 +19,22 @@ NO_BUILD= yes
SUB_FILES= pkg-message
ELGGDATADIR= ${WWWDIR}data
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${CHMOD} -R 755 ${WWWDIR}
+ ${MKDIR} ${STAGEDIR}${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
post-install:
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
+ @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
>> ${TMPPLIST}
- @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
+ @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
>> ${TMPPLIST}
- @${INSTALL} -d ${ELGGDATADIR}
- @${CHMOD} 777 ${ELGGDATADIR}
- @${ECHO_CMD} '@exec ${CHMOD} 777 ${ELGGDATADIR}' \
+ @${INSTALL} -d${STAGEDIR} ${ELGGDATADIR}
+ @${CHMOD} 777 ${STAGEDIR}${ELGGDATADIR}
+ @${ECHO_CMD} '@exec ${CHMOD} 777 ${STAGEDIR}${ELGGDATADIR}' \
>> ${TMPPLIST}
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.post.mk>