From owner-svn-ports-head@FreeBSD.ORG Tue Jun 11 13:49:33 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CFCEA9CB; Tue, 11 Jun 2013 13:49:33 +0000 (UTC) (envelope-from bf@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B1CEA15BC; Tue, 11 Jun 2013 13:49:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5BDnXOG049869; Tue, 11 Jun 2013 13:49:33 GMT (envelope-from bf@svn.freebsd.org) Received: (from bf@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5BDnWj5049865; Tue, 11 Jun 2013 13:49:32 GMT (envelope-from bf@svn.freebsd.org) Message-Id: <201306111349.r5BDnWj5049865@svn.freebsd.org> From: Brendan Fabeny Date: Tue, 11 Jun 2013 13:49:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320560 - in head/textproc: . tinyxml2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 13:49:34 -0000 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. +# $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 + +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 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