aboutsummaryrefslogtreecommitdiffstats
path: root/databases/sqlbuddy
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-09-26 17:08:05 +0800
committermiwi <miwi@FreeBSD.org>2008-09-26 17:08:05 +0800
commit4e5916fcc2b21816b5bcb0b577c2dd6bec912035 (patch)
treed753905010a4950fb207086a1a526d6d186d8477 /databases/sqlbuddy
parentd42394c7e6f4f6f81868bf289bbacdcc055ffa87 (diff)
downloadfreebsd-ports-gnome-4e5916fcc2b21816b5bcb0b577c2dd6bec912035.tar.gz
freebsd-ports-gnome-4e5916fcc2b21816b5bcb0b577c2dd6bec912035.tar.zst
freebsd-ports-gnome-4e5916fcc2b21816b5bcb0b577c2dd6bec912035.zip
- Update to 1.3.0
PR: 127311 Submitted by: Chenguang LI <horus.li@gmail.com> (maintainer)
Diffstat (limited to 'databases/sqlbuddy')
-rw-r--r--databases/sqlbuddy/Makefile24
-rw-r--r--databases/sqlbuddy/distinfo6
-rw-r--r--databases/sqlbuddy/files/pkg-message.in2
-rw-r--r--databases/sqlbuddy/pkg-plist25
4 files changed, 42 insertions, 15 deletions
diff --git a/databases/sqlbuddy/Makefile b/databases/sqlbuddy/Makefile
index dda1297fd9cd..d3068d1a209b 100644
--- a/databases/sqlbuddy/Makefile
+++ b/databases/sqlbuddy/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= sqlbuddy
-PORTVERSION= 1.2.9
+PORTVERSION= 1.3.0
CATEGORIES= databases www
MASTER_SITES= http://www.sqlbuddy.com/download/
-DISTNAME= ${PORTNAME}
+DISTNAME= ${PORTNAME}_1_3_0
MAINTAINER= horus.li@gmail.com
COMMENT= Web based MySQL administration with a set of PHP scripts
@@ -17,20 +17,32 @@ COMMENT= Web based MySQL administration with a set of PHP scripts
USE_ZIP= yes
NO_BUILD= yes
-USE_PHP= ctype mysql pcre session
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_PHP= ctype pcre session
WANT_PHP_WEB= yes
+OPTIONS+= MYSQL "MySQL support" on \
+ SQLITE "SQLite support" off
+
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
+.if defined(WITH_MYSQL)
+USE_PHP+= mysql
+.endif
+.if defined(WITH_SQLITE)
+USE_PHP+= sqlite
+.endif
+
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "NOTE:"
- @${ECHO_MSG} "This port suppose you have already installed MySQL, "
+ @${ECHO_MSG} "This port suppose you have already installed one or both of these databases supported, "
@${ECHO_MSG} "and you want to use SQL Buddy to manage the server."
- @${ECHO_MSG} "If you are planning to install MySQL on this machine later, "
- @${ECHO_MSG} "you can find it at ${PORTSDIR}/databases."
+ @${ECHO_MSG} "If you are planning to install it/them on this machine later, "
+ @${ECHO_MSG} "you can find it/them at ${PORTSDIR}/databases."
@${ECHO_MSG} ""
do-install:
diff --git a/databases/sqlbuddy/distinfo b/databases/sqlbuddy/distinfo
index 27ab7682b6d1..beaa3a8aa824 100644
--- a/databases/sqlbuddy/distinfo
+++ b/databases/sqlbuddy/distinfo
@@ -1,3 +1,3 @@
-MD5 (sqlbuddy.zip) = 17f42033a1855ed710ef23ed045d45e1
-SHA256 (sqlbuddy.zip) = c94f59092a7fbc78a5a1ba838b0fadc02c0220f71ed823fd0a5fc80dae65023d
-SIZE (sqlbuddy.zip) = 171454
+MD5 (sqlbuddy_1_3_0.zip) = 46f55698631b8a4c998ccf7ee1315514
+SHA256 (sqlbuddy_1_3_0.zip) = 443d6859c1eb7703338026c4216221e270728c520c7f7c3b613ce69c905ac9d1
+SIZE (sqlbuddy_1_3_0.zip) = 254791
diff --git a/databases/sqlbuddy/files/pkg-message.in b/databases/sqlbuddy/files/pkg-message.in
index ab9896c595b4..6dc4bc0f41e4 100644
--- a/databases/sqlbuddy/files/pkg-message.in
+++ b/databases/sqlbuddy/files/pkg-message.in
@@ -7,7 +7,7 @@ The configuration file is placed at:
Edit it to suit your needs. Add the following
line to your httpd.conf for apache:
- Alias /${PORTNAME} "%%WWWDIR%%"
+ Alias /sqlbuddy/ "%%WWWDIR%%"
Open the login page and start using SQL Buddy.
diff --git a/databases/sqlbuddy/pkg-plist b/databases/sqlbuddy/pkg-plist
index 6170319a319c..63112fd63e45 100644
--- a/databases/sqlbuddy/pkg-plist
+++ b/databases/sqlbuddy/pkg-plist
@@ -11,6 +11,7 @@
%%WWWDIR%%/config.php
%%WWWDIR%%/css/common.css
%%WWWDIR%%/css/navigation.css
+%%WWWDIR%%/css/print.css
%%WWWDIR%%/dboverview.php
%%WWWDIR%%/edit.php
%%WWWDIR%%/editcolumn.php
@@ -47,32 +48,45 @@
%%WWWDIR%%/images/window-shadow-right.png
%%WWWDIR%%/import.php
%%WWWDIR%%/includes/browse.php
-%%WWWDIR%%/includes/gettextreader.php
+%%WWWDIR%%/includes/class/GetTextReader.php
+%%WWWDIR%%/includes/class/Sql-php4.php
+%%WWWDIR%%/includes/class/Sql.php
%%WWWDIR%%/includes/types.php
%%WWWDIR%%/index.php
%%WWWDIR%%/insert.php
-%%WWWDIR%%/js/animation.js
-%%WWWDIR%%/js/columnsize.js
%%WWWDIR%%/js/core.js
-%%WWWDIR%%/js/drag.js
%%WWWDIR%%/js/helpers.js
%%WWWDIR%%/js/mootools-1.2-core.js
-%%WWWDIR%%/js/resize.js
+%%WWWDIR%%/js/movement.js
+%%WWWDIR%%/locale/ca_AD.pot
+%%WWWDIR%%/locale/cs_CZ.pot
%%WWWDIR%%/locale/de_DE.pot
%%WWWDIR%%/locale/en_US.pot
+%%WWWDIR%%/locale/es_AR.pot
%%WWWDIR%%/locale/es_ES.pot
+%%WWWDIR%%/locale/fi_FI.pot
+%%WWWDIR%%/locale/fr_FR.pot
+%%WWWDIR%%/locale/hu_HU.pot
%%WWWDIR%%/locale/it_IT.pot
+%%WWWDIR%%/locale/ja_JP.pot
+%%WWWDIR%%/locale/lo_LA.pot
%%WWWDIR%%/locale/nl_NL.pot
%%WWWDIR%%/locale/pl_PL.pot
%%WWWDIR%%/locale/pt_BR.pot
+%%WWWDIR%%/locale/pt_PT.pot
+%%WWWDIR%%/locale/ro_RO.pot
%%WWWDIR%%/locale/ru_RU.pot
+%%WWWDIR%%/locale/sk_SK.pot
+%%WWWDIR%%/locale/sl_SI.pot
%%WWWDIR%%/locale/sv_SE.pot
%%WWWDIR%%/locale/tl_PH.pot
+%%WWWDIR%%/locale/tr_TR.pot
%%WWWDIR%%/locale/zh_CN.pot
%%WWWDIR%%/locale/zh_TW.pot
%%WWWDIR%%/login.php
%%WWWDIR%%/logout.php
%%WWWDIR%%/query.php
+%%WWWDIR%%/serve.php
%%WWWDIR%%/structure.php
%%WWWDIR%%/themes/bittersweet/css/ie.css
%%WWWDIR%%/themes/bittersweet/css/main.css
@@ -96,6 +110,7 @@
@dirrm %%WWWDIR%%/themes
@dirrm %%WWWDIR%%/locale
@dirrm %%WWWDIR%%/js
+@dirrm %%WWWDIR%%/includes/class
@dirrm %%WWWDIR%%/includes
@dirrm %%WWWDIR%%/images
@dirrm %%WWWDIR%%/exports