2003-06-08 08:53:16 +02:00
|
|
|
# Ports collection makefile for: pear-DB
|
|
|
|
# Date created: 28 November 2002
|
|
|
|
# Whom: Thierry Thomas (<thierry@pompo.net>)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= DB
|
2007-09-24 23:35:06 +02:00
|
|
|
PORTVERSION= 1.7.13
|
2003-09-28 22:55:14 +02:00
|
|
|
PORTEPOCH= 1
|
2003-11-13 00:46:19 +01:00
|
|
|
CATEGORIES= databases www pear
|
2007-01-17 21:44:12 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/RC/}
|
2003-06-08 08:53:16 +02:00
|
|
|
|
2007-08-23 06:00:04 +02:00
|
|
|
MAINTAINER= tabthorpe@FreeBSD.org
|
2003-06-08 08:53:16 +02:00
|
|
|
COMMENT= PEAR Database Abstraction Layer
|
|
|
|
|
2005-12-09 20:24:52 +01:00
|
|
|
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
|
2003-06-08 08:53:16 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2005-02-24 22:46:40 +01:00
|
|
|
FILES= DB.php DB/common.php DB/dbase.php DB/fbsql.php DB/ibase.php \
|
2007-09-24 23:35:06 +02:00
|
|
|
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/sqlite.php DB/storage.php DB/sybase.php
|
|
|
|
|
2003-06-08 08:53:16 +02:00
|
|
|
DOCS= IDEAS MAINTAINERS STATUS TESTERS
|
2007-09-24 23:35:06 +02:00
|
|
|
TESTS= db_error.phpt db_error2.phpt db_factory.phpt db_ismanip.phpt \
|
|
|
|
db_parsedsn.phpt errors.inc fetchmodes.inc \
|
|
|
|
fetchmode_object.inc include.inc limit.inc numcols.inc \
|
|
|
|
numrows.inc prepexe.inc run.cvs sequences.inc simplequery.inc \
|
|
|
|
skipif.inc transactions.inc driver/01connect.phpt \
|
|
|
|
driver/02fetch.phpt driver/03simplequery.phpt \
|
|
|
|
driver/04numcols.phpt driver/05sequences.phpt \
|
|
|
|
driver/06prepexec.phpt driver/08affectedrows.phpt \
|
|
|
|
driver/09numrows.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 \
|
2007-02-06 18:04:07 +01:00
|
|
|
driver/19getlistof.phpt driver/20locale.phpt \
|
|
|
|
driver/21freeResult.phpt driver/connect.inc \
|
2007-09-24 23:35:06 +02:00
|
|
|
driver/droptable.inc driver/mktable.inc \
|
|
|
|
driver/multiconnect.php driver/run.cvs driver/setup.inc.cvs \
|
2007-01-11 08:42:21 +01:00
|
|
|
driver/skipif.inc
|
|
|
|
|
2003-12-28 08:55:47 +01:00
|
|
|
_DOCSDIR= doc
|
2003-06-08 08:53:16 +02:00
|
|
|
|
2003-12-28 08:55:47 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-12-09 20:24:52 +01:00
|
|
|
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
|
2005-03-02 22:59:19 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2003-06-08 08:53:16 +02:00
|
|
|
.include <bsd.port.post.mk>
|