From 30bf2a4a63461601c8655a6ed9bc17b93008f31d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 13 May 2014 23:01:26 +0000 Subject: [PATCH] RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. It is an in-situ parser written in modern C++, with parsing speed approaching that of strlen function executed on the same data. RapidXml has been around since 2006, and is being used by lots of people. HTC uses it in some of its mobile phones. If you are looking for a stable and fast parser, look no further. Integration with your project will be trivial, because entire library is contained in a single header file, and requires no building or configuration. WWW: http://rapidxml.sourceforge.net/ --- textproc/Makefile | 1 + textproc/rapidxml/Makefile | 29 +++++++++++++++++++++++++++++ textproc/rapidxml/distinfo | 2 ++ textproc/rapidxml/pkg-descr | 15 +++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 textproc/rapidxml/Makefile create mode 100644 textproc/rapidxml/distinfo create mode 100644 textproc/rapidxml/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index 4764ae2cd107..13bff48e9039 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1222,6 +1222,7 @@ SUBDIR += qu-aspell SUBDIR += queequeg SUBDIR += rand + SUBDIR += rapidxml SUBDIR += raptor SUBDIR += raptor2 SUBDIR += rarian diff --git a/textproc/rapidxml/Makefile b/textproc/rapidxml/Makefile new file mode 100644 index 000000000000..dda74e3474cc --- /dev/null +++ b/textproc/rapidxml/Makefile @@ -0,0 +1,29 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= rapidxml +PORTVERSION= 1.13 +CATEGORIES= textproc +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Fast C++ library for parsing XML + +LICENSE= BSL + +USES= zip +NO_BUILD= yes +PLIST_FILES= include/rapidxml.hpp \ + include/rapidxml_iterators.hpp \ + include/rapidxml_print.hpp \ + include/rapidxml_utils.hpp +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_DATA} ${WRKSRC}/*.hpp ${STAGEDIR}${PREFIX}/include + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/manual.html ${STAGEDIR}${DOCSDIR} + +.include diff --git a/textproc/rapidxml/distinfo b/textproc/rapidxml/distinfo new file mode 100644 index 000000000000..e5e1adf1c0c6 --- /dev/null +++ b/textproc/rapidxml/distinfo @@ -0,0 +1,2 @@ +SHA256 (rapidxml-1.13.zip) = c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571 +SIZE (rapidxml-1.13.zip) = 44163 diff --git a/textproc/rapidxml/pkg-descr b/textproc/rapidxml/pkg-descr new file mode 100644 index 000000000000..c13bfcaf00b2 --- /dev/null +++ b/textproc/rapidxml/pkg-descr @@ -0,0 +1,15 @@ +RapidXml is an attempt to create the fastest XML parser possible, +while retaining useability, portability and reasonable W3C +compatibility. It is an in-situ parser written in modern C++, with +parsing speed approaching that of strlen function executed on the +same data. + +RapidXml has been around since 2006, and is being used by lots of +people. HTC uses it in some of its mobile phones. + +If you are looking for a stable and fast parser, look no further. +Integration with your project will be trivial, because entire library +is contained in a single header file, and requires no building or +configuration. + +WWW: http://rapidxml.sourceforge.net/