diff --git a/science/precice/Makefile b/science/precice/Makefile index ccdb253a9840..df31d1c30c82 100644 --- a/science/precice/Makefile +++ b/science/precice/Makefile @@ -1,44 +1,47 @@ PORTNAME= precice DISTVERSIONPREFIX= v -DISTVERSION= 2.5.1 -PORTREVISION= 2 +DISTVERSION= 3.1.2 CATEGORIES= science # physics MAINTAINER= yuri@FreeBSD.org COMMENT= Coupling library for partitioned multi-physics simulations WWW= https://precice.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libmpicxx.so:net/mpich +RUN_DEPENDS= ${PYNUMPY} -USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig # fails with ninja: phony target 'binprecice' names itself as an input; ignoring +USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig python shebangfix # fails with ninja: phony target 'binprecice' names itself as an input; ignoring USE_GNOME= libxml2 USE_LDCONFIG= yes USE_GITHUB= yes +SHEBANG_FILES= tools/profiling/precice-profiling + CMAKE_OFF= BUILD_TESTING PRECICE_ENABLE_FORTRAN PRECICE_PythonActions OPTIONS_DEFINE= MPI PETSC EXAMPLES MPI_CMAKE_BOOL= PRECICE_MPICommunication MPI_BUILD_DEPENDS= openmpi>0:net/openmpi MPI_RUN_DEPENDS= openmpi>0:net/openmpi MPI_BROKEN= all tests crash with MPI, see https://github.com/precice/precice/issues/1331 PETSC_DESC= Use PETSc linear algebra library -PETSC_CMAKE_BOOL= PRECICE_PETScMapping +PETSC_CMAKE_BOOL= PRECICE_FEATURE_PETSC_MAPPING PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_IMPLIES= MPI PORTEXAMPLES= * # 3 tests time out, 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 index 1b35d164d274..88a17e938841 100644 --- a/science/precice/distinfo +++ b/science/precice/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1706689210 -SHA256 (precice-precice-v2.5.1_GH0.tar.gz) = a5a37d3430eac395e885eb9cbbed9d0980a15e96c3e44763a3769fa7301e3b3a -SIZE (precice-precice-v2.5.1_GH0.tar.gz) = 1653434 +TIMESTAMP = 1731126071 +SHA256 (precice-precice-v3.1.2_GH0.tar.gz) = e06d5e183f584c51812dcddf958210d1195bea38fa2df13be72303dcb06c869b +SIZE (precice-precice-v3.1.2_GH0.tar.gz) = 1666984 diff --git a/science/precice/pkg-plist b/science/precice/pkg-plist index 1acc0b069ef2..3f329ce21251 100644 --- a/science/precice/pkg-plist +++ b/science/precice/pkg-plist @@ -1,17 +1,21 @@ -bin/binprecice +bin/precice-profiling bin/precice-tools -include/precice/SolverInterface.hpp -include/precice/SolverInterfaceC.h +include/precice/Participant.hpp include/precice/Tooling.hpp +include/precice/Types.hpp include/precice/Version.h -include/precice/types.hpp +include/precice/export.h +include/precice/precice.hpp +include/precice/preciceC.h +include/precice/preciceFortran.hpp +include/precice/span.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.5.1 +lib/libprecice.so.3 +lib/libprecice.so.3.1.2 libdata/pkgconfig/libprecice.pc -share/lintian/overrides/libprecice2 +share/lintian/overrides/libprecice3 share/man/man1/precice-tools.1.gz