ports/textproc/tinyxml2/Makefile
Sunpoet Po-Chuan Hsieh ecd043da70 Update textproc/tinyxml2 to 6.0.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/leethomason/tinyxml2/commits/master
2017-12-19 18:20:20 +00:00

33 lines
732 B
Makefile

# Created by: b.f. <bf@FreeBSD.org>
# $FreeBSD$
PORTNAME= tinyxml2
PORTVERSION= 6.0.0
PORTEPOCH= 1
CATEGORIES= textproc
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Small C++ XML Parser
LICENSE= ZLIB
OPTIONS_DEFINE= EXAMPLES
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=OFF
USE_LDCONFIG= yes
USES= cmake dos2unix pathfix
PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R:R}
PORTEXAMPLES= *
GH_ACCOUNT= leethomason
USE_GITHUB= yes
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/
do-test:
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xmltest && ./xmltest
.include <bsd.port.mk>