aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlbuddy
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlbuddy')
-rw-r--r--databases/sqlbuddy/Makefile4
-rw-r--r--databases/sqlbuddy/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/databases/sqlbuddy/Makefile b/databases/sqlbuddy/Makefile
index f738c5450b28..b05ef4cdc930 100644
--- a/databases/sqlbuddy/Makefile
+++ b/databases/sqlbuddy/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sqlbuddy
PORTVERSION= 1.3.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases www
MASTER_SITES= http://www.sqlbuddy.com/download/
DISTNAME= ${PORTNAME}_1_3_3
@@ -19,6 +19,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PHP= ctype pcre session mysql
WANT_PHP_WEB= yes
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
pre-everything::
@@ -35,6 +36,5 @@ do-install:
@${ECHO_MSG} "Installing SQL Buddy under ${WWWDIR}/"
@${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${CP} -R * ${STAGEDIR}${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>
diff --git a/databases/sqlbuddy/pkg-plist b/databases/sqlbuddy/pkg-plist
index 0577d6d79e59..b14b6d246e88 100644
--- a/databases/sqlbuddy/pkg-plist
+++ b/databases/sqlbuddy/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
%%WWWDIR%%/LICENSE
%%WWWDIR%%/README
%%WWWDIR%%/ajaxcreatetable.php
@@ -139,3 +141,5 @@
@dirrm %%WWWDIR%%/exports
@dirrm %%WWWDIR%%/css
@dirrmtry %%WWWDIR%%
+@owner root
+@group wheel