diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-03-02 21:59:19 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-03-02 21:59:19 +0000 |
commit | 0368f77c26dff63e9552606d347bdcddd4f3ada0 (patch) | |
tree | b14842fe8c016b9dd3130b05cc7310a3c5dfbb0a /databases/pear-DB/Makefile | |
parent | d0ec9aa055489c6058ea441bc44fc6667c839668 (diff) | |
download | ports-0368f77c26dff63e9552606d347bdcddd4f3ada0.tar.gz ports-0368f77c26dff63e9552606d347bdcddd4f3ada0.zip |
Notes
Diffstat (limited to 'databases/pear-DB/Makefile')
-rw-r--r-- | databases/pear-DB/Makefile | 20 |
1 files changed, 16 insertions, 4 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> |