summaryrefslogtreecommitdiff
path: root/databases/php-pdo_dblib
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2005-10-09 13:11:18 +0000
committerjdolecek <jdolecek>2005-10-09 13:11:18 +0000
commitd6ad3739166b4bd784d3054f6a5bc09e8a6273d3 (patch)
treef3d425d9097919e34a6ab1e4ea4137d358a3e42f /databases/php-pdo_dblib
parent2d7dfd857399b399b1d77e94e836aad2a07222d5 (diff)
downloadpkgsrc-d6ad3739166b4bd784d3054f6a5bc09e8a6273d3.tar.gz
Add PDO (PHP Data Objects) extensions. These implement unified,
object-oriented interface to various databases. PDO comes bundled with upcoming PHP 5.1, but can also be used with PHP 5.0 via PECL.
Diffstat (limited to 'databases/php-pdo_dblib')
-rw-r--r--databases/php-pdo_dblib/DESCR3
-rw-r--r--databases/php-pdo_dblib/Makefile12
-rw-r--r--databases/php-pdo_dblib/distinfo5
3 files changed, 20 insertions, 0 deletions
diff --git a/databases/php-pdo_dblib/DESCR b/databases/php-pdo_dblib/DESCR
new file mode 100644
index 00000000000..a3ddb58dd33
--- /dev/null
+++ b/databases/php-pdo_dblib/DESCR
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides a FreeTDS/Sybase/MSSQL driver for PDO.
diff --git a/databases/php-pdo_dblib/Makefile b/databases/php-pdo_dblib/Makefile
new file mode 100644
index 00000000000..a6b36ef5799
--- /dev/null
+++ b/databases/php-pdo_dblib/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+PDO_DRIVER= dblib
+PDO_COMMENT= FreeTDS/Sybase/MS SQL
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_DIR}/freetds
+
+# requires 0.63 version to compile, doesn't compile with 0.61
+BUILDLINK_DEPENDS.freetds+= freetds>=0.63
+
+.include "../../databases/freetds/buildlink3.mk"
+.include "../../databases/php-pdo/module.mk"
diff --git a/databases/php-pdo_dblib/distinfo b/databases/php-pdo_dblib/distinfo
new file mode 100644
index 00000000000..251c7a619b7
--- /dev/null
+++ b/databases/php-pdo_dblib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO_DBLIB/PDO_DBLIB-1.0RC1.tgz) = 6f3865932bb96fac3f49aa2c7f4d4fa8cf6164b9
+RMD160 (php-PDO_DBLIB/PDO_DBLIB-1.0RC1.tgz) = 5922102bcdfda827f6c504b3cfc802ed31053a43
+Size (php-PDO_DBLIB/PDO_DBLIB-1.0RC1.tgz) = 7953 bytes