git: 99e0f3fa2d41 - main - science/libcifpp: update 7.0.4 → 7.0.5

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 13 Sep 2024 08:24:59 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99e0f3fa2d41ea17173c50687d73d304a88b6e53

commit 99e0f3fa2d41ea17173c50687d73d304a88b6e53
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-13 08:15:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-13 08:24:47 +0000

    science/libcifpp: update 7.0.4 → 7.0.5
    
    Reported by:    portscout
---
 science/libcifpp/Makefile                   |  2 +-
 science/libcifpp/distinfo                   | 10 +++++-----
 science/libcifpp/files/patch-CMakeLists.txt | 25 ++++++++-----------------
 science/libcifpp/pkg-plist                  |  2 +-
 4 files changed, 15 insertions(+), 24 deletions(-)

diff --git a/science/libcifpp/Makefile b/science/libcifpp/Makefile
index c26cbf0ae479..d9ea3b077d47 100644
--- a/science/libcifpp/Makefile
+++ b/science/libcifpp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libcifpp
 DISTVERSIONPREFIX=	v
-DISTVERSION=	7.0.4
+DISTVERSION=	7.0.5
 CATEGORIES=	science
 MASTER_SITES=	https://files.wwpdb.org/pub/pdb/data/monomers/:components
 DISTFILES=	components.cif.gz:components
diff --git a/science/libcifpp/distinfo b/science/libcifpp/distinfo
index 860546baef63..cebc2c3c6840 100644
--- a/science/libcifpp/distinfo
+++ b/science/libcifpp/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1722210707
-SHA256 (libcifpp-7.0.4/components.cif.gz) = 09b35f5f7e2841f08a6d3f19fc66e4d422b2a415d08cae5f074723608b997278
-SIZE (libcifpp-7.0.4/components.cif.gz) = 100547781
-SHA256 (libcifpp-7.0.4/PDB-REDO-libcifpp-v7.0.4_GH0.tar.gz) = 324eda2f6874df32671cd984c7249bfae025ca3fe1bfd875cbef35b046408b88
-SIZE (libcifpp-7.0.4/PDB-REDO-libcifpp-v7.0.4_GH0.tar.gz) = 2598838
+TIMESTAMP = 1726205020
+SHA256 (libcifpp-7.0.5/components.cif.gz) = d7b861b7b270188584c45a2802c048dbdb3c61325856536c8aab1276398b5e34
+SIZE (libcifpp-7.0.5/components.cif.gz) = 101362575
+SHA256 (libcifpp-7.0.5/PDB-REDO-libcifpp-v7.0.5_GH0.tar.gz) = 5de29b28e422c27464f346dc2dd238e514b06dd588590af7ec4139f03817f5a0
+SIZE (libcifpp-7.0.5/PDB-REDO-libcifpp-v7.0.5_GH0.tar.gz) = 2648187
diff --git a/science/libcifpp/files/patch-CMakeLists.txt b/science/libcifpp/files/patch-CMakeLists.txt
index cd053e94fecc..ffc6a39a4f00 100644
--- a/science/libcifpp/files/patch-CMakeLists.txt
+++ b/science/libcifpp/files/patch-CMakeLists.txt
@@ -1,24 +1,15 @@
---- CMakeLists.txt.orig	2024-04-03 12:01:51 UTC
+--- CMakeLists.txt.orig	2024-09-13 05:26:00 UTC
 +++ CMakeLists.txt
-@@ -331,7 +331,7 @@ set(project_headers
- 	include/cif++/validate.hpp
- )
- 
--add_library(cifpp STATIC)
-+add_library(cifpp)
- add_library(cifpp::cifpp ALIAS cifpp)
- 
- target_sources(cifpp
 @@ -395,7 +395,7 @@ if(CIFPP_DOWNLOAD_CCD)
- 		# to download the gzipped version and decompress it ourselves.
- 		find_program(GUNZIP gunzip)
  
--		if(WIN32 OR GUNZIP STREQUAL "GUNZIP-NOTFOUND")
-+		if(FALSE OR WIN32 OR GUNZIP STREQUAL "GUNZIP-NOTFOUND")
+ 		if(WIN32 OR GUNZIP STREQUAL "GUNZIP-NOTFOUND")
  			file(
- 				DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif
+-				DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif
++				DOWNLOAD file://${DISTDIR_FULL}/components.cif.gz
  				${COMPONENTS_CIF}
-@@ -405,7 +405,7 @@ if(CIFPP_DOWNLOAD_CCD)
+ 				SHOW_PROGRESS
+ 				STATUS CCD_FETCH_STATUS)
+@@ -403,7 +403,7 @@ if(CIFPP_DOWNLOAD_CCD)
  			if(NOT EXISTS "${COMPONENTS_CIF}.gz")
  				file(
  					DOWNLOAD
@@ -27,7 +18,7 @@
  					${COMPONENTS_CIF}.gz
  					SHOW_PROGRESS
  					STATUS CCD_FETCH_STATUS)
-@@ -557,7 +557,7 @@ if(CIFPP_INSTALL_UPDATE_SCRIPT)
+@@ -556,7 +556,7 @@ if(CIFPP_INSTALL_UPDATE_SCRIPT)
  
  	# a config file, to make it complete
  	# install(DIRECTORY DESTINATION "${CMAKE_INSTALL_LOCALSTATEDIR}/libcifpp")
diff --git a/science/libcifpp/pkg-plist b/science/libcifpp/pkg-plist
index 1238023be915..ec487c1bfcb2 100644
--- a/science/libcifpp/pkg-plist
+++ b/science/libcifpp/pkg-plist
@@ -34,7 +34,7 @@ lib/cmake/cifpp/cifpp-targets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/cifpp/cifpp-targets.cmake
 lib/libcifpp.so
 lib/libcifpp.so.7.0
-lib/libcifpp.so.7.0.4
+lib/libcifpp.so.7.0.5
 %%DATADIR%%/components.cif
 %%DATADIR%%/mmcif_ddl.dic
 %%DATADIR%%/mmcif_ma.dic