git: d9b35c002a38 - main - math/cminpack: update to 1.3.9

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 30 May 2024 06:25:57 UTC
The branch main has been updated by fernape:

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

commit d9b35c002a38458fb377a75dc12213ab763aea3f
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2024-05-29 06:36:39 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-05-30 06:25:48 +0000

    math/cminpack: update to 1.3.9
    
    ChangeLog: https://github.com/devernay/cminpack/releases/tag/v1.3.9
---
 math/cminpack/Makefile                         |  3 +--
 math/cminpack/distinfo                         |  6 +++---
 math/cminpack/files/patch-CMakeLists.txt       | 11 +++++++++++
 math/cminpack/files/patch-cmake_CMakeLists.txt | 10 ----------
 math/cminpack/pkg-plist                        | 13 +++++++++++--
 5 files changed, 26 insertions(+), 17 deletions(-)

diff --git a/math/cminpack/Makefile b/math/cminpack/Makefile
index 47560f69a427..b6a8876967d3 100644
--- a/math/cminpack/Makefile
+++ b/math/cminpack/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	cminpack
-PORTVERSION=	1.3.6
+PORTVERSION=	1.3.9
 DISTVERSIONPREFIX=	v
-PORTREVISION=	6
 CATEGORIES=	math
 
 MAINTAINER=	fernape@FreeBSD.org
diff --git a/math/cminpack/distinfo b/math/cminpack/distinfo
index 5894a1c3c5e5..314a45dd8d7c 100644
--- a/math/cminpack/distinfo
+++ b/math/cminpack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487969746
-SHA256 (devernay-cminpack-v1.3.6_GH0.tar.gz) = 3c07fd21308c96477a2c900032e21d937739c233ee273b4347a0d4a84a32d09f
-SIZE (devernay-cminpack-v1.3.6_GH0.tar.gz) = 313459
+TIMESTAMP = 1716964535
+SHA256 (devernay-cminpack-v1.3.9_GH0.tar.gz) = aa37bac5b5caaa4f5805ea5c4240e3834c993672f6dab0b17190ee645e251c9f
+SIZE (devernay-cminpack-v1.3.9_GH0.tar.gz) = 337119
diff --git a/math/cminpack/files/patch-CMakeLists.txt b/math/cminpack/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..4562f5571eff
--- /dev/null
+++ b/math/cminpack/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2024-05-29 12:19:48 UTC
++++ CMakeLists.txt
+@@ -181,7 +181,7 @@ foreach (cminpack_lib ${cminpack_libs})
+   endif ()
+   configure_file (cmake/cminpack.pc.in ${pkg_conf_file} @ONLY)
+   install (FILES ${pkg_conf_file}
+-    DESTINATION ${CMINPACK_LIB_INSTALL_DIR}/pkgconfig/ COMPONENT pkgconfig)
++    DESTINATION libdata/pkgconfig/ COMPONENT pkgconfig)
+ 
+ endforeach ()
+ 
diff --git a/math/cminpack/files/patch-cmake_CMakeLists.txt b/math/cminpack/files/patch-cmake_CMakeLists.txt
deleted file mode 100644
index a8f9c202390e..000000000000
--- a/math/cminpack/files/patch-cmake_CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- cmake/CMakeLists.txt.orig	2017-02-24 21:33:00 UTC
-+++ cmake/CMakeLists.txt
-@@ -11,6 +11,6 @@ if (USE_BLAS AND BLAS_FOUND)
- endif()
- configure_file(cminpack.pc.in ${pkg_conf_file} @ONLY)
- install(FILES ${pkg_conf_file}
--    DESTINATION ${CMINPACK_LIB_INSTALL_DIR}/pkgconfig/ COMPONENT pkgconfig)
-+    DESTINATION libdata/pkgconfig/ COMPONENT pkgconfig)
- 
- install(FILES CMinpackConfig.cmake DESTINATION share/cmake/CMinpack)
diff --git a/math/cminpack/pkg-plist b/math/cminpack/pkg-plist
index 370f75318dde..fc998bc76a4e 100644
--- a/math/cminpack/pkg-plist
+++ b/math/cminpack/pkg-plist
@@ -2,9 +2,18 @@ include/cminpack-1/cminpack.h
 include/cminpack-1/minpack.h
 lib/libcminpack.so
 lib/libcminpack.so.1
-lib/libcminpack.so.1.3.6
+lib/libcminpack.so.1.3.9
+lib/libcminpackld.so
+lib/libcminpackld.so.1
+lib/libcminpackld.so.1.3.9
+lib/libcminpacks.so
+lib/libcminpacks.so.1
+lib/libcminpacks.so.1.3.9
 libdata/pkgconfig/cminpack.pc
-share/cmake/CMinpack/CMinpackConfig.cmake
+libdata/pkgconfig/cminpackld.pc
+libdata/pkgconfig/cminpacks.pc
+%%DATADIR%%/CMinpackConfig-%%CMAKE_BUILD_TYPE%%.cmake
+%%DATADIR%%/CMinpackConfig.cmake
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chkdrv.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chkdrv_.c
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cmpfiles.c