git: 13b7d901e832 - main - archivers/libzippp: Update 6.0-1.9.2 → 6.1-1.9.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 02 May 2023 15:56:14 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=13b7d901e832a419732ba456987d27c5561bdd0a

commit 13b7d901e832a419732ba456987d27c5561bdd0a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-05-02 15:56:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-05-02 15:56:08 +0000

    archivers/libzippp: Update 6.0-1.9.2 → 6.1-1.9.2
    
    Reported by:    portscout
---
 archivers/libzippp/Makefile                   |  5 +++--
 archivers/libzippp/distinfo                   |  6 +++---
 archivers/libzippp/files/patch-CMakeLists.txt | 26 --------------------------
 archivers/libzippp/pkg-plist                  |  2 ++
 4 files changed, 8 insertions(+), 31 deletions(-)

diff --git a/archivers/libzippp/Makefile b/archivers/libzippp/Makefile
index bdcbd36d63e7..470081531a76 100644
--- a/archivers/libzippp/Makefile
+++ b/archivers/libzippp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libzippp
 DISTVERSIONPREFIX=	${PORTNAME}-v
-DISTVERSION=	6.0-1.9.2
+DISTVERSION=	6.1-1.9.2
 CATEGORIES=	archivers devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -17,7 +17,8 @@ USES=		cmake:testing
 USE_GITHUB=	yes
 GH_ACCOUNT=	ctabin
 
-CMAKE_ON=		BUILD_SHARED_LIBS
+CMAKE_ON=		BUILD_SHARED_LIBS \
+			LIBZIPPP_CMAKE_CONFIG_MODE
 CMAKE_TESTING_ON=	LIBZIPPP_BUILD_TESTS
 
 .include <bsd.port.mk>
diff --git a/archivers/libzippp/distinfo b/archivers/libzippp/distinfo
index 2b4900a53c57..a89b0a22606e 100644
--- a/archivers/libzippp/distinfo
+++ b/archivers/libzippp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670956244
-SHA256 (ctabin-libzippp-libzippp-v6.0-1.9.2_GH0.tar.gz) = f9aef9811802a18e69cd50527381d70c2e0f0d8a839f1d41914f6234f5964fc3
-SIZE (ctabin-libzippp-libzippp-v6.0-1.9.2_GH0.tar.gz) = 33198
+TIMESTAMP = 1683042632
+SHA256 (ctabin-libzippp-libzippp-v6.1-1.9.2_GH0.tar.gz) = 3796f174780f23938749da493cf4cbc4c55f84a568ec395f2c256dfe10129305
+SIZE (ctabin-libzippp-libzippp-v6.1-1.9.2_GH0.tar.gz) = 34285
diff --git a/archivers/libzippp/files/patch-CMakeLists.txt b/archivers/libzippp/files/patch-CMakeLists.txt
deleted file mode 100644
index ee0f9ebfcf20..000000000000
--- a/archivers/libzippp/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
---- CMakeLists.txt.orig	2021-06-02 08:25:32 UTC
-+++ CMakeLists.txt
-@@ -17,7 +17,7 @@ option(LIBZIPPP_ENABLE_ENCRYPTION "Build with encrypti
- 
- list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
- 
--find_package(LIBZIP MODULE REQUIRED)
-+find_package(libzip REQUIRED)
- 
- add_library(libzippp "src/libzippp.cpp")
- add_library(libzippp::libzippp ALIAS libzippp) # Convenience alias
-@@ -87,10 +87,10 @@ if(LIBZIPPP_INSTALL)
-     COMPATIBILITY SameMajorVersion
-   )
- 
--  install(
--    FILES ${PROJECT_CONFIG_FILE} ${PROJECT_VERSION_FILE} cmake/FindLIBZIP.cmake
--    DESTINATION ${configInstallDestination}
--  )
-+  #install(
-+  #  FILES ${PROJECT_CONFIG_FILE} ${PROJECT_VERSION_FILE} cmake/FindLIBZIP.cmake
-+  #  DESTINATION ${configInstallDestination}
-+  #)
- 
-   install(
-     EXPORT libzipppTargets
diff --git a/archivers/libzippp/pkg-plist b/archivers/libzippp/pkg-plist
index f59048ebc645..44c0e836315b 100644
--- a/archivers/libzippp/pkg-plist
+++ b/archivers/libzippp/pkg-plist
@@ -1,4 +1,6 @@
 include/libzippp/libzippp.h
 lib/libzippp.so
+%%DATADIR%%/libzipppConfig.cmake
+%%DATADIR%%/libzipppConfigVersion.cmake
 %%DATADIR%%/libzipppTargets-%%CMAKE_BUILD_TYPE%%.cmake
 %%DATADIR%%/libzipppTargets.cmake