aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pecl-PDO
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-14 06:53:17 +0800
committerpav <pav@FreeBSD.org>2005-09-14 06:53:17 +0800
commit05132bb7e28eedd86e2aba2b5105e40ae8c92a80 (patch)
tree356a76f3978b73280ba9cd4be537035e5418403d /databases/pecl-PDO
parent1afa1d262b648cbe87aa2062e560c9d37548e003 (diff)
downloadfreebsd-ports-gnome-05132bb7e28eedd86e2aba2b5105e40ae8c92a80.tar.gz
freebsd-ports-gnome-05132bb7e28eedd86e2aba2b5105e40ae8c92a80.tar.zst
freebsd-ports-gnome-05132bb7e28eedd86e2aba2b5105e40ae8c92a80.zip
PDO provides a uniform data access interface, sporting advanced features such
as prepared statements and bound parameters. PDO drivers are dynamically loadable and may be developed independently from the core, but still accessed using the same API. PR: ports/86033 Submitted by: Alexander Zhuravlev <zaa@zaa.pp.ru>
Diffstat (limited to 'databases/pecl-PDO')
-rw-r--r--databases/pecl-PDO/Makefile34
-rw-r--r--databases/pecl-PDO/distinfo2
-rw-r--r--databases/pecl-PDO/pkg-descr7
-rw-r--r--databases/pecl-PDO/pkg-message14
4 files changed, 57 insertions, 0 deletions
diff --git a/databases/pecl-PDO/Makefile b/databases/pecl-PDO/Makefile
new file mode 100644
index 000000000000..c8a08ac192b3
--- /dev/null
+++ b/databases/pecl-PDO/Makefile
@@ -0,0 +1,34 @@
+# Ports collection makefile for: pecl-PDO
+# Date created: 2005-09-10
+# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PDO
+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= PHP Data Objects Interface
+
+USE_PHP= zlib
+USE_PHPIZE= yes
+USE_PHPEXT= yes
+DEFAULT_PHP_VER=5
+PHP_MODNAME= pdo
+
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 4
+IGNORE= PDO requires PHP version 5.0.3 or higher
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/databases/pecl-PDO/distinfo b/databases/pecl-PDO/distinfo
new file mode 100644
index 000000000000..8ceb9542c7ee
--- /dev/null
+++ b/databases/pecl-PDO/distinfo
@@ -0,0 +1,2 @@
+MD5 (PECL/PDO-1.0RC1.tgz) = 62b1d0002ee79c01f149decf8349f8fc
+SIZE (PECL/PDO-1.0RC1.tgz) = 46925
diff --git a/databases/pecl-PDO/pkg-descr b/databases/pecl-PDO/pkg-descr
new file mode 100644
index 000000000000..49d2e144c074
--- /dev/null
+++ b/databases/pecl-PDO/pkg-descr
@@ -0,0 +1,7 @@
+PDO provides a uniform data access interface, sporting advanced features such
+as prepared statements and bound parameters. PDO drivers are dynamically
+loadable and may be developed independently from the core, but still accessed
+using the same API.
+Read the documentation at http://www.php.net/pdo for more information.
+
+WWW: http://pecl.php.net/package/PDO
diff --git a/databases/pecl-PDO/pkg-message b/databases/pecl-PDO/pkg-message
new file mode 100644
index 000000000000..25a57858202e
--- /dev/null
+++ b/databases/pecl-PDO/pkg-message
@@ -0,0 +1,14 @@
+
+******************************************************************
+
+Note that you cannot perform any database functions using
+the PDO extension by itself; you must install a database-specific
+PDO driver like
+
+ * databases/pecl-PDO_MYSQL
+ * databases/pecl-PDO_PGSQL
+ * databases/pecl-PDO_SQLITE
+
+to access a database server.
+
+******************************************************************