diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-12 03:58:43 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-12 03:58:43 +0800 |
commit | fe5b6859f37675a88e9d91239730bc97dea42830 (patch) | |
tree | 6c5996c9c9b6c6aafc5dc836f6a564534075cc1d /www | |
parent | e7c6820ef1deae8b728a4a58162a23ec87b850b4 (diff) | |
download | freebsd-ports-gnome-fe5b6859f37675a88e9d91239730bc97dea42830.tar.gz freebsd-ports-gnome-fe5b6859f37675a88e9d91239730bc97dea42830.tar.zst freebsd-ports-gnome-fe5b6859f37675a88e9d91239730bc97dea42830.zip |
- Allow staging as a regular user
- Bump portrevision as @exec/@unexec were not setting owner on the right files
Diffstat (limited to 'www')
-rw-r--r-- | www/elgg/Makefile | 15 | ||||
-rw-r--r-- | www/elgg/pkg-plist | 4 |
2 files changed, 7 insertions, 12 deletions
diff --git a/www/elgg/Makefile b/www/elgg/Makefile index 2b393122119a..cbaf30b276a4 100644 --- a/www/elgg/Makefile +++ b/www/elgg/Makefile @@ -3,6 +3,7 @@ PORTNAME= elgg PORTVERSION= 1.8.0.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://elgg.org/download/ @@ -15,25 +16,15 @@ USE_PHP= mysql gd json soap dom xml USES= gettext zip NO_BUILD= yes +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message ELGGDATADIR= ${WWWDIR}data -.include <bsd.port.pre.mk> do-install: ${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} ${STAGEDIR}${WWWDIR}' \ - >> ${TMPPLIST} - @${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \ - >> ${TMPPLIST} - @${INSTALL} -d ${STAGEDIR}${ELGGDATADIR} @${CHMOD} 777 ${STAGEDIR}${ELGGDATADIR} - @${ECHO_CMD} '@exec ${CHMOD} 777 ${STAGEDIR}${ELGGDATADIR}' \ - >> ${TMPPLIST} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/elgg/pkg-plist b/www/elgg/pkg-plist index e89b934c5e5a..16fa346c0758 100644 --- a/www/elgg/pkg-plist +++ b/www/elgg/pkg-plist @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/CHANGES.txt %%WWWDIR%%/CODING.txt %%WWWDIR%%/CONTRIBUTORS.txt @@ -2593,3 +2595,5 @@ @dirrm %%WWWDIR%%/views @dirrm %%WWWDIR%%data @dirrm %%WWWDIR%% +@owner root +@group wheel |