summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
commit52c19805011b2d8d525f4d2a6c01cf961940d9aa (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /databases
parent0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81 (diff)
downloadpkgsrc-52c19805011b2d8d525f4d2a6c01cf961940d9aa.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Diffstat (limited to 'databases')
-rw-r--r--databases/php-dba/DESCR2
-rw-r--r--databases/php-dba/Makefile27
-rw-r--r--databases/php-dbase/DESCR2
-rw-r--r--databases/php-dbase/Makefile13
-rw-r--r--databases/php-filepro/DESCR2
-rw-r--r--databases/php-filepro/Makefile13
-rw-r--r--databases/php-ldap/DESCR2
-rw-r--r--databases/php-ldap/Makefile14
-rw-r--r--databases/php-mssql/DESCR2
-rw-r--r--databases/php-mssql/Makefile13
-rw-r--r--databases/php-mysql/DESCR2
-rw-r--r--databases/php-mysql/Makefile19
-rw-r--r--databases/php-odbc/DESCR2
-rw-r--r--databases/php-odbc/Makefile14
-rw-r--r--databases/php-pgsql/DESCR2
-rw-r--r--databases/php-pgsql/Makefile14
16 files changed, 143 insertions, 0 deletions
diff --git a/databases/php-dba/DESCR b/databases/php-dba/DESCR
new file mode 100644
index 00000000000..df1a8eca7e6
--- /dev/null
+++ b/databases/php-dba/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for DBM database access.
diff --git a/databases/php-dba/Makefile b/databases/php-dba/Makefile
new file mode 100644
index 00000000000..1d33270182a
--- /dev/null
+++ b/databases/php-dba/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= dba
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP extension for DBM database access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared
+
+CONFIGURE_ARGS+= --without-cdb
+CONFIGURE_ARGS+= --without-db2
+CONFIGURE_ARGS+= --without-db3
+CONFIGURE_ARGS+= --without-dbm
+
+.if exists(/usr/include/ndbm.h)
+CONFIGURE_ARGS+= --without-gdbm
+CONFIGURE_ARGS+= --with-ndbm=/usr
+.else
+CONFIGURE_ARGS+= --with-gdbm=shared,${BUILDLINK_PREFIX.gdbm}
+CONFIGURE_ARGS+= --without-ndbm
+.include "../../databases/gdbm/buildlink3.mk"
+.endif
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-dbase/DESCR b/databases/php-dbase/DESCR
new file mode 100644
index 00000000000..f5cd018a2fe
--- /dev/null
+++ b/databases/php-dbase/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for dBase database access.
diff --git a/databases/php-dbase/Makefile b/databases/php-dbase/Makefile
new file mode 100644
index 00000000000..ea97c49d2ea
--- /dev/null
+++ b/databases/php-dbase/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= dbase
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP extension for dBase database access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-filepro/DESCR b/databases/php-filepro/DESCR
new file mode 100644
index 00000000000..d1c54f0f50b
--- /dev/null
+++ b/databases/php-filepro/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for read-only filePro database access.
diff --git a/databases/php-filepro/Makefile b/databases/php-filepro/Makefile
new file mode 100644
index 00000000000..ff1a53ad099
--- /dev/null
+++ b/databases/php-filepro/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= filepro
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP extension for read-only filePro database access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-ldap/DESCR b/databases/php-ldap/DESCR
new file mode 100644
index 00000000000..66aabece2a8
--- /dev/null
+++ b/databases/php-ldap/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to LDAP databases.
diff --git a/databases/php-ldap/Makefile b/databases/php-ldap/Makefile
new file mode 100644
index 00000000000..346b9351fb2
--- /dev/null
+++ b/databases/php-ldap/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= ldap
+PKGREVISION= # empty
+CATEGORIES+= databases
+COMMENT= PHP extension for LDAP database access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.openldap}
+
+.include "../../lang/php/ext.mk"
+.include "../../databases/openldap/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-mssql/DESCR b/databases/php-mssql/DESCR
new file mode 100644
index 00000000000..ababdd93b06
--- /dev/null
+++ b/databases/php-mssql/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to MS SQL databases, using FreeTDS.
diff --git a/databases/php-mssql/Makefile b/databases/php-mssql/Makefile
new file mode 100644
index 00000000000..87ce66e2389
--- /dev/null
+++ b/databases/php-mssql/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= mssql
+CATEGORIES+= databases
+COMMENT= PHP extension for MS SQL databases
+
+USE_BUILDLINK3= yes
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_DIR}/freetds
+
+.include "../../lang/php/ext.mk"
+.include "../../databases/freetds/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-mysql/DESCR b/databases/php-mysql/DESCR
new file mode 100644
index 00000000000..21a48ab18b0
--- /dev/null
+++ b/databases/php-mysql/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides standard access to MySQL databases.
diff --git a/databases/php-mysql/Makefile b/databases/php-mysql/Makefile
new file mode 100644
index 00000000000..cc4f1812717
--- /dev/null
+++ b/databases/php-mysql/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= mysql
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP extension for MySQL databases
+
+MAINTAINER= tech-pkg@NetBSD.org
+
+USE_BUILDLINK3= yes
+USE_PHP_EXT_PATCHES= yes
+
+EVAL_PREFIX+= MYSQLDIR=mysql-client
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MYSQLDIR}
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib/mysql
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-odbc/DESCR b/databases/php-odbc/DESCR
new file mode 100644
index 00000000000..3d9f8aac189
--- /dev/null
+++ b/databases/php-odbc/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to ODBC data sources.
diff --git a/databases/php-odbc/Makefile b/databases/php-odbc/Makefile
new file mode 100644
index 00000000000..23eff4eaaad
--- /dev/null
+++ b/databases/php-odbc/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= odbc
+CATEGORIES+= databases
+PKGREVISION= # empty
+COMMENT= PHP extension for ODBC access
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-unixODBC=shared,${BUILDLINK_PREFIX.unixodbc}
+
+.include "../../lang/php/ext.mk"
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php-pgsql/DESCR b/databases/php-pgsql/DESCR
new file mode 100644
index 00000000000..5ec666735fc
--- /dev/null
+++ b/databases/php-pgsql/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides access to PostgreSQL databases.
diff --git a/databases/php-pgsql/Makefile b/databases/php-pgsql/Makefile
new file mode 100644
index 00000000000..24882ec9958
--- /dev/null
+++ b/databases/php-pgsql/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= pgsql
+PKGREVISION= # empty
+CATEGORIES+= databases
+COMMENT= PHP extension for PostgreSQL databases
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${PGSQL_PREFIX}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"