diff options
author | nork <nork@FreeBSD.org> | 2003-06-08 14:53:16 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-06-08 14:53:16 +0800 |
commit | 112dd9e66d311a4b98535632d8e2f2294e6a606b (patch) | |
tree | 8d050c99ff66aeff853884baf847f77743f5bf44 /databases | |
parent | 8ddb739c3a1ef0abddc59254706d2e5acdc3e261 (diff) | |
download | freebsd-ports-gnome-112dd9e66d311a4b98535632d8e2f2294e6a606b.tar.gz freebsd-ports-gnome-112dd9e66d311a4b98535632d8e2f2294e6a606b.tar.zst freebsd-ports-gnome-112dd9e66d311a4b98535632d8e2f2294e6a606b.zip |
Add pear-DB 1.4.0, pEAR Database Abstraction Layer.
PR: ports/52596
Submitted by: Thierry Thomas (<thierry@pompo.net>)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/pear-DB/Makefile | 37 | ||||
-rw-r--r-- | databases/pear-DB/distinfo | 1 | ||||
-rw-r--r-- | databases/pear-DB/pkg-descr | 21 | ||||
-rw-r--r-- | databases/pear-DB/pkg-plist | 97 |
5 files changed, 157 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index a4aa7086e9f6..02c2891256b0 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -122,6 +122,7 @@ SUBDIR += p5-hp200lx-db SUBDIR += p5-postgresql-plperl SUBDIR += p5-sqlrelay + SUBDIR += pear-DB SUBDIR += pgaccess SUBDIR += php-sqlrelay SUBDIR += phpmyadmin diff --git a/databases/pear-DB/Makefile b/databases/pear-DB/Makefile new file mode 100644 index 000000000000..8762c74843ad --- /dev/null +++ b/databases/pear-DB/Makefile @@ -0,0 +1,37 @@ +# Ports collection makefile for: pear-DB +# Date created: 28 November 2002 +# Whom: Thierry Thomas (<thierry@pompo.net>) +# +# $FreeBSD$ +# + +PORTNAME= DB +PORTVERSION= 1.4.0 +CATEGORIES= databases www + +MAINTAINER= ports@FreeBSD.org +COMMENT= PEAR Database Abstraction Layer + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" + +MANIFEST= DB DB.php tests +DOCS= IDEAS MAINTAINERS STATUS TESTERS + +do-install: +.for FILE in ${MANIFEST} + @${CP} -Rp ${WRKSRC}/${FILE} ${PEARDIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${FILE} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR} +.endfor + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +.include <bsd.port.post.mk> diff --git a/databases/pear-DB/distinfo b/databases/pear-DB/distinfo new file mode 100644 index 000000000000..ce591aee3899 --- /dev/null +++ b/databases/pear-DB/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/DB-1.4.0.tgz) = 01729b5bfe1dad62393bdd5d15cf55fa diff --git a/databases/pear-DB/pkg-descr b/databases/pear-DB/pkg-descr new file mode 100644 index 000000000000..6558b16c665f --- /dev/null +++ b/databases/pear-DB/pkg-descr @@ -0,0 +1,21 @@ +PEAR::DB is a database abstraction layer providing: +* an OO-style query API +* a DSN (data source name) format for specifying database servers +* prepare/execute (bind) emulation for databases that don't support it natively +* a result object for each query response +* portable error codes +* sequence emulation +* sequential and non sequential row fetching as well as bulk fetching +* ordered array, associative array and object formats supported for the fetched + rows +* row limit support +* transactions support +* table information interface +* DocBook and PHPDoc API documentation + +DB layers itself on top of PHP's existing database extensions. The currently +supported extensions are: dbase, fbsql, interbase, informix, msql, mssql, +mysql, oci8, odbc, pgsql and sybase (DB style interfaces to LDAP servers and +MS ADO (using COM) are also avaible from a separate package). + +WWW: http://pear.php.net/package-info.php?package=DB diff --git a/databases/pear-DB/pkg-plist b/databases/pear-DB/pkg-plist new file mode 100644 index 000000000000..b0e4bf856041 --- /dev/null +++ b/databases/pear-DB/pkg-plist @@ -0,0 +1,97 @@ +%%PEARDIR%%/DB.php +%%PEARDIR%%/DB/common.php +%%PEARDIR%%/DB/dbase.php +%%PEARDIR%%/DB/fbsql.php +%%PEARDIR%%/DB/ibase.php +%%PEARDIR%%/DB/ifx.php +%%PEARDIR%%/DB/msql.php +%%PEARDIR%%/DB/mssql.php +%%PEARDIR%%/DB/mysql.php +%%PEARDIR%%/DB/oci8.php +%%PEARDIR%%/DB/odbc.php +%%PEARDIR%%/DB/pgsql.php +%%PEARDIR%%/DB/storage.php +%%PEARDIR%%/DB/sybase.php +%%PEARDIR%%/tests/db_error.phpt +%%PEARDIR%%/tests/db_error2.phpt +%%PEARDIR%%/tests/db_factory.phpt +%%PEARDIR%%/tests/db_ismanip.phpt +%%PEARDIR%%/tests/db_parsedsn.phpt +%%PEARDIR%%/tests/driver/01connect.phpt +%%PEARDIR%%/tests/driver/02fetch.phpt +%%PEARDIR%%/tests/driver/03simplequery.phpt +%%PEARDIR%%/tests/driver/04numcols.phpt +%%PEARDIR%%/tests/driver/05sequences.phpt +%%PEARDIR%%/tests/driver/06prepexec.phpt +%%PEARDIR%%/tests/driver/08affectedrows.phpt +%%PEARDIR%%/tests/driver/09numrows.phpt +%%PEARDIR%%/tests/driver/10errormap.phpt +%%PEARDIR%%/tests/driver/13limit.phpt +%%PEARDIR%%/tests/driver/14fetchmode_object.phpt +%%PEARDIR%%/tests/driver/15quote.phpt +%%PEARDIR%%/tests/ibase/01connect.phpt +%%PEARDIR%%/tests/ibase/02fetch.phpt +%%PEARDIR%%/tests/ibase/03simplequery.phpt +%%PEARDIR%%/tests/ibase/04numcols.phpt +%%PEARDIR%%/tests/ibase/05sequences.phpt +%%PEARDIR%%/tests/ibase/06prepexec.phpt +%%PEARDIR%%/tests/ibase/10errormap.phpt +%%PEARDIR%%/tests/mysql/01connect.phpt +%%PEARDIR%%/tests/mysql/02fetch.phpt +%%PEARDIR%%/tests/mysql/03simplequery.phpt +%%PEARDIR%%/tests/mysql/04numcols.phpt +%%PEARDIR%%/tests/mysql/05sequences.phpt +%%PEARDIR%%/tests/mysql/06prepexec.phpt +%%PEARDIR%%/tests/mysql/07errornative.phpt +%%PEARDIR%%/tests/mysql/08affectedrows.phpt +%%PEARDIR%%/tests/mysql/09numrows.phpt +%%PEARDIR%%/tests/mysql/10errormap.phpt +%%PEARDIR%%/tests/mysql/12tableinfo.phpt +%%PEARDIR%%/tests/mysql/13limit.phpt +%%PEARDIR%%/tests/mysql/14fetchmode_object.phpt +%%PEARDIR%%/tests/oci8/01connect.phpt +%%PEARDIR%%/tests/oci8/02fetch.phpt +%%PEARDIR%%/tests/oci8/03simplequery.phpt +%%PEARDIR%%/tests/oci8/04numcols.phpt +%%PEARDIR%%/tests/oci8/05sequences.phpt +%%PEARDIR%%/tests/oci8/06prepexec.phpt +%%PEARDIR%%/tests/oci8/07errornative.phpt +%%PEARDIR%%/tests/oci8/08affectedrows.phpt +%%PEARDIR%%/tests/oci8/09numrows.phpt +%%PEARDIR%%/tests/oci8/10errormap.phpt +%%PEARDIR%%/tests/oci8/13limit.phpt +%%PEARDIR%%/tests/odbc/01connect.phpt +%%PEARDIR%%/tests/odbc/02fetch.phpt +%%PEARDIR%%/tests/odbc/03simplequery.phpt +%%PEARDIR%%/tests/odbc/04numcols.phpt +%%PEARDIR%%/tests/odbc/06prepexec.phpt +%%PEARDIR%%/tests/odbc/07errornative.phpt +%%PEARDIR%%/tests/odbc/09numrows.phpt +%%PEARDIR%%/tests/odbc/10errormap.phpt +%%PEARDIR%%/tests/pgsql/01connect.phpt +%%PEARDIR%%/tests/pgsql/02fetch.phpt +%%PEARDIR%%/tests/pgsql/03simplequery.phpt +%%PEARDIR%%/tests/pgsql/04numcols.phpt +%%PEARDIR%%/tests/pgsql/05sequences.phpt +%%PEARDIR%%/tests/pgsql/06prepexec.phpt +%%PEARDIR%%/tests/pgsql/07errornative.phpt +%%PEARDIR%%/tests/pgsql/08affectedrows.phpt +%%PEARDIR%%/tests/pgsql/09numrows.phpt +%%PEARDIR%%/tests/pgsql/10errormap.phpt +%%PEARDIR%%/tests/pgsql/11transact.phpt +%%PEARDIR%%/tests/pgsql/13limit.phpt +%%PEARDIR%%/tests/pgsql/14fetchmode_object.phpt +%%PORTDOCS%%%%DOCSDIR%%/IDEAS +%%PORTDOCS%%%%DOCSDIR%%/MAINTAINERS +%%PORTDOCS%%%%DOCSDIR%%/STATUS +%%PORTDOCS%%%%DOCSDIR%%/TESTERS +%%PKGREGDIR%%/package.xml +@dirrm %%PEARDIR%%/DB +@dirrm %%PEARDIR%%/tests/driver +@dirrm %%PEARDIR%%/tests/ibase +@dirrm %%PEARDIR%%/tests/mysql +@dirrm %%PEARDIR%%/tests/oci8 +@dirrm %%PEARDIR%%/tests/odbc +@dirrm %%PEARDIR%%/tests/pgsql +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@unexec rmdir %D/share/pear/tests 2> /dev/null || true |