git: ecfef5647738 - main - math/libformfactor: update 0.1.3 → 0.3.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 20 Jan 2025 02:40:51 UTC
The branch main has been updated by yuri:

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

commit ecfef5647738909db3d54ba50fb8502611b362f6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-20 01:42:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-20 02:40:37 +0000

    math/libformfactor: update 0.1.3 → 0.3.1
---
 math/libformfactor/Makefile                   |  6 ++++--
 math/libformfactor/distinfo                   |  6 +++---
 math/libformfactor/files/patch-CMakeLists.txt |  8 ++++----
 math/libformfactor/pkg-plist                  | 10 ++++++----
 4 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/math/libformfactor/Makefile b/math/libformfactor/Makefile
index 75413f59c82a..6b7759aaeff6 100644
--- a/math/libformfactor/Makefile
+++ b/math/libformfactor/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libformfactor
-DISTVERSION=	0.1.3
+DISTVERSION=	0.3.1
 CATEGORIES=	math
 MASTER_SITES=	https://jugit.fz-juelich.de/mlz/libformfactor/-/archive/v${DISTVERSION}/
 DISTNAME=	${PORTNAME}-v${DISTVERSION}
@@ -13,10 +13,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	libheinz>0:devel/libheinz
 
-USES=		cmake:testing
+USES=		compiler:c++20-lang cmake:testing
 USE_LDCONFIG=	yes
 
 CMAKE_OFF=	BUILD_TESTING
 CMAKE_TESTING_ON=	BUILD_TESTING
 
+# tests as of 0.3.1: 100% tests passed, 0 tests failed out of 18
+
 .include <bsd.port.mk>
diff --git a/math/libformfactor/distinfo b/math/libformfactor/distinfo
index a9e2c3690b6a..740bbdeadc2c 100644
--- a/math/libformfactor/distinfo
+++ b/math/libformfactor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674545116
-SHA256 (libformfactor-v0.1.3.tar.gz) = 933f1f0e4f0c7e4c5e14994d1550d242070ad09f9315e0548dd874cecba66032
-SIZE (libformfactor-v0.1.3.tar.gz) = 141200
+TIMESTAMP = 1737283223
+SHA256 (libformfactor-v0.3.1.tar.gz) = bd03cf8dc77c87116d89932f923e7592e59edecb1bab520a188644198bfe0d68
+SIZE (libformfactor-v0.3.1.tar.gz) = 317693
diff --git a/math/libformfactor/files/patch-CMakeLists.txt b/math/libformfactor/files/patch-CMakeLists.txt
index 584fdc76afaf..06c04655bd95 100644
--- a/math/libformfactor/files/patch-CMakeLists.txt
+++ b/math/libformfactor/files/patch-CMakeLists.txt
@@ -1,9 +1,9 @@
---- CMakeLists.txt.orig	2023-01-24 07:39:32 UTC
+--- CMakeLists.txt.orig	2023-08-02 16:06:12 UTC
 +++ CMakeLists.txt
-@@ -42,7 +42,9 @@ message(STATUS "LibHeinz: found=${LibHeinz_FOUND}, inc
- include(CTest)
+@@ -62,7 +62,9 @@ include(CTest)
+ ## Tests.
  
- add_subdirectory(ff)
+ include(CTest)
 +if (BUILD_TESTING)
  add_subdirectory(test)
 +endif()
diff --git a/math/libformfactor/pkg-plist b/math/libformfactor/pkg-plist
index 39eb2bab7783..94646141525d 100644
--- a/math/libformfactor/pkg-plist
+++ b/math/libformfactor/pkg-plist
@@ -2,10 +2,12 @@ cmake/formfactorConfig.cmake
 cmake/formfactorConfigVersion.cmake
 cmake/formfactorTargets-%%CMAKE_BUILD_TYPE%%.cmake
 cmake/formfactorTargets.cmake
-include/ff/Platonic.h
-include/ff/PolyhedralComponents.h
-include/ff/PolyhedralTopology.h
+include/ff/Box.h
+include/ff/Face.h
+include/ff/IBody.h
+include/ff/Make.h
 include/ff/Polyhedron.h
 include/ff/Prism.h
+include/ff/Topology.h
 lib/libformfactor.so
-lib/libformfactor.so.0.1.3
+lib/libformfactor.so.0.3.1