aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-08 05:38:22 +0800
committerpav <pav@FreeBSD.org>2005-10-08 05:38:22 +0800
commitf5d8c12df790f83c8503366123d96fb6546a1fe4 (patch)
tree2f4c53d2c944931646d1e5ded7e29c8400c27e5e /databases
parent54c59e4bc1db5edb0b87420e8b703bc19f170f4e (diff)
downloadfreebsd-ports-gnome-f5d8c12df790f83c8503366123d96fb6546a1fe4.tar.gz
freebsd-ports-gnome-f5d8c12df790f83c8503366123d96fb6546a1fe4.tar.zst
freebsd-ports-gnome-f5d8c12df790f83c8503366123d96fb6546a1fe4.zip
This extension provides a FreeTDS/Sybase driver for PDO.
PR: ports/86910 Submitted by: Alexander Zhuravlev <zaa@ulstu.ru>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pecl-PDO_DBLIB/Makefile40
-rw-r--r--databases/pecl-PDO_DBLIB/distinfo2
-rw-r--r--databases/pecl-PDO_DBLIB/pkg-descr3
4 files changed, 46 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index f7df0388e9ab..a6ae426cfc24 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -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
diff --git a/databases/pecl-PDO_DBLIB/Makefile b/databases/pecl-PDO_DBLIB/Makefile
new file mode 100644
index 000000000000..de0731de3b96
--- /dev/null
+++ b/databases/pecl-PDO_DBLIB/Makefile
@@ -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>
diff --git a/databases/pecl-PDO_DBLIB/distinfo b/databases/pecl-PDO_DBLIB/distinfo
new file mode 100644
index 000000000000..c5ea80334c60
--- /dev/null
+++ b/databases/pecl-PDO_DBLIB/distinfo
@@ -0,0 +1,2 @@
+MD5 (PECL/PDO_DBLIB-1.0RC1.tgz) = 04b12b9d2d87c68ca84cf754de7f99e8
+SIZE (PECL/PDO_DBLIB-1.0RC1.tgz) = 7953
diff --git a/databases/pecl-PDO_DBLIB/pkg-descr b/databases/pecl-PDO_DBLIB/pkg-descr
new file mode 100644
index 000000000000..ff35470dcf58
--- /dev/null
+++ b/databases/pecl-PDO_DBLIB/pkg-descr
@@ -0,0 +1,3 @@
+This extension provides a FreeTDS/Sybase driver for PDO.
+
+WWW: http://pecl.php.net/package/PDO_ODBC