diff --git a/math/libformfactor/Makefile b/math/libformfactor/Makefile index 75413f59c82a..6b7759aaeff6 100644 --- a/math/libformfactor/Makefile +++ b/math/libformfactor/Makefile @@ -1,22 +1,24 @@ 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} MAINTAINER= yuri@FreeBSD.org COMMENT= Library for computation of scattering form factors of polyhedra WWW= https://jugit.fz-juelich.de/mlz/libformfactor LICENSE= MIT 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 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,12 +1,12 @@ ---- 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() ## CPack settings. 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 @@ -1,11 +1,13 @@ 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