summaryrefslogtreecommitdiff
path: root/textproc/scew
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-16 01:19:45 +0000
committerminskim <minskim@pkgsrc.org>2004-02-16 01:19:45 +0000
commitb13e8501840560c273f4e17f9a887c853f769060 (patch)
treeeaf8a5b6e97c7d2108156b6552f6d37863fffa27 /textproc/scew
parent84fb07d57e58999ddecb5fc4a09d3903d9c6cf34 (diff)
downloadpkgsrc-b13e8501840560c273f4e17f9a887c853f769060.tar.gz
Import scew from pkgsrc-wip. Provided by Thorbjorn Svensson, and
modified by me. The aim of SCEW (by Aleix Conchillo Flaque) is to provide an easy interface around the XML Expat parser. Expat gives an API based on event handling mechanisms to load XML files. SCEW incorporates functions to create XML files and handle XML trees. That is, add and delete nodes, change attribute names and values etc. SCEW provides functions to load and access XML elements without the need to create the event handling routines and probably the most important: without the need to rewrite these functions each time you need to load a different XML document. It also lets you access the internal Expat parser; that means you can still have all the functionality that the Expat library gives you.
Diffstat (limited to 'textproc/scew')
-rw-r--r--textproc/scew/DESCR12
-rw-r--r--textproc/scew/Makefile22
-rw-r--r--textproc/scew/PLIST13
-rw-r--r--textproc/scew/distinfo4
4 files changed, 51 insertions, 0 deletions
diff --git a/textproc/scew/DESCR b/textproc/scew/DESCR
new file mode 100644
index 00000000000..679c1b5d3a1
--- /dev/null
+++ b/textproc/scew/DESCR
@@ -0,0 +1,12 @@
+The aim of SCEW (by Aleix Conchillo Flaque) is to provide an easy
+interface around the XML Expat parser. Expat gives an API based on
+event handling mechanisms to load XML files. SCEW incorporates
+functions to create XML files and handle XML trees. That is, add and
+delete nodes, change attribute names and values etc.
+
+SCEW provides functions to load and access XML elements without the
+need to create the event handling routines and probably the most
+important: without the need to rewrite these functions each time you
+need to load a different XML document. It also lets you access the
+internal Expat parser; that means you can still have all the
+functionality that the Expat library gives you.
diff --git a/textproc/scew/Makefile b/textproc/scew/Makefile
new file mode 100644
index 00000000000..f1829f7abf5
--- /dev/null
+++ b/textproc/scew/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/16 01:19:45 minskim Exp $
+#
+
+DISTNAME= scew-0.3.1
+CATEGORIES= textproc devel
+MASTER_SITES= http://www.ccd.uab.es/~aleix/scew/
+
+MAINTAINER= thorbjorn@jemander.net
+HOMEPAGE= http://www.nongnu.org/scew/
+COMMENT= Light-weight DOM-like object model API for Expat
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
+GNU_CONFIGURE= YES
+
+PKGCONFIG_OVERRIDE= etc/pkg-config/scew.pc.in
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/scew/PLIST b/textproc/scew/PLIST
new file mode 100644
index 00000000000..813f7271d20
--- /dev/null
+++ b/textproc/scew/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/16 01:19:45 minskim Exp $
+include/scew/attribute.h
+include/scew/element.h
+include/scew/error.h
+include/scew/mem.h
+include/scew/parser.h
+include/scew/scew.h
+include/scew/str.h
+include/scew/tree.h
+include/scew/types.h
+lib/libscew.a
+lib/pkgconfig/scew.pc
+@dirrm include/scew
diff --git a/textproc/scew/distinfo b/textproc/scew/distinfo
new file mode 100644
index 00000000000..59fc1a2f755
--- /dev/null
+++ b/textproc/scew/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/16 01:19:45 minskim Exp $
+
+SHA1 (scew-0.3.1.tar.gz) = 7a6a437957bc7aefc840af322da180f84fd77520
+Size (scew-0.3.1.tar.gz) = 106116 bytes