diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-13 13:25:42 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-09-13 13:25:42 +0000 |
commit | d770485073d2d3f8f2c52c5a7a09caf2621918d3 (patch) | |
tree | baba61178906bb67dd3bc5fd8751e41b5cf2fef8 /www/eventum | |
parent | a70cef44144613a2d048a8b49be1c97c0fe37cf2 (diff) |
Notes
Diffstat (limited to 'www/eventum')
-rw-r--r-- | www/eventum/Makefile | 3 | ||||
-rw-r--r-- | www/eventum/pkg-plist | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/www/eventum/Makefile b/www/eventum/Makefile index d05133417884..ffd5afc277e0 100644 --- a/www/eventum/Makefile +++ b/www/eventum/Makefile @@ -3,6 +3,7 @@ PORTNAME= eventum PORTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MYSQL} MASTER_SITE_SUBDIR= eventum @@ -13,6 +14,7 @@ COMMENT= Eventum issue tracking system NO_BUILD= YES USE_PHP= pcre session mysql gd gettext WANT_PHP_WEB= YES +PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" pre-install: @${MV} ${WRKSRC}/setup/config.php ${WRKSRC}/setup/config.php-dist @@ -25,7 +27,6 @@ post-patch: do-install: -${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 ${STAGEDIR}${WWWDIR}/setup/config.php ]; then \ diff --git a/www/eventum/pkg-plist b/www/eventum/pkg-plist index 1a7bb4da96a8..3f206b6d2982 100644 --- a/www/eventum/pkg-plist +++ b/www/eventum/pkg-plist @@ -1,3 +1,5 @@ +@owner %%WWWOWN%% +@group %%WWWGRP%% %%WWWDIR%%/CONTRIB %%WWWDIR%%/COPYING %%WWWDIR%%/ChangeLog @@ -857,3 +859,5 @@ @dirrm %%WWWDIR%%/css @dirrmtry %%WWWDIR%%/config @dirrmtry %%WWWDIR%% +@owner root +@group wheel |