From nobody Mon Jun 20 16:53:16 2022 X-Original-To: dev-commits-ports-main@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 4DD1C876A09; Mon, 20 Jun 2022 16:53:17 +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 4LRbLj0thMz3Cq9; Mon, 20 Jun 2022 16:53:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655743997; 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=43cm4EFhxih1S6RZxU9H09p9puruhO47eLoWr7K60U4=; b=KBPzGsZjLDFwmD/Kpajt1G3C+lT5FHAKPCNhpEeIBmnRzE5t80qxBm46ajFHY5SPhNJPK1 byDU35oSWrfGFg0WG7GgjTyqTi5SXQeZF615Q/3f3Z1uW2+CgyENtGgmBmIx+GXR2dDwJc ObHFoFf8HZSTQv+C1yT9oMoCKyotxiw3yiEm4OLlp+OJ2uUFZtJVkoyh/BWR/D7P4rcgfo Fb+AjGkTfSWsNQb4L2FZWA0PXbGNc2vJ8kjQcPoYIJRNwGTsCebjjn9ftlMLFuqmO4Uamp MkJEdEFmL8iC7HIjuqbKhgdG2NUns8ClcjjG1ehBNnithOssLyJTF0wshFnmcg== 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 E832F2118D; Mon, 20 Jun 2022 16:53:16 +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 25KGrGsa039788; Mon, 20 Jun 2022 16:53:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25KGrGhg039787; Mon, 20 Jun 2022 16:53:16 GMT (envelope-from git) Date: Mon, 20 Jun 2022 16:53:16 GMT Message-Id: <202206201653.25KGrGhg039787@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: 672f96db60a1 - main - science/precice: New port: Coupling library for partitioned multi-physics simulations List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 672f96db60a1557abf034ceba9b7636195da5770 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655743997; 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=43cm4EFhxih1S6RZxU9H09p9puruhO47eLoWr7K60U4=; b=iVAKlok75oJmHYMS7zQ8RuLrH2APq+tfeIoxp13RfAQYHzJhlIHEH1lDDH+gOOZTIPtjQR moIUYgb8Gt3YK7Pm/685KpmswGe9sy0D5NseYjt66pgGBr80OoCKx/NZ8POzU1yedzJ1zM H4VFNY8KttCAAPl85Sk8OO7eyprRPTfrTyR2f23iAVF4kq2XhNGQiQI5z1pmaMTxkUR+qs qJp3/Me3OlSeUH+qeBjzJZ/vWyLGvfAZnyk0MlR23NUQg8vCpRkGE6UcZKXeVCAjoEpdLb 3NuDaFG5Qlt7QjaYuszKHFpT6aKYPBuEV8g9Gy04W18BtnKJ2/T4DTOvYllG1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655743997; a=rsa-sha256; cv=none; b=VoSwjvAToqbqkMMK5zKogEwto1E2ZeKEpsF/WIziTHC9NmjXlik7i3XUWNlJ1IeYQ8IaRg M3UbxYI3ehn3GFTsID5H6PzVnnC4rbNzemc7FSQWiodxTX5DW6R0RCb/4MeRVpH36p19QO QlRjwCMIjVWGUUDDD/sP4NQ3MKCSyYnNlpPAMVAUjg5mhhdr1vPYNBvd1/+Pvb2LRBmYu4 WuCH6mBi0jXw/63+eSl8x91m6h7woqOBDV9LRBnEw1P4LPZf3BEiGJNwOtrgY1Jtelz9xz 7HwDur+cXMpNlH6kf7RiLdsQehcOZuUSmCZkGcHYnMOk1sfcz/5N2UaQPTv9uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=672f96db60a1557abf034ceba9b7636195da5770 commit 672f96db60a1557abf034ceba9b7636195da5770 Author: Yuri Victorovich AuthorDate: 2022-06-20 16:49:55 +0000 Commit: Yuri Victorovich CommitDate: 2022-06-20 16:53:11 +0000 science/precice: New port: Coupling library for partitioned multi-physics simulations --- science/Makefile | 1 + science/precice/Makefile | 33 ++++++++++++++++++++++++++++++ science/precice/distinfo | 3 +++ science/precice/files/patch-CMakeLists.txt | 11 ++++++++++ science/precice/pkg-descr | 5 +++++ science/precice/pkg-plist | 16 +++++++++++++++ 6 files changed, 69 insertions(+) diff --git a/science/Makefile b/science/Makefile index fa98002f91a9..06c04580a862 100644 --- a/science/Makefile +++ b/science/Makefile @@ -242,6 +242,7 @@ SUBDIR += phonopy SUBDIR += plumed SUBDIR += pnetcdf + SUBDIR += precice SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-GPy diff --git a/science/precice/Makefile b/science/precice/Makefile new file mode 100644 index 000000000000..e6da4a1f5371 --- /dev/null +++ b/science/precice/Makefile @@ -0,0 +1,33 @@ +PORTNAME= precice +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.0 +CATEGORIES= science # physics + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Coupling library for partitioned multi-physics simulations + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libmpicxx.so:net/mpich \ + libpetsc.so:science/PETSc + +USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig # fails with ninja: phony target 'binprecice' names itself as an input; ignoring +USE_GNOME= libxml2 +USE_LDCONFIG= yes + +USE_GITHUB= yes + +CMAKE_OFF= BUILD_TESTING PRECICE_ENABLE_FORTRAN PRECICE_PythonActions + +OPTIONS_DEFINE= EXAMPLES + +PORTEXAMPLES= * + +# several tests are known to fail, see https://github.com/precice/precice/issues/1331 + +post-install: # remove files which aren't docs + @${RM} -r ${STAGEDIR}${PREFIX}/share/doc + +.include diff --git a/science/precice/distinfo b/science/precice/distinfo new file mode 100644 index 000000000000..ec753470c6af --- /dev/null +++ b/science/precice/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655718589 +SHA256 (precice-precice-v2.4.0_GH0.tar.gz) = 762e603fbcaa96c4fb0b378b7cb6789d09da0cf6193325603e5eeb13e4c7601c +SIZE (precice-precice-v2.4.0_GH0.tar.gz) = 1596029 diff --git a/science/precice/files/patch-CMakeLists.txt b/science/precice/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..77b6ab92d538 --- /dev/null +++ b/science/precice/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-06-20 10:08:50 UTC ++++ CMakeLists.txt +@@ -461,7 +461,7 @@ endif() + + # Install examples + install(DIRECTORY examples +- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/precice ++ DESTINATION share/examples/precice + PATTERN ".gitignore" EXCLUDE + ) + diff --git a/science/precice/pkg-descr b/science/precice/pkg-descr new file mode 100644 index 000000000000..060a3a18b617 --- /dev/null +++ b/science/precice/pkg-descr @@ -0,0 +1,5 @@ +preCICE is an open-source coupling library for partitioned +multi-physics simulations, including, but not restricted to +fluid-structure interaction and conjugate heat transfer simulations. + +WWW: https://precice.org/ diff --git a/science/precice/pkg-plist b/science/precice/pkg-plist new file mode 100644 index 000000000000..d590108a64a7 --- /dev/null +++ b/science/precice/pkg-plist @@ -0,0 +1,16 @@ +bin/binprecice +bin/precice-tools +include/precice/SolverInterface.hpp +include/precice/SolverInterfaceC.h +include/precice/Tooling.hpp +include/precice/types.hpp +lib/cmake/precice/preciceConfig.cmake +lib/cmake/precice/preciceConfigVersion.cmake +lib/cmake/precice/preciceTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/precice/preciceTargets.cmake +lib/libprecice.so +lib/libprecice.so.2 +lib/libprecice.so.2.4.0 +libdata/pkgconfig/libprecice.pc +share/lintian/overrides/libprecice2 +share/man/man1/precice-tools.1.gz