diff options
| author | Brendan Fabeny <bf@FreeBSD.org> | 2013-06-11 13:49:32 +0000 |
|---|---|---|
| committer | Brendan Fabeny <bf@FreeBSD.org> | 2013-06-11 13:49:32 +0000 |
| commit | 8370ab00c6f91aef0bc81717e50a875d233b9831 (patch) | |
| tree | 0f69da27775bfc18c184f65cb018ce7c0a0b8cff /textproc/tinyxml2 | |
| parent | bffd7ee10c65244f949b5543fa9ca9eb5e8de03d (diff) | |
Notes
Diffstat (limited to 'textproc/tinyxml2')
| -rw-r--r-- | textproc/tinyxml2/Makefile | 49 | ||||
| -rw-r--r-- | textproc/tinyxml2/distinfo | 2 | ||||
| -rw-r--r-- | textproc/tinyxml2/pkg-descr | 7 |
3 files changed, 58 insertions, 0 deletions
diff --git a/textproc/tinyxml2/Makefile b/textproc/tinyxml2/Makefile new file mode 100644 index 000000000000..150255acde05 --- /dev/null +++ b/textproc/tinyxml2/Makefile @@ -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> diff --git a/textproc/tinyxml2/distinfo b/textproc/tinyxml2/distinfo new file mode 100644 index 000000000000..90fc4bb57029 --- /dev/null +++ b/textproc/tinyxml2/distinfo @@ -0,0 +1,2 @@ +SHA256 (tinyxml2-20130520.tar.gz) = e064bad8ff1cdf8172f39712b7b0305491bff95874af76b22957b668d441c6cd +SIZE (tinyxml2-20130520.tar.gz) = 111206 diff --git a/textproc/tinyxml2/pkg-descr b/textproc/tinyxml2/pkg-descr new file mode 100644 index 000000000000..8657158d265b --- /dev/null +++ b/textproc/tinyxml2/pkg-descr @@ -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 |
