Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 11:25:41 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0c022f0fc854 - main - textproc/tinyxml2: Update to 10.0.0
Message-ID:  <202401211125.40LBPfl2055156@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c022f0fc854184d95ff3303049a063a39b1f551

commit 0c022f0fc854184d95ff3303049a063a39b1f551
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-01-21 10:17:37 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-01-21 11:24:48 +0000

    textproc/tinyxml2: Update to 10.0.0
    
    Rework Makefile to more closely follow Porters Handbook and utilize
    framework helpers
    
    Changelog:
    https://github.com/leethomason/tinyxml2/compare/9.0.0...10.0.0
    
    PR:             276061
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 textproc/tinyxml2/Makefile  | 24 +++++++++---------------
 textproc/tinyxml2/distinfo  |  6 +++---
 textproc/tinyxml2/pkg-plist |  5 ++---
 3 files changed, 14 insertions(+), 21 deletions(-)

diff --git a/textproc/tinyxml2/Makefile b/textproc/tinyxml2/Makefile
index bf872b6bef74..c465308fda25 100644
--- a/textproc/tinyxml2/Makefile
+++ b/textproc/tinyxml2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tinyxml2
-PORTVERSION=	9.0.0
+DISTVERSION=	10.0.0
 PORTEPOCH=	1
 CATEGORIES=	textproc
 
@@ -10,29 +10,23 @@ 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 <bsd.port.mk>
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
@@ -3,10 +3,9 @@ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401211125.40LBPfl2055156>