pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ezxml Import ezxml library, submitted in PR 3...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c149246fc962
branches:  trunk
changeset: 497610:c149246fc962
user:      agc <agc%pkgsrc.org@localhost>
date:      Mon Aug 01 00:25:04 2005 +0000

description:
Import ezxml library, submitted in PR 30887 by Marcin Jessa.

        ezXML is a C library for parsing XML documents inspired by simpleXML
        for PHP.  As the name implies, it's easy to use.  It's ideal for
        parsing XML configuration files or REST web service responses.  It's
        also fast and lightweight (less than 20k compiled).

        An example of how to use the ezXML library can be found in
        ${PREFIX}/share/doc/ezxml

diffstat:

 textproc/ezxml/DESCR            |  10 ++++++++++
 textproc/ezxml/Makefile         |  24 ++++++++++++++++++++++++
 textproc/ezxml/PLIST            |   5 +++++
 textproc/ezxml/distinfo         |   6 ++++++
 textproc/ezxml/patches/patch-aa |  24 ++++++++++++++++++++++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r b3fc59543480 -r c149246fc962 textproc/ezxml/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ezxml/DESCR      Mon Aug 01 00:25:04 2005 +0000
@@ -0,0 +1,10 @@
+ezXML is a C library for parsing XML documents inspired by simpleXML
+for PHP.  As the name implies, it's easy to use.  It's ideal for
+parsing XML configuration files or REST web service responses.  It's
+also fast and lightweight (less than 20k compiled).
+
+An example of how to use the ezXML library can be found in
+${PREFIX}/share/doc/ezxml
+
+- Marcin Jessa
+yazzy%yazzy.org@localhost
diff -r b3fc59543480 -r c149246fc962 textproc/ezxml/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ezxml/Makefile   Mon Aug 01 00:25:04 2005 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/01 00:25:04 agc Exp $
+
+DISTNAME=      ezxml-0.8.4
+CATEGORIES=    textproc devel
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ezxml/} \
+               http://www.yazzy.org/pkgsrc/ezxml/
+
+MAINTAINER=    yazzy%yazzy.org@localhost
+HOMEPAGE=      http://ezxml.sourceforge.net/
+COMMENT=       Easy to use C library for parsing XML documents
+
+WRKSRC=                ${WRKDIR}/${PKGNAME:C/-[^-]*$//}
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+INSTALLATION_DIRS+=    share/doc/ezxml
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/libezxml.a ${PREFIX}/lib
+       ${INSTALL_DATA} ${WRKSRC}/ezxml.h ${PREFIX}/include
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ezxml
+       ${INSTALL_DATA} ${WRKSRC}/ezxml.txt ${PREFIX}/share/doc/ezxml
+
+.include "../../mk/bsd.pkg.mk"
diff -r b3fc59543480 -r c149246fc962 textproc/ezxml/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ezxml/PLIST      Mon Aug 01 00:25:04 2005 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/01 00:25:04 agc Exp $
+include/ezxml.h
+lib/libezxml.a
+share/doc/ezxml/ezxml.txt
+@dirrm share/doc/ezxml
diff -r b3fc59543480 -r c149246fc962 textproc/ezxml/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ezxml/distinfo   Mon Aug 01 00:25:04 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/01 00:25:04 agc Exp $
+
+SHA1 (ezxml-0.8.4.tar.gz) = 95d323cacc9ea8f50b09095f872ca72bdc1393d8
+RMD160 (ezxml-0.8.4.tar.gz) = 6dbb2722f37c0b2b52f18c10d78e28628ed34eed
+Size (ezxml-0.8.4.tar.gz) = 16394 bytes
+SHA1 (patch-aa) = a33e3e815eb433e9f00468774bea73e23493740e
diff -r b3fc59543480 -r c149246fc962 textproc/ezxml/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ezxml/patches/patch-aa   Mon Aug 01 00:25:04 2005 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/08/01 00:25:04 agc Exp $
+
+--- Makefile.orig      2005-07-31 21:58:10.000000000 +0200
++++ Makefile   2005-07-31 22:00:29.000000000 +0200
+@@ -21,10 +21,10 @@
+ # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ 
+-CC = gcc
++CC ?= gcc
+ AR = ar
+ RM = rm -f
+-CFLAGS = -Wall -O2
++CFLAGS ?= -Wall -O2
+ OBJS = ezxml.o
+ LIB = libezxml.a
+ TEST = ezxmltest
+@@ -59,4 +59,4 @@
+       $(CC) $(CFLAGS) -c -o $@ $<
+ 
+ clean:
+-      $(RM) $(OBJS) $(LIB) $(TEST) *~
+\ No newline at end of file
++      $(RM) $(OBJS) $(LIB) $(TEST) *~



Home | Main Index | Thread Index | Old Index