Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2013 13:49:32 +0000 (UTC)
From:      Brendan Fabeny <bf@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320560 - in head/textproc: . tinyxml2
Message-ID:  <201306111349.r5BDnWj5049865@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bf
Date: Tue Jun 11 13:49:32 2013
New Revision: 320560
URL: http://svnweb.freebsd.org/changeset/ports/320560

Log:
  Add tinyxml2 20130520, small C++ XML Parser.

Added:
  head/textproc/tinyxml2/
  head/textproc/tinyxml2/Makefile   (contents, props changed)
  head/textproc/tinyxml2/distinfo   (contents, props changed)
  head/textproc/tinyxml2/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Jun 11 13:47:54 2013	(r320559)
+++ head/textproc/Makefile	Tue Jun 11 13:49:32 2013	(r320560)
@@ -1428,6 +1428,7 @@
     SUBDIR += ti-hunspell
     SUBDIR += tidyp
     SUBDIR += tinyxml
+    SUBDIR += tinyxml2
     SUBDIR += tk-aspell
     SUBDIR += tk-hunspell
     SUBDIR += tkdiff

Added: head/textproc/tinyxml2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tinyxml2/Makefile	Tue Jun 11 13:49:32 2013	(r320560)
@@ -0,0 +1,49 @@
+# Created by: b.f. <bf@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	tinyxml2
+PORTVERSION=	20130520
+CATEGORIES=	textproc
+MASTER_SITES=	LOCAL/bf GH
+
+MAINTAINER=	bf@FreeBSD.org
+COMMENT=	Small C++ XML Parser
+
+LICENSE=	ZLIB
+
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+USES=		cmake
+
+GH_ACCOUNT=	leethomason
+GH_COMMIT=	392bcd2
+GH_TAGNAME=	${GH_COMMIT}
+
+PLIST_FILES=	include/tinyxml2.h \
+		lib/libtinyxml2.a \
+		lib/libtinyxml2.so \
+		lib/libtinyxml2.so.1 \
+		lib/libtinyxml2.so.1.0.11 \
+		libdata/pkgconfig/tinyxml2.pc
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -E \
+		-e 's@(DESTINATION )(.*)(/pkgconfig)@\1${PREFIX}/libdata\3@' \
+		${WRKSRC}/CMakeLists.txt
+
+check regression-test test: build
+	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test ; \
+	./test
+
+.if ${PORT_OPTIONS:MEXAMPLES}
+PORTEXAMPLES=	xmltest.cpp resources
+
+post-install:
+	@${MKDIR} ${EXAMPLESDIR}
+	@cd ${WRKSRC} ; ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${EXAMPLESDIR}
+
+.endif
+
+.include <bsd.port.mk>

Added: head/textproc/tinyxml2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tinyxml2/distinfo	Tue Jun 11 13:49:32 2013	(r320560)
@@ -0,0 +1,2 @@
+SHA256 (tinyxml2-20130520.tar.gz) = e064bad8ff1cdf8172f39712b7b0305491bff95874af76b22957b668d441c6cd
+SIZE (tinyxml2-20130520.tar.gz) = 111206

Added: head/textproc/tinyxml2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/tinyxml2/pkg-descr	Tue Jun 11 13:49:32 2013	(r320560)
@@ -0,0 +1,7 @@
+TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily
+integrated into other programs. It attempts to be flexible, but correct.  It
+does not rely on exceptions or RTTI. It has UTF-8 support, but does not parse or
+use DTDs or XSL. It doesn't have the STL support of TinyXML-1, but uses less
+memory, has a proper namespace, and is faster.
+
+WWW: http://grinninglizard.com/tinyxml2/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306111349.r5BDnWj5049865>