diff options
author | antoine <antoine@FreeBSD.org> | 2014-09-09 03:32:59 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-09-09 03:32:59 +0800 |
commit | 117af7d9342c46485b5aa5da6aaed29a3ec9e6b7 (patch) | |
tree | 6c79be3c7e6faa83337a02af285a2326f20be493 /www | |
parent | 52695da1d928df28da29c06988fa35038c1ef576 (diff) | |
download | freebsd-ports-gnome-117af7d9342c46485b5aa5da6aaed29a3ec9e6b7.tar.gz freebsd-ports-gnome-117af7d9342c46485b5aa5da6aaed29a3ec9e6b7.tar.zst freebsd-ports-gnome-117af7d9342c46485b5aa5da6aaed29a3ec9e6b7.zip |
Allow staging as a regular user
Diffstat (limited to 'www')
-rw-r--r-- | www/ismail/Makefile | 2 | ||||
-rw-r--r-- | www/ismail/pkg-plist | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/www/ismail/Makefile b/www/ismail/Makefile index a95527dde9d3..9094079033f8 100644 --- a/www/ismail/Makefile +++ b/www/ismail/Makefile @@ -17,6 +17,7 @@ USES= tar:bzip2 USE_PHP= imap WANT_PHP_WEB= yes +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS @@ -49,7 +50,6 @@ pre-install: do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} ${TAR} --exclude '*~' -C ${WRKSRC}/${PORTNAME} -cf - . | ${TAR} -C ${STAGEDIR}${WWWDIR} -xf - - @${CHOWN} -R www:www ${STAGEDIR}${WWWDIR} .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs.html ${STAGEDIR}${DOCSDIR} diff --git a/www/ismail/pkg-plist b/www/ismail/pkg-plist index 0e793e9c7c61..f87d566709f1 100644 --- a/www/ismail/pkg-plist +++ b/www/ismail/pkg-plist @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/addressbook.php %%WWWDIR%%/addressbookdecrypt.php %%WWWDIR%%/addressbookentry.php @@ -138,7 +140,6 @@ %%WWWDIR%%/viewmailheader.php %%WWWDIR%%/xtree/xtree-css.php %%WWWDIR%%/xtree/xtree.php -%%PORTDOCS%%%%DOCSDIR%%/docs.html @dirrm %%WWWDIR%%/include/datastores @dirrm %%WWWDIR%%/include @dirrm %%WWWDIR%%/locale/cs_CZ/LC_MESSAGES @@ -158,4 +159,7 @@ @dirrm %%WWWDIR%%/themes @dirrm %%WWWDIR%%/xtree @dirrm %%WWWDIR%% +@owner root +@group wheel +%%PORTDOCS%%%%DOCSDIR%%/docs.html %%PORTDOCS%%@dirrm %%DOCSDIR%% |