aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-08-23 20:59:39 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-08-23 20:59:39 +0000
commit29c549ca7a6d2a30e1284bbf7b031301f44b356e (patch)
treebe28092ea2364b82cb0ba4272f5ab7c868e1d402 /databases
parente5f8c5eea9fb633948a5abf3ef7fe2df1f25f664 (diff)
downloadports-29c549ca7a6d2a30e1284bbf7b031301f44b356e.tar.gz
ports-29c549ca7a6d2a30e1284bbf7b031301f44b356e.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pear-DB_DataObject/Makefile27
-rw-r--r--databases/pear-DB_DataObject/distinfo2
-rw-r--r--databases/pear-DB_DataObject/pkg-descr9
4 files changed, 39 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 2d8d2db9c7fa..1ccf7ce46605 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -200,6 +200,7 @@
SUBDIR += p5-postgresql-plperl
SUBDIR += p5-sqlrelay
SUBDIR += pear-DB
+ SUBDIR += pear-DB_DataObject
SUBDIR += pear-DB_Pager
SUBDIR += pear-MDB
SUBDIR += pear-sqlite
diff --git a/databases/pear-DB_DataObject/Makefile b/databases/pear-DB_DataObject/Makefile
new file mode 100644
index 000000000000..f80a652766c2
--- /dev/null
+++ b/databases/pear-DB_DataObject/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: pear-DB_DataObject
+# Date created: 23 August 2004
+# Whom: Antonio Carlos Venancio Junior (<antonio@php.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= DB_DataObject
+PORTVERSION= 1.7.1
+CATEGORIES= databases www pear
+
+MAINTAINER= antonio@php.net
+COMMENT= An SQL Builder, Object Interface to Database Tables
+
+BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
+ ${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+CATEGORY= DB
+FILES= DataObject.php DataObject/Cast.php DataObject/Error.php \
+ DataObject/Generator.php DataObject/createTables.php
+
+DOCS= example.ini
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/databases/pear-DB_DataObject/distinfo b/databases/pear-DB_DataObject/distinfo
new file mode 100644
index 000000000000..f5c920632fc6
--- /dev/null
+++ b/databases/pear-DB_DataObject/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/DB_DataObject-1.7.1.tgz) = 555cc6425c85952221e0237963d3296f
+SIZE (PEAR/DB_DataObject-1.7.1.tgz) = 44629
diff --git a/databases/pear-DB_DataObject/pkg-descr b/databases/pear-DB_DataObject/pkg-descr
new file mode 100644
index 000000000000..bc4da30923ea
--- /dev/null
+++ b/databases/pear-DB_DataObject/pkg-descr
@@ -0,0 +1,9 @@
+PEAR::DB_DataObject performs 2 tasks:
+1. Builds SQL statements based on the objects vars and the buiLder methods.
+2. acts as a datastore for a table row.
+
+The core class is designed to be extended for each of your tables so that you
+ put the data logic inside the data classes.
+Included is a Generator to make your configuration files and your base classes.
+
+WWW: http://pear.php.net/package/DB_DataObject