git: ca1cf6592335 - main - math/saga: Update to 9.4.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 16:19:17 UTC
The branch main has been updated by rhurlin:

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

commit ca1cf6592335677f446c38ac8b3cee649d2aa9d3
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2024-04-16 15:50:35 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2024-04-16 15:50:35 +0000

    math/saga: Update to 9.4.0
    
    Changelog: https://sourceforge.net/p/saga-gis/wiki/Changelog%209.4.0/attachment/changelog_saga_9.4.0.txt
    
    Reported by:    Repology
---
 math/saga/Makefile                                 |  5 ++---
 math/saga/distinfo                                 |  6 +++---
 math/saga/files/patch-cmake_modules_FindPDAL.cmake | 23 ----------------------
 .../patch-src_tools_io_io__pdal_CMakeLists.txt     | 17 ----------------
 4 files changed, 5 insertions(+), 46 deletions(-)

diff --git a/math/saga/Makefile b/math/saga/Makefile
index 2bb3ddeb1268..d10355f3b672 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	saga
-PORTVERSION=	9.3.2
-PORTREVISION=	1
+PORTVERSION=	9.4.0
 CATEGORIES=	math
 MASTER_SITES=	SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
 
@@ -36,7 +35,7 @@ DOS2UNIX_GLOB=	*.cpp *.h
 USE_LDCONFIG=	yes
 USE_WX=		3.2+
 
-GIT_TAGNAME=	dbab6034ef8e
+GIT_TAGNAME=	0c6bbea57
 
 CMAKE_ARGS=	-DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h
 CMAKE_ON=	CMAKE_VERBOSE_MAKEFILE
diff --git a/math/saga/distinfo b/math/saga/distinfo
index 2d6aa1c9fe49..9b76df56a4c8 100644
--- a/math/saga/distinfo
+++ b/math/saga/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710272993
-SHA256 (saga-9.3.2.tar.gz) = ef8d4ee82eda9b14a738e4e579d1748b39958624fbf6d148e3e10eb6936a3f64
-SIZE (saga-9.3.2.tar.gz) = 9110511
+TIMESTAMP = 1713242953
+SHA256 (saga-9.4.0.tar.gz) = df78e612b5f65e5c83b5dc7bebe533917a35b27c04d16683a461c7bd9cfa83e2
+SIZE (saga-9.4.0.tar.gz) = 9184622
diff --git a/math/saga/files/patch-cmake_modules_FindPDAL.cmake b/math/saga/files/patch-cmake_modules_FindPDAL.cmake
deleted file mode 100644
index e6879b50383c..000000000000
--- a/math/saga/files/patch-cmake_modules_FindPDAL.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
---- cmake/modules/FindPDAL.cmake.orig	2024-02-22 20:36:47 UTC
-+++ cmake/modules/FindPDAL.cmake
-@@ -35,17 +35,10 @@ FIND_LIBRARY(PDAL_CPP_LIBRARY NAMES pdalcpp libpdalcpp
-   )
- FIND_LIBRARY(PDAL_CPP_LIBRARY NAMES pdalcpp libpdalcpp)
- 
--FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pdal_util libpdal_util PATHS
--  "$ENV{LIB_DIR}/lib"
--  c:/msys/local/lib
--  NO_DEFAULT_PATH
--  )
--FIND_LIBRARY(PDAL_UTIL_LIBRARY NAMES pdal_util libpdal_util)
--
--IF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY)
-+IF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY)
-    SET(PDAL_FOUND TRUE)
--   SET(PDAL_LIBRARIES ${PDAL_CPP_LIBRARY} ${PDAL_UTIL_LIBRARY})
--ENDIF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY AND PDAL_UTIL_LIBRARY)
-+   SET(PDAL_LIBRARIES ${PDAL_CPP_LIBRARY})
-+ENDIF (PDAL_INCLUDE_DIR AND PDAL_CPP_LIBRARY)
- 
- IF (PDAL_FOUND)
-    IF (NOT PDAL_FIND_QUIETLY)
diff --git a/math/saga/files/patch-src_tools_io_io__pdal_CMakeLists.txt b/math/saga/files/patch-src_tools_io_io__pdal_CMakeLists.txt
deleted file mode 100644
index bda10dfd1e8d..000000000000
--- a/math/saga/files/patch-src_tools_io_io__pdal_CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/tools/io/io_pdal/CMakeLists.txt.orig	2024-02-22 20:37:05 UTC
-+++ src/tools/io/io_pdal/CMakeLists.txt
-@@ -9,11 +9,10 @@ if(WITH_TOOLS_PDAL)
- 		endif()
- 		find_path   (PDAL_INCLUDE_DIR  NAMES pdal/pdal.hpp          PATHS "${LIB4SAGA}/include")
- 		find_library(PDAL_LIBRARY_CPP  NAMES pdalcpp libpdalcpp     PATHS "${LIB4SAGA}/lib")
--		find_library(PDAL_LIBRARY_UTIL NAMES pdal_util libpdal_util PATHS "${LIB4SAGA}/lib")
--		mark_as_advanced(PDAL_INCLUDE_DIR PDAL_LIBRARY_CPP PDAL_LIBRARY_UTIL)
-+		mark_as_advanced(PDAL_INCLUDE_DIR PDAL_LIBRARY_CPP)
- 		include(FindPackageHandleStandardArgs)
--		FIND_PACKAGE_HANDLE_STANDARD_ARGS(PDAL REQUIRED_VARS PDAL_LIBRARY_UTIL PDAL_LIBRARY_CPP PDAL_INCLUDE_DIR)
--		set(PDAL_LIBRARIES ${PDAL_LIBRARY_CPP} ${PDAL_LIBRARY_UTIL} ws2_32)
-+		FIND_PACKAGE_HANDLE_STANDARD_ARGS(PDAL REQUIRED_VARS PDAL_LIBRARY_CPP PDAL_INCLUDE_DIR)
-+		set(PDAL_LIBRARIES ${PDAL_LIBRARY_CPP} ws2_32)
- 	endif()
- 	if(NOT PDAL_FOUND)
- 		find_package(PDAL QUIET)	# link PDAL library