summaryrefslogtreecommitdiff
path: root/databases/php4-dba
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-16 06:45:09 +0000
committerjlam <jlam@pkgsrc.org>2001-10-16 06:45:09 +0000
commitb711a9e04efce793589915ab467690c15da71125 (patch)
tree6be9c95dc506c36fca6201daa4c21b011d9ffcfb /databases/php4-dba
parent1222b29ecba70830ec9b1de47c6d97562cbe267b (diff)
downloadpkgsrc-b711a9e04efce793589915ab467690c15da71125.tar.gz
databases/php4-dba: PHP4 extension for DBM database access
This version is from the php-4.0.6 distribution.
Diffstat (limited to 'databases/php4-dba')
-rw-r--r--databases/php4-dba/Makefile27
-rw-r--r--databases/php4-dba/distinfo4
-rw-r--r--databases/php4-dba/pkg/DESCR2
3 files changed, 33 insertions, 0 deletions
diff --git a/databases/php4-dba/Makefile b/databases/php4-dba/Makefile
new file mode 100644
index 00000000000..cf3ba19861f
--- /dev/null
+++ b/databases/php4-dba/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 06:45:09 jlam Exp $
+
+.include "../php4/Makefile.module"
+
+MODNAME= dba
+CATEGORIES+= databases
+PHP_PKG_VERS= # empty
+COMMENT= PHP4 extension for DBM database access
+
+USE_BUILDLINK_ONLY= 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_DIR}
+CONFIGURE_ARGS+= --without-ndbm
+.include "../../databases/gdbm/buildlink.mk"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php4-dba/distinfo b/databases/php4-dba/distinfo
new file mode 100644
index 00000000000..3d04361f24a
--- /dev/null
+++ b/databases/php4-dba/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/16 06:45:09 jlam Exp $
+
+SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03
+Size (php-4.0.6.tar.gz) = 3157346 bytes
diff --git a/databases/php4-dba/pkg/DESCR b/databases/php4-dba/pkg/DESCR
new file mode 100644
index 00000000000..432428a186f
--- /dev/null
+++ b/databases/php4-dba/pkg/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides PHP4 support for DBM database access.