diff --git a/textproc/tinyxml2/Makefile b/textproc/tinyxml2/Makefile index bf872b6bef74..c465308fda25 100644 --- a/textproc/tinyxml2/Makefile +++ b/textproc/tinyxml2/Makefile @@ -1,38 +1,32 @@ PORTNAME= tinyxml2 -PORTVERSION= 9.0.0 +DISTVERSION= 10.0.0 PORTEPOCH= 1 CATEGORIES= textproc MAINTAINER= sunpoet@FreeBSD.org COMMENT= Small C++ XML Parser WWW= https://github.com/leethomason/tinyxml2 LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= cmake:insource compiler:c++11-lang cpe dos2unix pathfix - -CMAKE_OFF= BUILD_TESTS -CMAKE_ON= BUILD_SHARED_LIBS +USES= cmake:testing compiler:c++11-lang cpe dos2unix pathfix +CPE_VENDOR= tinyxml2_project USE_LDCONFIG= yes -PLIST_SUB= PORTVERSION=${PORTVERSION} +USE_GITHUB= yes +GH_ACCOUNT= leethomason -GH_ACCOUNT= leethomason -USE_GITHUB= yes +CMAKE_TESTING_ON= tinyxml2_BUILD_TESTING +PLIST_SUB= DISTVERSION=${DISTVERSION} -CPE_VENDOR= tinyxml2_project +CMAKE_OFF= tinyxml2_BUILD_TESTING +CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= EXAMPLES -post-install: - ${AR} cq ${STAGEDIR}${PREFIX}/lib/libtinyxml2.a ${WRKSRC}/CMakeFiles/tinyxml2.dir/tinyxml2.cpp.o - 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 diff --git a/textproc/tinyxml2/distinfo b/textproc/tinyxml2/distinfo index 8d9f077601fd..2311fe4cfc2b 100644 --- a/textproc/tinyxml2/distinfo +++ b/textproc/tinyxml2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1623359673 -SHA256 (leethomason-tinyxml2-9.0.0_GH0.tar.gz) = cc2f1417c308b1f6acc54f88eb70771a0bf65f76282ce5c40e54cfe52952702c -SIZE (leethomason-tinyxml2-9.0.0_GH0.tar.gz) = 619734 +TIMESTAMP = 1704129608 +SHA256 (leethomason-tinyxml2-10.0.0_GH0.tar.gz) = 3bdf15128ba16686e69bce256cc468e76c7b94ff2c7f391cc5ec09e40bff3839 +SIZE (leethomason-tinyxml2-10.0.0_GH0.tar.gz) = 642421 diff --git a/textproc/tinyxml2/pkg-plist b/textproc/tinyxml2/pkg-plist index 1d33bd8a5ba0..c12561808480 100644 --- a/textproc/tinyxml2/pkg-plist +++ b/textproc/tinyxml2/pkg-plist @@ -1,19 +1,18 @@ 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.9 -lib/libtinyxml2.so.%%PORTVERSION%% +lib/libtinyxml2.so.10 +lib/libtinyxml2.so.%%DISTVERSION%% libdata/pkgconfig/tinyxml2.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/dream.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/empty.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/out/readme.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/utf8test.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/utf8testverify.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/xmltest-4636783552757760.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/xmltest-5330.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/xmltest-5662204197076992.xml %%PORTEXAMPLES%%%%EXAMPLESDIR%%/resources/xmltest-5720541257269248.xml