summaryrefslogtreecommitdiff
path: root/databases/pear-DB_Table
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-03-14 20:15:54 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-03-14 20:15:54 +0000
commita09bb6e18f85d4e08d5acd89a983bc925c0bf689 (patch)
tree674b98a99d7c641bfe9be49d056f6ec8a362b867 /databases/pear-DB_Table
parent- Remove BARRIER to show advertise of WITH_PRESERVE_CONFIG_FILES option (diff)
New port: databases/pear-DB_Table PEAR object-oriented interface to a database table
PEAR::DB_Table builds on PEAR DB to abstract datatypes and automate table creation, data validation, insert, update, delete, and select; combines these with PEAR::HTML_QuickForm to automatically generate input forms that match the table column definitions. PR: ports/78588 Submitted by: Antonio Carlos Venancio Junior <antonio@php.net>
Notes
Notes: svn path=/head/; revision=131242
Diffstat (limited to 'databases/pear-DB_Table')
-rw-r--r--databases/pear-DB_Table/Makefile44
-rw-r--r--databases/pear-DB_Table/distinfo2
-rw-r--r--databases/pear-DB_Table/pkg-descr6
3 files changed, 52 insertions, 0 deletions
diff --git a/databases/pear-DB_Table/Makefile b/databases/pear-DB_Table/Makefile
new file mode 100644
index 000000000000..30f6569ce99a
--- /dev/null
+++ b/databases/pear-DB_Table/Makefile
@@ -0,0 +1,44 @@
+# Ports collection makefile for: pear-DB_Table
+# Date created: 08 March 2005
+# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= DB_Table
+PORTVERSION= 1.0.0
+CATEGORIES= databases www pear
+
+MAINTAINER= antonio@php.net
+COMMENT= PEAR object-oriented interface to a database table
+
+BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
+ ${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_REINPLACE= yes
+
+LATEST_LINK= pear-DB_Table
+OPTIONS= PEAR_HTML_QUICKFORM "PEAR::HTML_QuickForm support" off
+
+CATEGORY= DB
+FILES= Table.php Table/Manager.php Table/QuickForm.php Table/Valid.php
+DOCS= _sources.txt all-words.txt mssql-words.txt mysql-words.txt \
+ oci8-words.txt pgsql-words.txt sql92-words.txt sql99-words.txt \
+ sqlite-words.txt
+TESTS= bogotest.php setup.ini-dist
+_DOCSDIR= docs/reserved_words
+
+post-extract:
+ @${MV} ${WRKSRC}/DB/* ${WRKSRC}
+ @${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" \
+ ${WRKSRC}/Table.php
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PEAR_HTML_QUICKFORM)
+RUN_DEPENDS+= ${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm
+.endif
+
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/databases/pear-DB_Table/distinfo b/databases/pear-DB_Table/distinfo
new file mode 100644
index 000000000000..73b6a456246e
--- /dev/null
+++ b/databases/pear-DB_Table/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/DB_Table-1.0.0.tgz) = 2086312baac5f7bfbf826af4fb795283
+SIZE (PEAR/DB_Table-1.0.0.tgz) = 27598
diff --git a/databases/pear-DB_Table/pkg-descr b/databases/pear-DB_Table/pkg-descr
new file mode 100644
index 000000000000..7b95ad9fac1d
--- /dev/null
+++ b/databases/pear-DB_Table/pkg-descr
@@ -0,0 +1,6 @@
+PEAR::DB_Table builds on PEAR DB to abstract datatypes and automate table
+creation, data validation, insert, update, delete, and select; combines
+these with PEAR::HTML_QuickForm to automatically generate input forms
+that match the table column definitions.
+
+WWW: http://pear.php.net/package/DB_Table/