diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-01-24 08:33:11 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-01-24 08:33:51 +0000 |
commit | fb235ec9284f3adba4f057514881bb645e850db9 (patch) | |
tree | f27b1dae0c92254e93aa0e21a4d2f92c67a9d8fd | |
parent | e7e2d494e8e89c8b1299437d0acbafec6fb4b65e (diff) | |
download | ports-fb235ec9284f3adba4f057514881bb645e850db9.tar.gz ports-fb235ec9284f3adba4f057514881bb645e850db9.zip |
math/libformfactor: New port: Library for computation of scattering form factors of polyhedra
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/libformfactor/Makefile | 22 | ||||
-rw-r--r-- | math/libformfactor/distinfo | 3 | ||||
-rw-r--r-- | math/libformfactor/files/patch-CMakeLists.txt | 12 | ||||
-rw-r--r-- | math/libformfactor/pkg-descr | 2 | ||||
-rw-r--r-- | math/libformfactor/pkg-plist | 11 |
6 files changed, 51 insertions, 0 deletions
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 |