summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca>2010-03-16 15:10:49 +0000
committertaca <taca>2010-03-16 15:10:49 +0000
commit45c9176e99a640e51b75d749664dc7d34e1f875d (patch)
tree4eb3a9f3294f92a9771b86133a56183510b459b9 /textproc
parentb65e55d745646da60511fb151292f54ec6c0300b (diff)
downloadpkgsrc-45c9176e99a640e51b75d749664dc7d34e1f875d.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"