git: 53427b0d981a - main - textproc/pugixml: Update to 1.12.1

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 23:24:59 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=53427b0d981a46245fe40968f87e574f551b30d7

commit 53427b0d981a46245fe40968f87e574f551b30d7
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-03-07 23:21:17 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-03-07 23:22:20 +0000

    textproc/pugixml: Update to 1.12.1
    
    Changelog: https://pugixml.org/docs/manual.html#v1.12
               https://github.com/zeux/pugixml/releases/tag/v1.12.1
---
 textproc/pugixml/Makefile  | 7 +++++--
 textproc/pugixml/distinfo  | 6 +++---
 textproc/pugixml/pkg-plist | 2 +-
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/textproc/pugixml/Makefile b/textproc/pugixml/Makefile
index e1d7da993f92..32438dc6beb6 100644
--- a/textproc/pugixml/Makefile
+++ b/textproc/pugixml/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pugixml
-DISTVERSION=	1.11.4
+DISTVERSION=	1.12.1
 CATEGORIES=	textproc
 MASTER_SITES=	https://github.com/zeux/pugixml/releases/download/v${DISTVERSION}/
 
@@ -7,12 +7,15 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Light-weight, simple and fast XML parser for C++ with XPath support
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 USES=		cmake compiler:c++11-lang cpe
 CPE_VENDOR=	${PORTNAME}_project
 USE_LDCONFIG=	yes
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-1.12
+
 CMAKE_ON=	BUILD_SHARED_LIBS
-CMAKE_OFF=	BUILD_TESTS USE_VERSIONED_LIBDIR
+CMAKE_OFF=	PUGIXML_BUILD_TESTS PUGIXML_USE_VERSIONED_LIBDIR
 
 .include <bsd.port.mk>
diff --git a/textproc/pugixml/distinfo b/textproc/pugixml/distinfo
index e13c1c5a7289..7eeae05b75ff 100644
--- a/textproc/pugixml/distinfo
+++ b/textproc/pugixml/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609659949
-SHA256 (pugixml-1.11.4.tar.gz) = 8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716
-SIZE (pugixml-1.11.4.tar.gz) = 386229
+TIMESTAMP = 1646456461
+SHA256 (pugixml-1.12.1.tar.gz) = dcf671a919cc4051210f08ffd3edf9e4247f79ad583c61577a13ee93af33afc7
+SIZE (pugixml-1.12.1.tar.gz) = 389692
diff --git a/textproc/pugixml/pkg-plist b/textproc/pugixml/pkg-plist
index cf6788e29d87..77b9d762a91b 100644
--- a/textproc/pugixml/pkg-plist
+++ b/textproc/pugixml/pkg-plist
@@ -6,5 +6,5 @@ lib/cmake/pugixml/pugixml-targets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/pugixml/pugixml-targets.cmake
 lib/libpugixml.so
 lib/libpugixml.so.1
-lib/libpugixml.so.1.11
+lib/libpugixml.so.1.12
 libdata/pkgconfig/pugixml.pc