aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-10 21:19:58 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-10 21:19:58 +0000
commita72607c7b8163f3f6afeb054b505f8799fb5d9ae (patch)
tree8b332acad5e11ab6fee4258d6f6fe6054b791174 /www
parent0a3e78eb8c4c97a6dbe79a7c71d12ee51326f2e5 (diff)
downloadports-a72607c7b8163f3f6afeb054b505f8799fb5d9ae.tar.gz
ports-a72607c7b8163f3f6afeb054b505f8799fb5d9ae.zip
Notes
Diffstat (limited to 'www')
-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