aboutsummaryrefslogtreecommitdiff
path: root/databases/pear-DB
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-03-02 21:59:19 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-03-02 21:59:19 +0000
commit0368f77c26dff63e9552606d347bdcddd4f3ada0 (patch)
treeb14842fe8c016b9dd3130b05cc7310a3c5dfbb0a /databases/pear-DB
parentd0ec9aa055489c6058ea441bc44fc6667c839668 (diff)
downloadports-0368f77c26dff63e9552606d347bdcddd4f3ada0.tar.gz
ports-0368f77c26dff63e9552606d347bdcddd4f3ada0.zip
Notes
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 0cf56ef9f1cc..bb5855b16398 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 7b910c91e42c..25c45d249294 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