summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/php4-domxml/DESCR2
-rw-r--r--textproc/php4-domxml/Makefile17
-rw-r--r--textproc/php4-domxml/distinfo5
-rw-r--r--textproc/php4-domxml/patches/patch-aa22
4 files changed, 46 insertions, 0 deletions
diff --git a/textproc/php4-domxml/DESCR b/textproc/php4-domxml/DESCR
new file mode 100644
index 00000000000..8291f675d42
--- /dev/null
+++ b/textproc/php4-domxml/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides support for DOM (Document Object Model) in PHP4.
diff --git a/textproc/php4-domxml/Makefile b/textproc/php4-domxml/Makefile
new file mode 100644
index 00000000000..71db2fb352e
--- /dev/null
+++ b/textproc/php4-domxml/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/11 09:33:42 manu Exp $
+
+.include "../../www/php4/Makefile.module"
+
+MODNAME= domxml
+CATEGORIES+= textproc
+PHP_PKG_VERS= # empty
+COMMENT= PHP4 extension for DOM support
+
+USE_BUILDLINK_ONLY= YES
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-dom=shared,${BUILDLINK_DIR}
+
+DEPENDS+= libxml2>=2.2.7:../../textproc/libxml2
+
+.include "../../textproc/libxml2/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/php4-domxml/distinfo b/textproc/php4-domxml/distinfo
new file mode 100644
index 00000000000..31a1bec2cda
--- /dev/null
+++ b/textproc/php4-domxml/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/02/11 09:33:42 manu Exp $
+
+SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03
+Size (php-4.0.6.tar.gz) = 3157346 bytes
+SHA1 (patch-aa) = d32946c1e4a83e7b37827b253ed1deb94c4a76ee
diff --git a/textproc/php4-domxml/patches/patch-aa b/textproc/php4-domxml/patches/patch-aa
new file mode 100644
index 00000000000..052520638dc
--- /dev/null
+++ b/textproc/php4-domxml/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/02/11 09:33:43 manu Exp $
+--- php_domxml.c.orig Fri Feb 8 17:19:05 2002
++++ php_domxml.c Fri Feb 8 17:20:57 2002
+@@ -20,5 +20,6 @@
+
++#define IS_EXT_MODULE
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+@@ -88,8 +89,11 @@
+ #endif
+ {NULL, NULL, NULL}
+ };
+
++#ifndef COMPILE_DL_DOMXML
++ZEND_GET_MODULE(domxml)
++#endif /* COMPILE_DL_DOMXML */
+
+ static zend_function_entry php_domxmldoc_class_functions[] = {
+ PHP_FALIAS(root, domxml_root, NULL)
+ PHP_FALIAS(children, domxml_children, NULL)