This extension provides a FreeTDS/Sybase driver for PDO.

PR:		ports/86910
Submitted by:	Alexander Zhuravlev <zaa@ulstu.ru>
This commit is contained in:
Pav Lucistnik 2005-10-07 21:38:22 +00:00
parent 6d7d67d772
commit 2b0cb33bf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144539
4 changed files with 46 additions and 0 deletions

View file

@ -249,6 +249,7 @@
SUBDIR += pear-MDB2
SUBDIR += pear-MDB_QueryTool
SUBDIR += pecl-PDO
SUBDIR += pecl-PDO_DBLIB
SUBDIR += pecl-PDO_MYSQL
SUBDIR += pecl-PDO_ODBC
SUBDIR += pecl-PDO_PGSQL

View file

@ -0,0 +1,40 @@
# Ports collection makefile for: pecl-PDO_DBLIB
# Date created: 2005-10-03
# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
#
# $FreeBSD$
#
PORTNAME= PDO_DBLIB
DISTVERSION= 1.0RC1
CATEGORIES= databases www
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= zaa@zaa.pp.ru
COMMENT= FreeTDS/Sybase/MSSQL driver for PDO
BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo.so:${PORTSDIR}/databases/pecl-PDO
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER=5
PHP_MODNAME= pdo_dblib
CONFIGURE_ARGS+=--with-pdo-dblib=${LOCALBASE}
OPTIONS= MSSQL "Enable Microsoft SQL Server support" off
.include <bsd.port.pre.mk>
.if defined(WITH_MSSQL)
LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds-msdblib
.else
LIB_DEPENDS+= ct.3:${PORTSDIR}/databases/freetds
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (PECL/PDO_DBLIB-1.0RC1.tgz) = 04b12b9d2d87c68ca84cf754de7f99e8
SIZE (PECL/PDO_DBLIB-1.0RC1.tgz) = 7953

View file

@ -0,0 +1,3 @@
This extension provides a FreeTDS/Sybase driver for PDO.
WWW: http://pecl.php.net/package/PDO_ODBC