blob: f4ac7676917da0fb6238deb7356da61f57390487 (
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.0.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
USE_LDCONFIG= yes
USES= cmake dos2unix pathfix
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>
|