blob: 8f5896a204c3fd43fe35b528919450a2c6aaa63c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: b.f. <bf@FreeBSD.org>
# $FreeBSD$
PORTNAME= tinyxml2
PORTVERSION= 6.2.0
PORTEPOCH= 1
CATEGORIES= textproc
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Small C++ XML Parser
LICENSE= ZLIB
OPTIONS_DEFINE= EXAMPLES
CMAKE_OFF= BUILD_TESTS
CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS
USES= cmake compiler:c++11-lang dos2unix pathfix
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
PORTEXAMPLES= *
GH_ACCOUNT= leethomason
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e '/CMAKE_DEBUG_POSTFIX/d' ${WRKSRC}/CMakeLists.txt
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>
|