aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlbuddy
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-09-11 21:34:14 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-09-11 21:34:14 +0000
commit36461472b50c9bd9407316ca866af55dbc6f71b0 (patch)
tree39a2f6921dd44debc2f40b762f3e2ab4091472e3 /databases/sqlbuddy
parent0477f24e8affa9b58be56bce9ceba4f621250c35 (diff)
downloadports-36461472b50c9bd9407316ca866af55dbc6f71b0.tar.gz
ports-36461472b50c9bd9407316ca866af55dbc6f71b0.zip
Notes
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