From 9e75df91b9516034804fbc3f3731fdec1204a7da Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 16 Feb 2004 01:19:45 +0000 Subject: 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. --- textproc/scew/DESCR | 12 ++++++++++++ textproc/scew/Makefile | 22 ++++++++++++++++++++++ textproc/scew/PLIST | 13 +++++++++++++ textproc/scew/distinfo | 4 ++++ 4 files changed, 51 insertions(+) create mode 100644 textproc/scew/DESCR create mode 100644 textproc/scew/Makefile create mode 100644 textproc/scew/PLIST create mode 100644 textproc/scew/distinfo 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 -- cgit v1.2.3