diff --git a/databases/Makefile b/databases/Makefile index 88e9e8ce5dcb..03c710dabfd9 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -215,6 +215,7 @@ SUBDIR += pear-DB_DataObject_FormBuilder SUBDIR += pear-DB_Pager SUBDIR += pear-DB_QueryTool + SUBDIR += pear-DB_Table SUBDIR += pear-DB_ldap SUBDIR += pear-DBA SUBDIR += pear-MDB 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 () +# +# $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 + +.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 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/