aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pear-MDB/Makefile48
-rw-r--r--databases/pear-MDB/distinfo2
-rw-r--r--databases/pear-MDB/pkg-descr9
4 files changed, 60 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 9bfa61ae4d10..7e6ab5ec00ad 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -198,6 +198,7 @@
SUBDIR += p5-sqlrelay
SUBDIR += pear-DB
SUBDIR += pear-DB_Pager
+ SUBDIR += pear-MDB
SUBDIR += pear-sqlite
SUBDIR += pgaccess
SUBDIR += pgadmin3
diff --git a/databases/pear-MDB/Makefile b/databases/pear-MDB/Makefile
new file mode 100644
index 000000000000..204c298e0df0
--- /dev/null
+++ b/databases/pear-MDB/Makefile
@@ -0,0 +1,48 @@
+# Ports collection makefile for: pear-MDB
+# Date created: 2004-05-29
+# Whom: Oleg Sharoiko <os@rsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MDB
+PORTVERSION= 1.3.0
+CATEGORIES= databases www pear
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= PEAR unified API for DB access, based on user meta data
+
+BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+FILES= MDB.php MDB/Common.php MDB/querysim.php MDB/mssql.php \
+ MDB/ibase.php MDB/oci8.php MDB/fbsql.php MDB/mysql.php \
+ MDB/pgsql.php MDB/Date.php MDB/Manager.php \
+ MDB/Parser.php MDB/metabase_wrapper.php \
+ MDB/peardb_wrapper.php \
+ MDB/reverse_engineer_xml_schema.php MDB/Modules/LOB.php \
+ MDB/Modules/Manager/Common.php \
+ MDB/Modules/Manager/mssql.php \
+ MDB/Modules/Manager/ibase.php \
+ MDB/Modules/Manager/oci8.php \
+ MDB/Modules/Manager/fbsql.php \
+ MDB/Modules/Manager/mysql.php \
+ MDB/Modules/Manager/pgsql.php
+DOCS= README MAINTAINERS TODO doc/tutorial.html doc/datatypes.html \
+ doc/xml_schema_documentation.html doc/xml_schema.xsl \
+ doc/skeleton.php doc/Modules_Manager_skeleton.php
+TESTS= README test.php clitest.php testchoose.php \
+ MDB_api_testcase.php MDB_manager_testcase.php \
+ MDB_usage_testcase.php MDB_bugs_testcase.php \
+ HTML_TestListener.php Console_TestListener.php \
+ tests.css testUtils.php test_setup.php.dist \
+ test.schema MDB_test.php MDB_pear_wrapper_test.php \
+ metapear_test_db.schema driver_test_config.php \
+ driver_test.php setup_test.php driver_test.schema \
+ lob_test.schema templates/results.tpl
+_DOCSDIR= .
+_TESTDIR= tests
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/databases/pear-MDB/distinfo b/databases/pear-MDB/distinfo
new file mode 100644
index 000000000000..b3604a6df729
--- /dev/null
+++ b/databases/pear-MDB/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/MDB-1.3.0.tgz) = a5601b6d45ffede24647cd69cf425b85
+SIZE (PEAR/MDB-1.3.0.tgz) = 218957
diff --git a/databases/pear-MDB/pkg-descr b/databases/pear-MDB/pkg-descr
new file mode 100644
index 000000000000..38fc04e2bc2f
--- /dev/null
+++ b/databases/pear-MDB/pkg-descr
@@ -0,0 +1,9 @@
+PEAR MDB is a merge of the PEAR DB and Metabase php database abstraction layers.
+It provides a common API for all support RDBMS. The main difference to most
+other DB abstraction packages is that MDB goes much further to ensure
+portability.
+
+Currently supported RDBMS are MySQL, PostGreSQL, Oracle, Frontbase, Querysim,
+Interbase/Firebird, and MSSQL
+
+WWW: http://pear.php.net/package/MDB