summaryrefslogtreecommitdiff
path: root/databases/php-pdo_odbc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-03-01 10:34:17 +0000
committerjperkin <jperkin@pkgsrc.org>2013-03-01 10:34:17 +0000
commit4247ee4d068d88f340e06037009f468ee4155e97 (patch)
tree466cf7efd1669c4fd1cb8b213a763a578b8c70e5 /databases/php-pdo_odbc
parent67a124be80aa9ed8807b379be88cd08a92590e59 (diff)
downloadpkgsrc-4247ee4d068d88f340e06037009f468ee4155e97.tar.gz
Add php-pdo_odb to the packages collection.
This extension provides an ODBC v3 driver for PDO. It supports unixODBC and IBM DB2 libraries, and will support more in future releases. In pkgsrc we only support unixODBC currently.
Diffstat (limited to 'databases/php-pdo_odbc')
-rw-r--r--databases/php-pdo_odbc/DESCR4
-rw-r--r--databases/php-pdo_odbc/Makefile18
2 files changed, 22 insertions, 0 deletions
diff --git a/databases/php-pdo_odbc/DESCR b/databases/php-pdo_odbc/DESCR
new file mode 100644
index 00000000000..43f3fd6a520
--- /dev/null
+++ b/databases/php-pdo_odbc/DESCR
@@ -0,0 +1,4 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides an ODBC v3 driver for PDO. It supports unixODBC
+and IBM DB2 libraries, and will support more in future releases.
diff --git a/databases/php-pdo_odbc/Makefile b/databases/php-pdo_odbc/Makefile
new file mode 100644
index 00000000000..14a83e120ed
--- /dev/null
+++ b/databases/php-pdo_odbc/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.10 2013/03/01 10:34:17 jperkin Exp $
+
+MODNAME= pdo_odbc
+CATEGORIES+= databases
+COMMENT= PHP ODBC v3 Interface driver for PDO
+
+USE_PHP_EXT_PATCHES= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "../../lang/php/ext.mk"
+
+CONFIGURE_ARGS+= --with-${MODNAME}
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=unixODBC,${BUILDLINK_PREFIX.unixodbc}
+
+.include "../../databases/php-pdo/buildlink3.mk"
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"