pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/tinyxml2 Import tinyxml2-2.1.0 as textproc/ti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33b2544c74c8
branches:  trunk
changeset: 637182:33b2544c74c8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jul 22 17:16:45 2014 +0000

description:
Import tinyxml2-2.1.0 as textproc/tinyxml2, packaged for wip by
Niclas Rosenvik.

TinyXML-2 parses an XML document, and builds from that a Document
Object Model (DOM) that can be read, modified, and saved.

TinyXML-2 uses a Document Object Model (DOM), meaning the XML data is
parsed into a C++ objects that can be browsed and manipulated, and then
written to disk or another output stream. You can also construct an XML
document from scratch with C++ objects and write this to disk or another
output stream.

TinyXML (textproc/tinyxml) served the needs of the original author for
many years; but it uses memory inefficiently, and doesn't perform as
well as desired for mobile devices. The author wanted an XML parser that
was a little more modern, a little simpler (the "tiny" had been lost a
little over the years), and was a good fit for Android.

This led to TinyXML-2.

diffstat:

 textproc/tinyxml2/DESCR         |  16 ++++++++++++++++
 textproc/tinyxml2/Makefile      |  18 ++++++++++++++++++
 textproc/tinyxml2/PLIST         |   7 +++++++
 textproc/tinyxml2/buildlink3.mk |  12 ++++++++++++
 textproc/tinyxml2/distinfo      |   5 +++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r d00c81593233 -r 33b2544c74c8 textproc/tinyxml2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tinyxml2/DESCR   Tue Jul 22 17:16:45 2014 +0000
@@ -0,0 +1,16 @@
+TinyXML-2 parses an XML document, and builds from that a Document
+Object Model (DOM) that can be read, modified, and saved.
+
+TinyXML-2 uses a Document Object Model (DOM), meaning the XML data is
+parsed into a C++ objects that can be browsed and manipulated, and then
+written to disk or another output stream. You can also construct an XML
+document from scratch with C++ objects and write this to disk or another
+output stream.
+
+TinyXML (textproc/tinyxml) served the needs of the original author for
+many years; but it uses memory inefficiently, and doesn't perform as
+well as desired for mobile devices. The author wanted an XML parser that
+was a little more modern, a little simpler (the "tiny" had been lost a
+little over the years), and was a good fit for Android.
+
+This led to TinyXML-2.
diff -r d00c81593233 -r 33b2544c74c8 textproc/tinyxml2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tinyxml2/Makefile        Tue Jul 22 17:16:45 2014 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/07/22 17:16:45 wiz Exp $
+
+DISTNAME=      tinyxml2-2.1.0
+CATEGORIES=    textproc
+MASTER_SITES=  -https://github.com/leethomason/tinyxml2/archive/${PKGVERSION}.tar.gz
+EXTRACT_USING= bsdtar
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.grinninglizard.com/tinyxml2/
+COMMENT=       Simple, small and efficient C++ XML parser
+LICENSE=       zlib
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE=tinyxml2.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r d00c81593233 -r 33b2544c74c8 textproc/tinyxml2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tinyxml2/PLIST   Tue Jul 22 17:16:45 2014 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2014/07/22 17:16:45 wiz Exp $
+include/tinyxml2.h
+lib/libtinyxml2.a
+lib/libtinyxml2.so
+lib/libtinyxml2.so.2
+lib/libtinyxml2.so.${PKGVERSION}
+lib/pkgconfig/tinyxml2.pc
diff -r d00c81593233 -r 33b2544c74c8 textproc/tinyxml2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tinyxml2/buildlink3.mk   Tue Jul 22 17:16:45 2014 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/07/22 17:16:45 wiz Exp $
+
+BUILDLINK_TREE+=       tinyxml2
+
+.if !defined(TINYXML2_BUILDLINK3_MK)
+TINYXML2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tinyxml2+=       tinyxml2>=2.1.0
+BUILDLINK_PKGSRCDIR.tinyxml2?=         ../../textproc/tinyxml2
+.endif # TINYXML2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -tinyxml2
diff -r d00c81593233 -r 33b2544c74c8 textproc/tinyxml2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/tinyxml2/distinfo        Tue Jul 22 17:16:45 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/07/22 17:16:45 wiz Exp $
+
+SHA1 (tinyxml2-2.1.0.tar.gz) = 70ef3221bdc190fd8fc50cdd4a6ef440f44b74dc
+RMD160 (tinyxml2-2.1.0.tar.gz) = 1c1a76777c51876ca7b8934b822478a3e4ffa537
+Size (tinyxml2-2.1.0.tar.gz) = 454717 bytes



Home | Main Index | Thread Index | Old Index