Add tinyxml2 20130520, small C++ XML Parser.
This commit is contained in:
parent
bffd7ee10c
commit
8370ab00c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320560
4 changed files with 59 additions and 0 deletions
|
@ -1428,6 +1428,7 @@
|
|||
SUBDIR += ti-hunspell
|
||||
SUBDIR += tidyp
|
||||
SUBDIR += tinyxml
|
||||
SUBDIR += tinyxml2
|
||||
SUBDIR += tk-aspell
|
||||
SUBDIR += tk-hunspell
|
||||
SUBDIR += tkdiff
|
||||
|
|
49
textproc/tinyxml2/Makefile
Normal file
49
textproc/tinyxml2/Makefile
Normal file
|
@ -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>
|
2
textproc/tinyxml2/distinfo
Normal file
2
textproc/tinyxml2/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (tinyxml2-20130520.tar.gz) = e064bad8ff1cdf8172f39712b7b0305491bff95874af76b22957b668d441c6cd
|
||||
SIZE (tinyxml2-20130520.tar.gz) = 111206
|
7
textproc/tinyxml2/pkg-descr
Normal file
7
textproc/tinyxml2/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue