aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-19 21:12:25 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-19 21:12:25 +0000
commit9041a3e45028fc49bb2c77904b63c35400d2ddc8 (patch)
tree4daade2b8bea8a840f2645a7e2750e13054ed07e /www
parent0fe818c85fe0e59ccf7e035a132020ad9b091425 (diff)
downloadports-9041a3e45028fc49bb2c77904b63c35400d2ddc8.tar.gz
ports-9041a3e45028fc49bb2c77904b63c35400d2ddc8.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/serendipity/Makefile3
-rw-r--r--www/serendipity/pkg-plist4
2 files changed, 6 insertions, 1 deletions
diff --git a/www/serendipity/Makefile b/www/serendipity/Makefile
index 26152cf4af92..2c50a1348372 100644
--- a/www/serendipity/Makefile
+++ b/www/serendipity/Makefile
@@ -3,6 +3,7 @@
PORTNAME= serendipity
PORTVERSION= 1.7.8
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF/php-blog/${PORTNAME}/${PORTVERSION}
@@ -15,6 +16,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= YES
SERENDIPITY?= www/${PORTNAME}
#PLIST_SUB+= SERENDIPITY=${SERENDIPITY}
+PLIST_SUB+= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
USE_PHP= session pcre gd openssl mbstring iconv zlib xml
#SUB_LIST+= SERENDIPITY=${SERENDIPITY}
SUB_FILES= pkg-message
@@ -45,6 +47,5 @@ do-install:
@-${MKDIR} ${STAGEDIR}${PREFIX}/${SERENDIPITY}
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${SERENDIPITY}
@(cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${PREFIX}/${SERENDIPITY}/ )
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${SERENDIPITY}
.include <bsd.port.mk>
diff --git a/www/serendipity/pkg-plist b/www/serendipity/pkg-plist
index 9843375070d0..a7116aa61133 100644
--- a/www/serendipity/pkg-plist
+++ b/www/serendipity/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
%%WWWDIR%%/README.markdown
%%WWWDIR%%/bundled-libs/.current_version
%%WWWDIR%%/bundled-libs/Cache/BUNDLE_NOTICE
@@ -3391,3 +3393,5 @@
@dirrmtry %%WWWDIR%%/templates_c
@dirrmtry %%WWWDIR%%/uploads
@dirrmtry %%WWWDIR%%
+@owner root
+@group wheel