summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-03-16 15:10:49 +0000
committertaca <taca@pkgsrc.org>2010-03-16 15:10:49 +0000
commit11bbecfd01ba6143ca58d83169ea1b08390d4643 (patch)
tree4eb3a9f3294f92a9771b86133a56183510b459b9 /textproc
parent71131d8777e74f5271d7c3257778ad710ed398e4 (diff)
downloadpkgsrc-11bbecfd01ba6143ca58d83169ea1b08390d4643.tar.gz
Re-import textproc/php5-dom as textproc/php-dom.
textproc/php5-dom package will be deleted later.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/php-dom/DESCR3
-rw-r--r--textproc/php-dom/Makefile18
2 files changed, 21 insertions, 0 deletions
diff --git a/textproc/php-dom/DESCR b/textproc/php-dom/DESCR
new file mode 100644
index 00000000000..25580eee173
--- /dev/null
+++ b/textproc/php-dom/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/textproc/php-dom/Makefile b/textproc/php-dom/Makefile
new file mode 100644
index 00000000000..0ee8205f9b0
--- /dev/null
+++ b/textproc/php-dom/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/16 15:10:49 taca Exp $
+
+MODNAME= dom
+CATEGORIES+= textproc
+COMMENT= PHP5 extension for DOM support
+
+CONFLICTS= php-dom-[0-9]*
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+CONFIGURE_ARGS+= --with-libxml-dir=${BUILDLINK_PREFIX.libxml2}
+
+.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"