summaryrefslogtreecommitdiffstats
path: root/databases/pear-DB
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-03-02 21:59:19 +0000
committerthierry <thierry@FreeBSD.org>2005-03-02 21:59:19 +0000
commit9bf573d49654e415b171ccc2286bf5d55fcde5ad (patch)
treee9e43655ad486e50021d465b3501645b647ee2c3 /databases/pear-DB
parent9efff6bb4528b0dc676371068bd524bb53c809c5 (diff)
downloadFreeBSD-ports-9bf573d49654e415b171ccc2286bf5d55fcde5ad.zip
FreeBSD-ports-9bf573d49654e415b171ccc2286bf5d55fcde5ad.tar.gz
Upgrade to to 1.7.1.
Changelog a <http://pear.php.net/package/DB/download/1.7.1/>. PR: ports/78294 Submitted by: Antônio Carlos Venâncio Júnior (maintainer)
Diffstat (limited to 'databases/pear-DB')
-rw-r--r--databases/pear-DB/Makefile20
-rw-r--r--databases/pear-DB/distinfo4
2 files changed, 18 insertions, 6 deletions
diff --git a/databases/pear-DB/Makefile b/databases/pear-DB/Makefile
index 0cf56ef..bb5855b 100644
--- a/databases/pear-DB/Makefile
+++ b/databases/pear-DB/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= DB
-PORTVERSION= 1.6.8
+PORTVERSION= 1.7.1
PORTEPOCH= 1
CATEGORIES= databases www pear
@@ -16,6 +16,8 @@ COMMENT= PEAR Database Abstraction Layer
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS= ${BUILD_DEPENDS}
+USE_REINPLACE= yes
+
FILES= DB.php DB/common.php DB/dbase.php DB/fbsql.php DB/ibase.php \
DB/ifx.php DB/msql.php DB/mssql.php DB/mysql.php DB/mysqli.php \
DB/oci8.php DB/odbc.php DB/pgsql.php DB/sybase.php DB/storage.php \
@@ -32,11 +34,21 @@ TESTS= db_error.phpt db_parsedsn.phpt db_factory.phpt db_ismanip.phpt \
driver/10errormap.phpt driver/11transactions.phpt \
driver/13limit.phpt driver/14fetchmode_object.phpt \
driver/15quote.phpt driver/16tableinfo.phpt driver/17query.phpt \
- driver/18get.phpt driver/bug22328.phpt driver/connect.inc \
- driver/mktable.inc driver/run.cvs driver/setup.inc.cvs \
- driver/skipif.inc
+ driver/18get.phpt driver/19getlistof.phpt driver/connect.inc \
+ driver/mktable.inc driver/multiconnect.php driver/run.cvs \
+ driver/setup.inc.cvs driver/skipif.inc
_DOCSDIR= doc
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+
+post-patch:
+.for file in ${FILES}
+ @${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
+.endfor
+ @${REINPLACE_CMD} -e "s|@include_path@|${PREFIX}/${LPEARDIR}|g" \
+ ${WRKSRC}/tests/include.inc
+ @${REINPLACE_CMD} -e "s|@include_path@|${PREFIX}/${LPEARDIR}|g" \
+ ${WRKSRC}/tests/driver/setup.inc.cvs
+
.include <bsd.port.post.mk>
diff --git a/databases/pear-DB/distinfo b/databases/pear-DB/distinfo
index 7b910c9..25c45d2 100644
--- a/databases/pear-DB/distinfo
+++ b/databases/pear-DB/distinfo
@@ -1,2 +1,2 @@
-MD5 (PEAR/DB-1.6.8.tgz) = 7f67e1fd3b68d0468e7f665bfd998a1c
-SIZE (PEAR/DB-1.6.8.tgz) = 92460
+MD5 (PEAR/DB-1.7.1.tgz) = 6b7f3e8acb14dc2717317fe00e07d2d0
+SIZE (PEAR/DB-1.7.1.tgz) = 126897
OpenPOWER on IntegriCloud