mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Upgrade to 1.7.5.
Changelog at <http://pear.php.net/package/DB_DataObject/download/1.7.5/>. PR: ports/78298 Submitted by: Antônio Carlos Venâncio Júnior (maintainer)
This commit is contained in:
parent
415bbcb012
commit
7237df5e07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130291
3 changed files with 17 additions and 23 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= DB_DataObject
|
PORTNAME= DB_DataObject
|
||||||
PORTVERSION= 1.7.2
|
PORTVERSION= 1.7.5
|
||||||
CATEGORIES= databases www pear
|
CATEGORIES= databases www pear
|
||||||
|
|
||||||
MAINTAINER= antonio@php.net
|
MAINTAINER= antonio@php.net
|
||||||
|
@ -16,28 +16,23 @@ BUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
|
||||||
${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
|
${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
|
||||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
USE_PHP= yes
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
CATEGORY= DB
|
CATEGORY= DB
|
||||||
FILES= DataObject.php DataObject/Cast.php DataObject/Error.php \
|
FILES= DataObject.php DataObject/Cast.php DataObject/Generator.php \
|
||||||
DataObject/Generator.php DataObject/createTables.php
|
DataObject/createTables.php DataObject/Error.php
|
||||||
|
|
||||||
DOCS= example.ini
|
DOCS= example.ini
|
||||||
|
|
||||||
LATEST_LINK= pear-DB_DataObject
|
LATEST_LINK= pear-DB_DataObject
|
||||||
OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
|
OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/DataObject.php
|
||||||
PHP_VERS= ${PHP_VERSION:S/.//g}
|
|
||||||
|
|
||||||
.if defined(PHP_VERS) && ${PHP_VERS} < 420
|
|
||||||
IGNORE= "You need PHP 4.2.0 or later to install PEAR::DB_DataObject"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_PEAR_VALIDATE)
|
.if defined(WITH_PEAR_VALIDATE)
|
||||||
BUILD_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
|
RUN_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (PEAR/DB_DataObject-1.7.2.tgz) = f6961fb5f9976bb2492e7c87942fc7b0
|
MD5 (PEAR/DB_DataObject-1.7.5.tgz) = ad4cd9e6c544aeb2f3391bfb84c3c77f
|
||||||
SIZE (PEAR/DB_DataObject-1.7.2.tgz) = 45244
|
SIZE (PEAR/DB_DataObject-1.7.5.tgz) = 48592
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
PEAR::DB_DataObject performs 2 tasks:
|
PEAR::DB_DataObject performs 2 tasks:
|
||||||
1. Builds SQL statements based on the objects vars and the buiLder methods.
|
1. Builds SQL statements based on the objects vars and the builder methods.
|
||||||
2. acts as a datastore for a table row.
|
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
|
The core class is designed to be extended for each of your tables so that you
|
||||||
put the data logic inside the data classes.
|
put the data logic inside the data classes.
|
||||||
Included is a Generator to make your configuration files and your base classes.
|
included is a Generator to make your configuration files and your base classes.
|
||||||
|
|
||||||
WWW: http://pear.php.net/package/DB_DataObject
|
WWW: http://pear.php.net/package/DB_DataObject/
|
||||||
|
|
Loading…
Add table
Reference in a new issue