textproc/tinyxml2: Convert to meson
- Reapply part of 450aafcba5
- Bump PORTREVISION for package change
This commit is contained in:
parent
ec6f7ce16d
commit
cf9d528182
|
@ -1,28 +1,30 @@
|
|||
PORTNAME= tinyxml2
|
||||
DISTVERSION= 10.0.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 10.0.0
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= textproc
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Small C++ XML Parser
|
||||
WWW= https://github.com/leethomason/tinyxml2
|
||||
WWW= https://leethomason.github.io/tinyxml2/ \
|
||||
https://github.com/leethomason/tinyxml2
|
||||
|
||||
LICENSE= ZLIB
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= cmake:testing compiler:c++11-lang cpe dos2unix pathfix
|
||||
CPE_VENDOR= tinyxml2_project
|
||||
USES= compiler:c++11-lang cpe dos2unix meson pathfix
|
||||
|
||||
MESON_ARGS= --default-library=both \
|
||||
-Ddebug=false \
|
||||
-Dtests=true
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= leethomason
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
CMAKE_TESTING_ON= tinyxml2_BUILD_TESTING
|
||||
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
||||
GH_ACCOUNT= leethomason
|
||||
USE_GITHUB= yes
|
||||
|
||||
CMAKE_OFF= tinyxml2_BUILD_TESTING
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
CPE_VENDOR= tinyxml2_project
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
|
@ -30,4 +32,7 @@ post-install-EXAMPLES-on:
|
|||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
||||
cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/ && _build/xmltest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
include/tinyxml2.h
|
||||
lib/cmake/tinyxml2/tinyxml2-config-version.cmake
|
||||
lib/cmake/tinyxml2/tinyxml2-config.cmake
|
||||
lib/cmake/tinyxml2/tinyxml2-shared-targets-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/tinyxml2/tinyxml2-shared-targets.cmake
|
||||
lib/libtinyxml2.a
|
||||
lib/libtinyxml2.so
|
||||
lib/libtinyxml2.so.10
|
||||
lib/libtinyxml2.so.%%DISTVERSION%%
|
||||
lib/libtinyxml2.so.%%PORTVERSION%%
|
||||
libdata/pkgconfig/tinyxml2.pc
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/dream.xml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/empty.xml
|
||||
|
|
Loading…
Reference in a new issue