diff options
Diffstat (limited to 'math/xlife++')
-rw-r--r-- | math/xlife++/Makefile | 14 | ||||
-rw-r--r-- | math/xlife++/distinfo | 6 | ||||
-rw-r--r-- | math/xlife++/files/patch-CMakeLists.txt | 4 | ||||
-rw-r--r-- | math/xlife++/files/patch-src_utils_Environment.cpp | 14 | ||||
-rw-r--r-- | math/xlife++/pkg-plist | 2 |
5 files changed, 21 insertions, 19 deletions
diff --git a/math/xlife++/Makefile b/math/xlife++/Makefile index ca7e96356bbe..93b6c15d417e 100644 --- a/math/xlife++/Makefile +++ b/math/xlife++/Makefile @@ -1,8 +1,8 @@ PORTNAME= xlife++ -DISTVERSION= 2.3 +DISTVERSION= 3.0 CATEGORIES= math -MASTER_SITES= https://uma.ensta-paristech.fr/soft/XLiFE++/downloads/binaries/ -DISTNAME= xlifepp-sources-v${DISTVERSION}-2022-04-22 +MASTER_SITES= https://gitlab.inria.fr/xlifepp/downloads/-/raw/main/v${DISTVERSION}/ +DISTNAME= xlifepp-sources-v${DISTVERSION}-2025-01-30 MAINTAINER= yuri@FreeBSD.org COMMENT= XLiFE++: eXtended Library of Finite Elements in C++ @@ -12,12 +12,12 @@ WWW= https://xlifepp.pages.math.cnrs.fr/ \ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN_FreeBSD_15= compilation fails with clang-19, e-mailed to authors on 2024-11-03 - -USES= cmake compiler:c++11-lang eigen:3 fortran tar:tbz +USES= cmake compiler:c++11-lang eigen:3 fortran USE_CXXSTD= c++11 USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/xlifepp-v${DISTVERSION} + CMAKE_OFF= XLIFEPP_ENABLE_ARPACK # should be ON, but it fails to build. Reported to their bugs ML. CXXFLAGS+= -I${LOCALBASE}/include/eigen3/Eigen -I${LOCALBASE}/include/ARPACK++ @@ -36,4 +36,6 @@ post-configure: post-install: @cd ${STAGEDIR}${PREFIX} && ${RM} -r CMakeLists.txt VERSION.txt etc/visuTermVec.m etc/templates etc/gmsh +# build from source instructions: https://xlifepp.pages.math.cnrs.fr/installation/from_sources.html + .include <bsd.port.mk> diff --git a/math/xlife++/distinfo b/math/xlife++/distinfo index 2c25cea38836..543b269fa611 100644 --- a/math/xlife++/distinfo +++ b/math/xlife++/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1688574100 -SHA256 (xlifepp-sources-v2.3-2022-04-22.tbz) = 1cdec9efb7f74a09f3daaa5df08c0dc74ea8081a936d1e2403c28c495345a986 -SIZE (xlifepp-sources-v2.3-2022-04-22.tbz) = 136367920 +TIMESTAMP = 1756151286 +SHA256 (xlifepp-sources-v3.0-2025-01-30.tar.gz) = f5b71290a3a3bf43c0e16862d46372cce1a1b1406e07c18420ada719b590e4cb +SIZE (xlifepp-sources-v3.0-2025-01-30.tar.gz) = 183860463 diff --git a/math/xlife++/files/patch-CMakeLists.txt b/math/xlife++/files/patch-CMakeLists.txt index fedd2a0e76f2..c2eb96eb8cc2 100644 --- a/math/xlife++/files/patch-CMakeLists.txt +++ b/math/xlife++/files/patch-CMakeLists.txt @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2022-04-22 18:54:13 UTC +--- CMakeLists.txt.orig 2025-01-30 16:44:33 UTC +++ CMakeLists.txt -@@ -334,7 +334,7 @@ endif() +@@ -344,7 +344,7 @@ foreach (lib ${libs}) set(XLIFEPP_LIBS "") foreach (lib ${libs}) file(GLOB_RECURSE libsrcs src/${lib}/*.cpp) diff --git a/math/xlife++/files/patch-src_utils_Environment.cpp b/math/xlife++/files/patch-src_utils_Environment.cpp index 766bdf83b972..3e5bf1d170e6 100644 --- a/math/xlife++/files/patch-src_utils_Environment.cpp +++ b/math/xlife++/files/patch-src_utils_Environment.cpp @@ -1,11 +1,11 @@ ---- src/utils/Environment.cpp.orig 2022-04-22 18:54:13 UTC +--- src/utils/Environment.cpp.orig 2025-01-30 16:44:33 UTC +++ src/utils/Environment.cpp @@ -122,7 +122,7 @@ void Environment::setMsgFilePath() string_t lang="en"; if (theLanguage_ != 0) lang=languageString(); - #ifdef OS_IS_UNIX -- thePathToMessageFiles_ = installPath() + "/etc/messages/" + lang + "/"; -+ thePathToMessageFiles_ = installPath() + "/share/xlife++/messages/" + lang + "/"; - #elif defined(OS_IS_WIN) - thePathToMessageFiles_ = installPath() + "\\etc\\messages\\" + lang + "\\"; - #endif + #ifdef OS_IS_UNIX +- thePathToMessageFiles_ = installPath() + "/etc/messages/" + lang + "/"; ++ thePathToMessageFiles_ = installPath() + "/share/xlife++/messages/" + lang + "/"; + #elif defined(OS_IS_WIN) + thePathToMessageFiles_ = installPath() + "\\etc\\messages\\" + lang + "\\"; + #endif diff --git a/math/xlife++/pkg-plist b/math/xlife++/pkg-plist index 8125b358a3db..34ba1373f629 100644 --- a/math/xlife++/pkg-plist +++ b/math/xlife++/pkg-plist @@ -205,6 +205,7 @@ include/mathsResources/greenFunctions/Helmholtz3dKernel.hpp include/mathsResources/greenFunctions/Laplace2dKernel.hpp include/mathsResources/greenFunctions/Laplace3dKernel.hpp include/mathsResources/greenFunctions/Maxwell3dKernel.hpp +include/mathsResources/greenFunctions/Navier3dKernel.hpp include/mathsResources/polynomialsRoots.hpp include/mathsResources/quadratureMethods.hpp include/mathsResources/randomGenerators.hpp @@ -304,7 +305,6 @@ include/utils/Node.hpp include/utils/Parameters.hpp include/utils/Point.hpp include/utils/PrintStream.hpp -include/utils/Reals.hpp include/utils/SparseMatrix.hpp include/utils/String.hpp include/utils/SymbolicFunction.hpp |