From nobody Tue Jan 24 08:34:09 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1Ky95hLBz30tD0; Tue, 24 Jan 2023 08:34:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1Ky9503Gz3MgL; Tue, 24 Jan 2023 08:34:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674549249; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tRYqQ5M5x0PBnbcg1txTwL1N5+k9l3wiYnP0QcEuOiA=; b=jWHbf6tmIih2kQHY+251HWEMBCW+k/WB2USj4Xy4p7fo/skJW/BWE5uyKSypLQ8pBnc93C H+DY4aMws+LpzTFwbSIHlu8NV2zXhUh0gUvSe/UjdrAtky85d1i9mtrOs+vKLGBZNXQHw+ 0RVTSfFvGVynoS3FYhD8o0TexlWRPuyXx1EWCzRX3gT3ouEsNISLOgI5lvqGSwOP5BxikS tt+6GXenB86SSroYi8y+YvljYIdQYpdJEWWgoPnjjRqxOVjPvdvfKlYJELJbvm7EcbVZkM TBvMxlYZbcdO4mVLgo0s0/MRPQlEaKwDytBvzm1EibjHTHYXBRahtq5zSVPHXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674549249; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tRYqQ5M5x0PBnbcg1txTwL1N5+k9l3wiYnP0QcEuOiA=; b=HtRir6ukK1RR+NtK9YTF4txOEHtYVq921I3kHzWezrGQBGRV6hYXfyYdqmVfpRyjM2u92A 9aa08fgqG5iFRcZspkshml8+q0SLMGXW41C2NUt6QjECptBVnjfDVSIfYC4nz4Ddc0njg0 +hBoi2I2hzrebnE20x1fS4dnXXf0b8Yj1HJ1lD0tXCPGbiV0F862zQwm9re5pMX0uE1X1V BWA2BpccHZpJDUlAMPy2QmyYkD7kU6tpuqD+LbKXllODyBjNIwkeTdZa2xKzCJ+KL9vY0L PaQlTfJ4TusX6THaaX0VduONUiU0112IrgNNoNf9gqAstFl4bRj8tN1y1jopPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674549249; a=rsa-sha256; cv=none; b=dw0/dt3G91IF5nDKuayaMKcXPJAKy7HVl5vVIIkYjkfzcAobRZYcroz7N6v7eFQEvzCWIa jXVsR6hSZGoqsm69bhxofVfOwy5AcIjuD1/ZeNrQibTrFb8wlfGooFSfKdmvDFd53yJAAP sC+fz3AGZeM5/PyZGi2kE/pHx5hWv86oZkJN6PTs078Ms4ZB5EHHDMuGHQhS73A0wIqyi8 94PpDCKF2OWAOULheFMwlN9I8khz07yvogShxDOlLfBRXxCQmVXfHJCyQFJnyMxnt67PlS 8uZDCAZO4Eyj+Q9Com3qp8b1f6HNjtea26mst7NvCfzQbm8t5H3WfBhhwLRW0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P1Ky944X9z12Gt; Tue, 24 Jan 2023 08:34:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30O8Y9Ig006751; Tue, 24 Jan 2023 08:34:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30O8Y9YF006750; Tue, 24 Jan 2023 08:34:09 GMT (envelope-from git) Date: Tue, 24 Jan 2023 08:34:09 GMT Message-Id: <202301240834.30O8Y9YF006750@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: fb235ec9284f - main - math/libformfactor: New port: Library for computation of scattering form factors of polyhedra List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb235ec9284f3adba4f057514881bb645e850db9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb235ec9284f3adba4f057514881bb645e850db9 commit fb235ec9284f3adba4f057514881bb645e850db9 Author: Yuri Victorovich AuthorDate: 2023-01-24 08:33:11 +0000 Commit: Yuri Victorovich 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 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