aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-10-06 10:48:31 +0800
committeralepulver <alepulver@FreeBSD.org>2006-10-06 10:48:31 +0800
commitd566bb0ba22033c3ca326ab3e627031a120d5645 (patch)
tree713663a32ffbc641424c21d741a19367ebfce3d9 /databases
parent27ea2cc3e2d94cd6f012f7e6a419491be5df2e21 (diff)
downloadfreebsd-ports-gnome-d566bb0ba22033c3ca326ab3e627031a120d5645.tar.gz
freebsd-ports-gnome-d566bb0ba22033c3ca326ab3e627031a120d5645.tar.zst
freebsd-ports-gnome-d566bb0ba22033c3ca326ab3e627031a120d5645.zip
php-sqlite3 is a PHP extension that lets you access SQLite3 databases
within your scripts. PHP4 and PHP5 have already built-in support for this RDBM, but this is limited to the 2.x releases. This extension adds support for SQLite 3.x release. Please note that this project is still alpha-quality. Please test and report if it works for you and if you have ideas on how it can be enhanced. Current (or planned) features include: * In-memory databases support * UTF-16 encoding * User-level SQL functions * PEAR::DB driver class WWW: http://php-sqlite3.sourceforge.net/ PR: ports/103681 Submitted by: Simon Cornelius P. Umacob <simoncpu at infoweapons.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/php-sqlite3/Makefile28
-rw-r--r--databases/php-sqlite3/distinfo3
-rw-r--r--databases/php-sqlite3/pkg-descr16
4 files changed, 48 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index ccc7329ac569..1809854071a3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -328,6 +328,7 @@
SUBDIR += pgpool
SUBDIR += pgtop
SUBDIR += pgworksheet
+ SUBDIR += php-sqlite3
SUBDIR += php-sqlrelay
SUBDIR += php4-dba
SUBDIR += php4-dbase
diff --git a/databases/php-sqlite3/Makefile b/databases/php-sqlite3/Makefile
new file mode 100644
index 000000000000..a89c5a719e15
--- /dev/null
+++ b/databases/php-sqlite3/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: php-sqlite3
+# Date created: 26 Sep 2006
+# Whom: Simon Cornelius P. Umacob <simoncpu@infoweapons.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sqlite3
+PORTVERSION= 0.4
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= php-sqlite3
+PKGNAMEPREFIX= php-
+EXTRACT_SUFX= .tgz
+#DISTFILES= sqlite3-0.4.tgz
+
+MAINTAINER= simoncpu@infoweapons.com
+COMMENT= A port for the PHP sqlite3 extension
+
+BUILD_DEPENDS= sqlite>=3.0:${PORTSDIR}/databases/sqlite3
+
+CONFIGURE_ARGS= --with-sqlite3=${LOCALBASE}
+USE_PHP= yes
+USE_PHPIZE= yes
+USE_PHPEXT= yes
+USE_PHP_BUILD= yes
+
+.include <bsd.port.mk>
diff --git a/databases/php-sqlite3/distinfo b/databases/php-sqlite3/distinfo
new file mode 100644
index 000000000000..0299b43c5176
--- /dev/null
+++ b/databases/php-sqlite3/distinfo
@@ -0,0 +1,3 @@
+MD5 (sqlite3-0.4.tgz) = fc15ace3f5fd0aac0186745d6cff8a70
+SHA256 (sqlite3-0.4.tgz) = e5a14bc18d29aff39e8b831f30aa28384ca60f0df3edae9ce3173dc69c27ab8d
+SIZE (sqlite3-0.4.tgz) = 14005
diff --git a/databases/php-sqlite3/pkg-descr b/databases/php-sqlite3/pkg-descr
new file mode 100644
index 000000000000..3c70609d3967
--- /dev/null
+++ b/databases/php-sqlite3/pkg-descr
@@ -0,0 +1,16 @@
+php-sqlite3 is a PHP extension that lets you access SQLite3 databases
+within your scripts. PHP4 and PHP5 have already built-in support for this
+RDBM, but this is limited to the 2.x releases. This extension adds support
+for SQLite 3.x release.
+
+Please note that this project is still alpha-quality. Please test and report
+if it works for you and if you have ideas on how it can be enhanced.
+
+Current (or planned) features include:
+
+ * In-memory databases support
+ * UTF-16 encoding
+ * User-level SQL functions
+ * PEAR::DB driver class
+
+WWW: http://php-sqlite3.sourceforge.net/