diff --git a/textproc/tinyxml2/Makefile b/textproc/tinyxml2/Makefile index 14a86872fc32..b675f588138a 100644 --- a/textproc/tinyxml2/Makefile +++ b/textproc/tinyxml2/Makefile @@ -1,5 +1,6 @@ PORTNAME= tinyxml2 PORTVERSION= 11.0.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc @@ -11,19 +12,19 @@ WWW= https://leethomason.github.io/tinyxml2/ \ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= compiler:c++11-lang cpe dos2unix meson pathfix - -MESON_ARGS= --default-library=both \ - -Ddebug=false \ - -Dtests=true +USES= cmake:testing compiler:c++11-lang cpe dos2unix pathfix +CPE_VENDOR= tinyxml2_project USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= leethomason + PLIST_SUB= PORTVERSION=${PORTVERSION} -GH_ACCOUNT= leethomason -USE_GITHUB= yes +CMAKE_TESTING_ON= tinyxml2_BUILD_TESTING -CPE_VENDOR= tinyxml2_project +CMAKE_OFF= tinyxml2_BUILD_TESTING +CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= EXAMPLES @@ -31,7 +32,4 @@ post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ cd ${WRKSRC}/ && ${COPYTREE_SHARE} resources ${STAGEDIR}${EXAMPLESDIR}/ -do-test: - cd ${WRKSRC}/ && _build/xmltest - .include diff --git a/textproc/tinyxml2/distinfo b/textproc/tinyxml2/distinfo index ad2fe42eb4f1..f3863a2dc242 100644 --- a/textproc/tinyxml2/distinfo +++ b/textproc/tinyxml2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742340913 +TIMESTAMP = 1744978776 SHA256 (leethomason-tinyxml2-11.0.0_GH0.tar.gz) = 5556deb5081fb246ee92afae73efd943c889cef0cafea92b0b82422d6a18f289 SIZE (leethomason-tinyxml2-11.0.0_GH0.tar.gz) = 642878 diff --git a/textproc/tinyxml2/pkg-plist b/textproc/tinyxml2/pkg-plist index 5f86f1a3e34c..1ad7c2bf0321 100644 --- a/textproc/tinyxml2/pkg-plist +++ b/textproc/tinyxml2/pkg-plist @@ -1,5 +1,8 @@ include/tinyxml2.h -lib/libtinyxml2.a +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.so lib/libtinyxml2.so.11 lib/libtinyxml2.so.%%PORTVERSION%%