aboutsummaryrefslogtreecommitdiffstats
path: root/www/crp
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-10-11 05:19:58 +0800
committerantoine <antoine@FreeBSD.org>2014-10-11 05:19:58 +0800
commit6a89b9dec33c3ccd6231f79ff6bc1cd599dd55b6 (patch)
tree8b332acad5e11ab6fee4258d6f6fe6054b791174 /www/crp
parent0f929003f1cfe347a7ad7a64ad3c2d4bb7ff0b35 (diff)
downloadfreebsd-ports-gnome-6a89b9dec33c3ccd6231f79ff6bc1cd599dd55b6.tar.gz
freebsd-ports-gnome-6a89b9dec33c3ccd6231f79ff6bc1cd599dd55b6.tar.zst
freebsd-ports-gnome-6a89b9dec33c3ccd6231f79ff6bc1cd599dd55b6.zip
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
Diffstat (limited to 'www/crp')
-rw-r--r--www/crp/Makefile3
-rw-r--r--www/crp/pkg-plist44
2 files changed, 26 insertions, 21 deletions
diff --git a/www/crp/Makefile b/www/crp/Makefile
index 7227bd80d8fc..09b67b3daee0 100644
--- a/www/crp/Makefile
+++ b/www/crp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= crp
PORTVERSION= 20031012
+PORTREVISION= 1
CATEGORIES= www science
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Oct-12-2003
DISTNAME= CRP
@@ -14,6 +15,7 @@ COMMENT= Automates the process of being the program chair of a conference
USE_PHP= yes
WANT_PHP_WEB= yes
NO_BUILD= yes
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SPOOLDIR?= /var/spool/conference
@@ -28,6 +30,5 @@ do-install:
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
@${SED} -e 's#/var/www/html#${WWWDIR}#' \
${WRKSRC}/Code/confHeader.inc > ${STAGEDIR}${WWWDIR}/Code/confHeader.inc
- @${CHOWN} -R ${WWWOWN}:${WWWGROUP} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${SPOOLDIR}
.include <bsd.port.mk>
diff --git a/www/crp/pkg-plist b/www/crp/pkg-plist
index 8b9d3f3943fe..124d61deb65f 100644
--- a/www/crp/pkg-plist
+++ b/www/crp/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
%%WWWDIR%%/.htaccess
%%WWWDIR%%/All/ImportantDates.php
%%WWWDIR%%/All/Logout.php
@@ -218,23 +220,25 @@
%%WWWDIR%%/themes/modular-with-arial-fonts/modvbtn.gif
%%WWWDIR%%/themes/modular-with-arial-fonts/modvsel.gif
%%WWWDIR%%/themes/modular-with-arial-fonts/theme.css
-@dirrm %%WWWDIR%%/themes/modular-with-arial-fonts
-@dirrm %%WWWDIR%%/themes
-@dirrm %%WWWDIR%%/images
-@dirrm %%WWWDIR%%/_vti_cnf
-@dirrm %%WWWDIR%%/Reviewer/_vti_cnf
-@dirrm %%WWWDIR%%/Reviewer
-@dirrm %%WWWDIR%%/PC/_vti_cnf
-@dirrm %%WWWDIR%%/PC/SkiDeal_files/_vti_cnf
-@dirrm %%WWWDIR%%/PC/SkiDeal_files
-@dirrm %%WWWDIR%%/PC
-@dirrm %%WWWDIR%%/Download
-@dirrm %%WWWDIR%%/Code/PEAR-DB
-@dirrm %%WWWDIR%%/Code
-@dirrm %%WWWDIR%%/Chair
-@dirrm %%WWWDIR%%/Author
-@dirrm %%WWWDIR%%/Assistant/_vti_cnf
-@dirrm %%WWWDIR%%/Assistant
-@dirrm %%WWWDIR%%/All
-@dirrm %%WWWDIR%%
-@dirrmtry /var/spool/conference
+@dir %%WWWDIR%%/themes/modular-with-arial-fonts
+@dir %%WWWDIR%%/themes
+@dir %%WWWDIR%%/images
+@dir %%WWWDIR%%/_vti_cnf
+@dir %%WWWDIR%%/Reviewer/_vti_cnf
+@dir %%WWWDIR%%/Reviewer
+@dir %%WWWDIR%%/PC/_vti_cnf
+@dir %%WWWDIR%%/PC/SkiDeal_files/_vti_cnf
+@dir %%WWWDIR%%/PC/SkiDeal_files
+@dir %%WWWDIR%%/PC
+@dir %%WWWDIR%%/Download
+@dir %%WWWDIR%%/Code/PEAR-DB
+@dir %%WWWDIR%%/Code
+@dir %%WWWDIR%%/Chair
+@dir %%WWWDIR%%/Author
+@dir %%WWWDIR%%/Assistant/_vti_cnf
+@dir %%WWWDIR%%/Assistant
+@dir %%WWWDIR%%/All
+@dir %%WWWDIR%%
+@dir /var/spool/conference
+@owner
+@group