summaryrefslogtreecommitdiff
path: root/textproc/php5-dom
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-05 21:13:00 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-05 21:13:00 +0000
commitb989940c0f074d598c88dd3aba992123064eee38 (patch)
treedbb77c292c2882f6f5d8248d44cd74e5b5500400 /textproc/php5-dom
parentbaa137ce5b11fdcbd3b89b094ecd75714353491e (diff)
downloadpkgsrc-b989940c0f074d598c88dd3aba992123064eee38.tar.gz
Add php5-dom 5.0.2 - PHP extension to access XML documents using DOM API.
This is PHP5 replacement of PHP4 DOM XML extension.
Diffstat (limited to 'textproc/php5-dom')
-rw-r--r--textproc/php5-dom/DESCR4
-rw-r--r--textproc/php5-dom/Makefile18
2 files changed, 22 insertions, 0 deletions
diff --git a/textproc/php5-dom/DESCR b/textproc/php5-dom/DESCR
new file mode 100644
index 00000000000..795ce940ae0
--- /dev/null
+++ b/textproc/php5-dom/DESCR
@@ -0,0 +1,4 @@
+PHP is a programming language designed to be embedded into web pages.
+The extension allows you to operate on an XML document with the DOM
+(Document Object Model) API. DOM extension module in PHP5 replaces
+DOM XML extension in PHP4.
diff --git a/textproc/php5-dom/Makefile b/textproc/php5-dom/Makefile
new file mode 100644
index 00000000000..f8f051272f8
--- /dev/null
+++ b/textproc/php5-dom/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/05 21:13:00 jdolecek Exp $
+
+MODNAME= dom
+CATEGORIES+= textproc
+PKGREVISION= # empty
+COMMENT= PHP5 extension for DOM support
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+CONFIGURE_ARGS+= --with-libxml-dir=${BUILDLINK_PREFIX.libxml2}
+
+PHP_VERSION_REQD= 5
+.include "../../lang/php/ext.mk"
+#.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+#.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"