git: fb235ec9284f - main - math/libformfactor: New port: Library for computation of scattering form factors of polyhedra
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 08:34:09 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb235ec9284f3adba4f057514881bb645e850db9 commit fb235ec9284f3adba4f057514881bb645e850db9 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-24 08:33:11 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-24 08:33:51 +0000 math/libformfactor: New port: Library for computation of scattering form factors of polyhedra --- math/Makefile | 1 + math/libformfactor/Makefile | 22 ++++++++++++++++++++++ math/libformfactor/distinfo | 3 +++ math/libformfactor/files/patch-CMakeLists.txt | 12 ++++++++++++ math/libformfactor/pkg-descr | 2 ++ math/libformfactor/pkg-plist | 11 +++++++++++ 6 files changed, 51 insertions(+) diff --git a/math/Makefile b/math/Makefile index 519125e2796d..86788152869b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -441,6 +441,7 @@ SUBDIR += libdivide SUBDIR += libfixmath SUBDIR += libflame + SUBDIR += libformfactor SUBDIR += libhomfly SUBDIR += libmesh SUBDIR += libmissing diff --git a/math/libformfactor/Makefile b/math/libformfactor/Makefile new file mode 100644 index 000000000000..75413f59c82a --- /dev/null +++ b/math/libformfactor/Makefile @@ -0,0 +1,22 @@ +PORTNAME= libformfactor +DISTVERSION= 0.1.3 +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 +USE_LDCONFIG= yes + +CMAKE_OFF= BUILD_TESTING +CMAKE_TESTING_ON= BUILD_TESTING + +.include <bsd.port.mk> diff --git a/math/libformfactor/distinfo b/math/libformfactor/distinfo new file mode 100644 index 000000000000..a9e2c3690b6a --- /dev/null +++ b/math/libformfactor/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1674545116 +SHA256 (libformfactor-v0.1.3.tar.gz) = 933f1f0e4f0c7e4c5e14994d1550d242070ad09f9315e0548dd874cecba66032 +SIZE (libformfactor-v0.1.3.tar.gz) = 141200 diff --git a/math/libformfactor/files/patch-CMakeLists.txt b/math/libformfactor/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..584fdc76afaf --- /dev/null +++ b/math/libformfactor/files/patch-CMakeLists.txt @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2023-01-24 07:39:32 UTC ++++ CMakeLists.txt +@@ -42,7 +42,9 @@ message(STATUS "LibHeinz: found=${LibHeinz_FOUND}, inc + include(CTest) + + add_subdirectory(ff) ++if (BUILD_TESTING) + add_subdirectory(test) ++endif() + + ## CPack settings. + diff --git a/math/libformfactor/pkg-descr b/math/libformfactor/pkg-descr new file mode 100644 index 000000000000..ef8bf214d3c3 --- /dev/null +++ b/math/libformfactor/pkg-descr @@ -0,0 +1,2 @@ +libformfactor performs efficient computation of scattering form factors +(Fourier shape transforms) of arbitrary polyhedra. diff --git a/math/libformfactor/pkg-plist b/math/libformfactor/pkg-plist new file mode 100644 index 000000000000..39eb2bab7783 --- /dev/null +++ b/math/libformfactor/pkg-plist @@ -0,0 +1,11 @@ +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/Polyhedron.h +include/ff/Prism.h +lib/libformfactor.so +lib/libformfactor.so.0.1.3