aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pear-MDB_QueryTool
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-03-08 04:31:11 +0800
committerthierry <thierry@FreeBSD.org>2005-03-08 04:31:11 +0800
commit8dacc1d472b9e16e3328c302700d3807206b0660 (patch)
tree700cb68a8510770f53f6c0b32aca2366464b4742 /databases/pear-MDB_QueryTool
parent0e479f14581c95aba480ad11b966f46c16b36c31 (diff)
downloadfreebsd-ports-gnome-8dacc1d472b9e16e3328c302700d3807206b0660.tar.gz
freebsd-ports-gnome-8dacc1d472b9e16e3328c302700d3807206b0660.tar.zst
freebsd-ports-gnome-8dacc1d472b9e16e3328c302700d3807206b0660.zip
Add pear-MDB_QueryTool 1.0.0, PEAR OO-interface for easily
retrieving and modifying data in a DB. PR: 78368 Submitted by: Antônio Carlos Venâncio Júnior
Diffstat (limited to 'databases/pear-MDB_QueryTool')
-rw-r--r--databases/pear-MDB_QueryTool/Makefile43
-rw-r--r--databases/pear-MDB_QueryTool/distinfo2
-rw-r--r--databases/pear-MDB_QueryTool/pkg-descr13
3 files changed, 58 insertions, 0 deletions
diff --git a/databases/pear-MDB_QueryTool/Makefile b/databases/pear-MDB_QueryTool/Makefile
new file mode 100644
index 000000000000..e0e6fb667e3d
--- /dev/null
+++ b/databases/pear-MDB_QueryTool/Makefile
@@ -0,0 +1,43 @@
+# Ports collection makefile for: pear-MDB_QueryTool
+# Date created: 03 March 2005
+# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= MDB_QueryTool
+PORTVERSION= 1.0.0
+CATEGORIES= databases www pear
+
+MAINTAINER= antonio@php.net
+COMMENT= PEAR OO-interface for easily retrieving and modifying data in a DB
+
+BUILD_DEPENDS= ${PEARDIR}/MDB.php:${PORTSDIR}/databases/pear-MDB \
+ ${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= MDB
+FILES= QueryTool.php QueryTool/Query.php QueryTool/EasyJoin.php \
+ QueryTool/Result.php QueryTool/Result/Object.php
+EXAMPLES= example.php mysql.sql pgsql.sql
+TESTS= Common.php index.php Get.php GetAll.php GetCount.php GetQueryString.php \
+ Having.php Limit.php SetDbInstance.php sql.php UnitTest.php Where.php \
+ simpletest_tests/all_tests.php simpletest_tests/db_settings.php \
+ simpletest_tests/index.php simpletest_tests/mdb_querytool_include.php \
+ simpletest_tests/mdb_querytool_test_base.php \
+ simpletest_tests/mdb_querytool_testDbInstance.php \
+ simpletest_tests/mdb_querytool_testGet.php \
+ simpletest_tests/mdb_querytool_testGetAll.php \
+ simpletest_tests/mdb_querytool_testGetCount.php \
+ simpletest_tests/mdb_querytool_testGetQueryString.php \
+ simpletest_tests/mdb_querytool_testHaving.php \
+ simpletest_tests/mdb_querytool_testLimit.php \
+ simpletest_tests/mdb_querytool_tests_get.php \
+ simpletest_tests/mdb_querytool_tests_usage.php \
+ simpletest_tests/mdb_querytool_testWhere.php simpletest_tests/readme.txt \
+ simpletest_tests/simple_include.php
+_EXAMPLESDIR= docs/examples
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/databases/pear-MDB_QueryTool/distinfo b/databases/pear-MDB_QueryTool/distinfo
new file mode 100644
index 000000000000..282dd19ab22c
--- /dev/null
+++ b/databases/pear-MDB_QueryTool/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/MDB_QueryTool-1.0.0.tgz) = 238d5fe63c504228c49875600a87af87
+SIZE (PEAR/MDB_QueryTool-1.0.0.tgz) = 38935
diff --git a/databases/pear-MDB_QueryTool/pkg-descr b/databases/pear-MDB_QueryTool/pkg-descr
new file mode 100644
index 000000000000..1e55919bc711
--- /dev/null
+++ b/databases/pear-MDB_QueryTool/pkg-descr
@@ -0,0 +1,13 @@
+PEAR::MDB_QueryTool is an OO-abstraction to the SQL-Query language, it provides
+methods such as setWhere, setOrder, setGroup, setJoin, etc. to easily build
+queries.
+
+It also provides an easy to learn interface that interacts nicely with
+HTML-forms using arrays that contain the column data, that shall be
+updated/added in a DB. This package bases on an SQL-Builder which lets you
+easily build SQL-Statements and execute them.
+
+NB: this is a PEAR::MDB porting from the original DB_QueryTool written by
+Wolfram Kriesing and Paolo Panto (vision:produktion, wk@visionp.de).
+
+WWW: http://pear.php.net/package/MDB_QueryTool/