diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile index 205283770d26..36bda4005cdb 100644 --- a/biology/hhsuite/Makefile +++ b/biology/hhsuite/Makefile @@ -1,42 +1,42 @@ PORTNAME= hhsuite DISTVERSIONPREFIX= v DISTVERSION= 3.3.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= biology science MAINTAINER= yuri@FreeBSD.org COMMENT= Remote protein homology detection suite WWW= https://github.com/soedinglab/hh-suite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe # not for 32-bit architectures, see https://github.com/soedinglab/hh-suite/issues/322#issuecomment-1264416293 LIB_DEPENDS= libmpi.so:net/openmpi USES= compiler:c++11-lang cmake perl5 python shebangfix SHEBANG_GLOB= *.pl *.py USE_GITHUB= yes GH_ACCOUNT= soedinglab GH_PROJECT= hh-suite LDFLAGS+= -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib -lmpi # force linking to openmpi, and not to mpich .if !exists(/usr/include/omp.h) PLIST_SUB+= OPENMP="@comment " .else PLIST_SUB+= OPENMP="" .endif .include .if ${ARCH} == aarch64 CMAKE_ON= HAVE_ARM8 .elif ${ARCH} == amd64 || ${ARCH} == i386 CMAKE_ON= HAVE_SSE2 .elif ${ARCH} == powerpc64le CMAKE_ON= HAVE_POWER8 .endif .include diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile index bf196d736138..a0cfe9d9f10c 100644 --- a/cad/freecad/Makefile +++ b/cad/freecad/Makefile @@ -1,122 +1,122 @@ PORTNAME= FreeCAD DISTVERSION= 0.21.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad MAINTAINER= cmt@FreeBSD.org COMMENT= General purpose 3D CAD modeller WWW= https://www.freecadweb.org/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= doxygen:devel/doxygen \ pybind11-config:devel/py-pybind11@${PY_FLAVOR} \ pyside_tool.py:devel/pyside2-tools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_INCLUDEDIR}/CXX/Config.hxx:devel/py-cxx \ swig:devel/swig LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ ${PY_BOOST} \ libpyside2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/pyside2@${PY_FLAVOR} \ libCoin.so:graphics/Coin \ libfmt.so:devel/libfmt \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libTKernel.so:cad/opencascade \ libxerces-c.so:textproc/xerces-c3 \ libboost_thread.so:devel/boost-libs \ libmed.so:french/med \ libshiboken2.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}.so:devel/shiboken2@${PY_FLAVOR} \ libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pivy>0:graphics/py-pivy@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib@${PY_FLAVOR} USES= dos2unix compiler:c++17-lang cmake cpe gl eigen:3 fortran jpeg \ localbase:ldflags mpi:openmpi pkgconfig python localbase qt:5 xorg \ desktop-file-utils shared-mime-info shebangfix USE_GITHUB= yes USE_XORG= ice sm x11 xext xt USE_GL= gl glu USE_QT= buildtools concurrent core declarative designer gui \ linguisttools location network opengl printsupport \ qmake:build svg webchannel widgets xml xmlpatterns USE_LDCONFIG= yes CPE_VENDOR= freecad_project VTK_VER= 9.2 DOS2UNIX_GLOB= *.txt *.h *.cpp *.py *.qss *.csv *.pov *.stp *.ui *.wrl *.WRL SHEBANG_FILES= src/Tools/freecad-thumbnailer # our HDF5/CMake integration is messy, so workarounds are required below CMAKE_ARGS+= -DOCC_INCLUDE_DIR="${LOCALBASE}/include/OpenCASCADE" \ -DOPENMPI_INCLUDE_DIRS="${LOCALBASE}/mpi/openmpi/include" \ -DBUILD_QT5="ON" \ -DPYTHON_LIBRARY="${PYTHONBASE}/lib/libpython${PYTHON_VER}${PYTHON_ABIVER}.so" \ -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \ -DPYTHON_PACKAGES_PATH="${PYTHON_SITELIBDIR}" \ -DPYTHON_EXECUTABLE="${PYTHON_CMD}" \ -DPYCXX_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \ -DBUILD_ASSEMBLY="OFF" \ -DBUILD_DESIGNER_PLUGIN="ON" \ -DBUILD_FLAT_MESH="ON" \ -DBUILD_VR="OFF" \ -DFREECAD_USE_EXTERNAL_FMT="ON" \ -DFREECAD_CREATE_MAC_APP="OFF" \ -DFREECAD_FREECAD_LIBPACK_USE="OFF" \ -DFREECAD_USE_EXTERNAL_KDL="OFF" \ -DFREECAD_USE_EXTERNAL_SMESH="OFF" \ -DFREECAD_USE_FREETYPE="ON" \ -DFREECAD_USE_PYBIND11="ON" \ -Dpybind11_DIR="${PYTHON_SITELIBDIR}/pybind11/share/cmake/pybind11" \ -DHDF5_CFLAGS="-I${LOCALBASE}/include" \ -DHDF5_FOUND=TRUE \ -DHDF5_VERSION="1.12.2" \ -DHDF5_INCLUDE_DIRS="${LOCALBASE}/include/hdf5" \ -DHDF5_LIBRARIES="-L${LOCALBASE}/lib -lhdf5" \ -DHDF5_LIBRARY_DIRS="${LOCALBASE}/lib" \ -DPYSIDE2RCCBINARY="${RCC}" \ -DPYSIDE2UICBINARY="${UIC}" \ -DBUILD_ENABLE_CXX_STD=C++17 CMAKE_INSTALL_PREFIX= ${PREFIX}/${PORTNAME} # Install XDG icons and files to the standard path CMAKE_ARGS+= -DXDG_DATADIR="${PREFIX}/share" OPTIONS_DEFINE= COLLADA COLLADA_DESC= Install pycollada for Collada files import COLLADA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycollada>0:graphics/py-pycollada@${PY_FLAVOR} .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 PLIST_SUB= WEBENGINE="" USE_QT+= webengine .else CMAKE_ARGS+= -DBUILD_WEB:BOOL=OFF PLIST_SUB= WEBENGINE="@comment " .endif post-patch: @${REINPLACE_CMD} -e '/self\.rev/s/Unknown/${DISTVERSION:C/.*-//}/' \ ${WRKSRC}/src/Tools/SubWCRev.py # Install XDG icons and files to the standard path @${REINPLACE_CMD} -e 's/CMAKE_INSTALL_DATAROOTDIR/XDG_DATADIR/g' \ ${WRKSRC}/src/XDGData/CMakeLists.txt \ ${WRKSRC}/src/Gui/CMakeLists.txt post-install: ${LN} -s ../${PORTNAME}/bin/FreeCAD ${STAGEDIR}${LOCALBASE}/bin/FreeCAD ${LN} -s ../${PORTNAME}/bin/FreeCADCmd ${STAGEDIR}${LOCALBASE}/bin/FreeCADCmd ${INSTALL_SCRIPT} ${WRKSRC}/src/Tools/freecad-thumbnailer \ ${STAGEDIR}${PREFIX}/bin/freecad-thumbnailer .include diff --git a/math/cosma/Makefile b/math/cosma/Makefile index d52a8a9f877c..36cfcd392441 100644 --- a/math/cosma/Makefile +++ b/math/cosma/Makefile @@ -1,43 +1,43 @@ PORTNAME= cosma DISTVERSIONPREFIX= v DISTVERSION= 2.6.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Distributed communication-optimal matrix multiplication algorithm WWW= https://github.com/eth-cscs/COSMA LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= openmpi4>0:net/openmpi4 LIB_DEPENDS= libopenblas.so:math/openblas RUN_DEPENDS= openmpi4>0:net/openmpi4 USES= cmake:testing USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= eth-cscs GH_PROJECT= COSMA GH_TUPLE= eth-cscs:COSTA:5f1ea59:costa/libs/COSTA \ eth-cscs:Tiled-MM:9e880f9:tiledmm/libs/Tiled-MM CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= COSMA_WITH_TESTS CMAKE_ARGS= -DCOSMA_BLAS="OPENBLAS" CMAKE_TESTING_ON= COSMA_WITH_TESTS post-install: @cd ${STAGEDIR}${PREFIX} && \ ${RMDIR} \ include/costa/pxtran \ include/costa/pxtranc \ include/costa/pxtranu .include diff --git a/math/dbcsr/Makefile b/math/dbcsr/Makefile index 3a233fda3f40..7bae1623868f 100644 --- a/math/dbcsr/Makefile +++ b/math/dbcsr/Makefile @@ -1,56 +1,56 @@ PORTNAME= dbcsr DISTVERSIONPREFIX= v DISTVERSION= 2.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Distributed Block Compressed Sparse Row matrix library WWW= https://www.cp2k.org/dbcsr LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR} USES= blaslapack:openblas cmake:noninja,testing compiler:c++14-lang fortran \ python:build USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= cp2k FFLAGS+= -D__NO_STATM_ACCESS # disable /proc/self/statm access LDFLAGS+= -lopenblas CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTING WITH_EXAMPLES CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" -DPython_EXECUTABLE=${PYTHON_CMD} BINARY_ALIAS= git=false # with git sonames get messed up OPTIONS_DEFINE= MPI OPENMP C_API # libxsmm is supposed to be supported, but cmake build lacks the corresponding option: https://github.com/cp2k/dbcsr/issues/73 OPTIONS_DEFAULT= MPI OPENMP C_API OPTIONS_SUB= yes MPI_CMAKE_BOOL= USE_MPI MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 OPENMP_CMAKE_BOOL= USE_OPENMP C_API_DESC= Build the C API library C_API_CMAKE_BOOL= WITH_C_API .include . if ${GCC_DEFAULT} >= 10 CMAKE_ARGS+= -DCMAKE_Fortran_FLAGS="${FFLAGS} -fallow-argument-mismatch" # -fallow-argument-mismatch is a workaround of https://github.com/cp2k/dbcsr/issues/387 for gcc10+ . else CMAKE_ARGS+= -DCMAKE_Fortran_FLAGS="${FFLAGS}" . endif .include diff --git a/math/dune-alugrid/Makefile b/math/dune-alugrid/Makefile index b40f2accee16..e39cc044399c 100644 --- a/math/dune-alugrid/Makefile +++ b/math/dune-alugrid/Makefile @@ -1,46 +1,46 @@ PORTNAME= dune-alugrid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: grid implementation providing simplex or cube grids WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vc>0:devel/vc LIB_DEPENDS= libalberta_utilities.so:math/alberta \ libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libduneuggrid.so:math/dune-uggrid \ libmetis.so:math/metis \ libmpi_cxx.so:net/openmpi4 \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= extensions GL_TAGNAME= ffd6cd15dc7092593c3d5827c2a2b43b81d7a32f CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * CXXFLAGS+= -fsigned-char .include diff --git a/math/dune-common/Makefile b/math/dune-common/Makefile index 2cf61422e2ee..b0d593b6087d 100644 --- a/math/dune-common/Makefile +++ b/math/dune-common/Makefile @@ -1,47 +1,47 @@ PORTNAME= dune-common DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Build system, infrastructure and foundation classes WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= metis>0:math/metis \ openmpi4>0:net/openmpi4 \ vc>0:devel/vc # Metis isn't used, see https://gitlab.dune-project.org/core/dune-common/-/issues/306 LIB_DEPENDS= libopenblas.so:math/openblas \ libtbb.so:devel/onetbb USES= cmake compiler:c++17-lang fortran pkgconfig python shebangfix SHEBANG_FILES= bin/dune-ctest bin/setup-dunepy.py bin/dunepackaging.py bin/rmgenerated.py cmake/scripts/extract_cmake_data.py USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= core GL_TAGNAME= df65b1282ea89ad40d2cb6565983f7e633ccce31 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= latex:print/tex-formats \ sphinx-build:textproc/py-sphinx DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS PORTDOCS= * post-install: @${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/scripts/run-in-dune-env.sh.in # https://gitlab.dune-project.org/core/dune-common/-/issues/229 .include diff --git a/math/dune-fem/Makefile b/math/dune-fem/Makefile index 5a73263c31d1..87cc96538a68 100644 --- a/math/dune-fem/Makefile +++ b/math/dune-fem/Makefile @@ -1,68 +1,68 @@ PORTNAME= dune-fem DISTVERSION= 2.8.0.5 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Finite Element Methods, Finite Volume Methods, etc WWW= https://www.dune-project.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= arpack++>0:math/arpack++ \ dune-istl>=2.6:math/dune-istl \ dune-localfunctions>=2.6:math/dune-localfunctions \ dune-spgrid>0:math/dune-spgrid \ vc>0:devel/vc \ openmpi4>0:net/openmpi4 LIB_DEPENDS= libpsurface.so:math/psurface \ libarpack.so:math/arpack-ng \ libdunealugrid.so:math/dune-alugrid \ libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libdunepolygongrid.so:math/dune-polygongrid \ libduneuggrid.so:math/dune-uggrid \ libgmp.so:math/gmp \ libmetis.so:math/metis \ libopenblas.so:math/openblas \ libsuitesparseconfig.so:math/suitesparse-config \ libsuperlu.so:math/superlu \ libamd.so:math/suitesparse-amd \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libldl.so:math/suitesparse-ldl \ libspqr.so:math/suitesparse-spqr \ libumfpack.so:math/suitesparse-umfpack \ libtbb.so:devel/onetbb RUN_DEPENDS= dune-istl>=2.6:math/dune-istl \ dune-localfunctions>=2.6:math/dune-localfunctions \ dune-spgrid>0:math/dune-spgrid \ openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang eigen:3 fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= dune-fem GL_TAGNAME= 30e278aa744c908fbf4bbd8b237eb26c0475d16e CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= DOCS DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * post-install: # https://gitlab.dune-project.org/dune-fem/dune-fem/-/issues/111 ${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/modules/FindPThreads.cmake ${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/modules/FindSIONlib.cmake .include diff --git a/math/dune-geometry/Makefile b/math/dune-geometry/Makefile index 5cfeae3b1718..c255eee34df3 100644 --- a/math/dune-geometry/Makefile +++ b/math/dune-geometry/Makefile @@ -1,40 +1,40 @@ PORTNAME= dune-geometry DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Geometry transformations, reference elements, etc WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= openmpi4>0:net/openmpi4 \ vc>0:devel/vc LIB_DEPENDS= libdunecommon.so:math/dune-common \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb USES= cmake compiler:c++17-lang fortran pkgconfig python USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= core GL_TAGNAME= e7bfb66e48496aa28e47974c33ea9a4579bf723b CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-grid-glue/Makefile b/math/dune-grid-glue/Makefile index a3f06da4417a..9d14e33311c2 100644 --- a/math/dune-grid-glue/Makefile +++ b/math/dune-grid-glue/Makefile @@ -1,45 +1,45 @@ PORTNAME= dune-grid-glue DISTVERSION= 2.8.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: infrastructure for coupling of unrelated Dune grids WWW= https://www.dune-project.org/ LICENSE= GPLv2 BUILD_DEPENDS= alberta-fem>0:math/alberta \ openmpi4>0:net/openmpi4 \ psurface>0:math/psurface \ vc>0:devel/vc LIB_DEPENDS= libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libduneuggrid.so:math/dune-uggrid \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb RUN_DEPENDS= alberta-fem>0:math/alberta # binaries aren't linked with alberta, instead users' binaries are linked with it RUN_DEPENDS+= psurface>0:math/psurface USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= extensions GL_TAGNAME= 22efb0e3cbf0a75094a8d81a4fdd352c98e78947 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-grid/Makefile b/math/dune-grid/Makefile index bfb6dd47b0f4..aa310f3b09bf 100644 --- a/math/dune-grid/Makefile +++ b/math/dune-grid/Makefile @@ -1,46 +1,46 @@ PORTNAME= dune-grid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Geometry transformations, reference elements, etc WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= alberta-fem>0:math/alberta \ openmpi4>0:net/openmpi4 \ psurface>0:math/psurface \ vc>0:devel/vc LIB_DEPENDS= libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libduneuggrid.so:math/dune-uggrid \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb RUN_DEPENDS= alberta-fem>0:math/alberta # binaries aren't linked with alberta, instead users' binaries are linked with it RUN_DEPENDS+= psurface>0:math/psurface USES= cmake compiler:c++17-lang fortran pkgconfig python:build USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= core GL_TAGNAME= de36e4b4e99da4cd7a120a39779345e701821115 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-pdelab/Makefile b/math/dune-pdelab/Makefile index 570049e50452..d4352ed0d9c8 100644 --- a/math/dune-pdelab/Makefile +++ b/math/dune-pdelab/Makefile @@ -1,66 +1,66 @@ PORTNAME= dune-pdelab DISTVERSIONPREFIX= v DISTVERSION= 2.7.0.20210824 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: PDE solver toolbox WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING DUNE_DEPENDS= dune-common>0:math/dune-common \ dune-functions>0:math/dune-functions \ dune-grid>0:math/dune-grid \ dune-istl>0:math/dune-istl \ dune-geometry>0:math/dune-geometry \ dune-localfunctions>0:math/dune-localfunctions \ dune-typetree>0:math/dune-typetree BUILD_DEPENDS= ${DUNE_DEPENDS} \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 LIB_DEPENDS= libarpack.so:math/arpack-ng \ libdunealugrid.so:math/dune-alugrid \ libduneuggrid.so:math/dune-uggrid \ libgmp.so:math/gmp \ libmetis.so:math/metis \ libpsurface.so:math/psurface \ libopenblas.so:math/openblas \ libamd.so:math/suitesparse-amd \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libsuitesparseconfig.so:math/suitesparse-config \ libldl.so:math/suitesparse-ldl \ libspqr.so:math/suitesparse-spqr \ libumfpack.so:math/suitesparse-umfpack \ libsuperlu.so:math/superlu \ libtbb.so:devel/onetbb RUN_DEPENDS= ${DUNE_DEPENDS} \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= pdelab GL_TAGNAME= 20c7085389d3eb4f8ca99e1bc60f7fa6036536c8 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-polygongrid/Makefile b/math/dune-polygongrid/Makefile index 870c40fcc000..acf665a8a2d3 100644 --- a/math/dune-polygongrid/Makefile +++ b/math/dune-polygongrid/Makefile @@ -1,32 +1,32 @@ PORTNAME= dune-polygongrid DISTVERSION= 2.8.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: 2D polygonal grid WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= openmpi4>0:net/openmpi4 LIB_DEPENDS= libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libduneuggrid.so:math/dune-uggrid \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb RUN_DEPENDS= openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= extensions GL_TAGNAME= 90840c3d36f5fa6e18a00e7df7be01832cd7e23b CMAKE_ON= BUILD_SHARED_LIBS .include diff --git a/math/dune-spgrid/Makefile b/math/dune-spgrid/Makefile index f51f39ffaa4d..3bb65ffbb4f0 100644 --- a/math/dune-spgrid/Makefile +++ b/math/dune-spgrid/Makefile @@ -1,41 +1,41 @@ PORTNAME= dune-spgrid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: A structured, parallel DUNE grid implementation WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE DUNE_DEPENDS= dune-common>0:math/dune-common \ dune-grid>0:math/dune-grid \ dune-geometry>0:math/dune-geometry \ dune-uggrid>0:math/dune-uggrid BUILD_DEPENDS= ${DUNE_DEPENDS} \ openmpi4>0:net/openmpi4 \ vc>0:devel/vc RUN_DEPENDS= ${DUNE_DEPENDS} USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= extensions GL_TAGNAME= 0e5a3b234d885ac566c9622421ab4eab97c8a50e NO_ARCH= yes OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-typetree/Makefile b/math/dune-typetree/Makefile index b7d9854803ec..0b9a52552b7a 100644 --- a/math/dune-typetree/Makefile +++ b/math/dune-typetree/Makefile @@ -1,39 +1,39 @@ PORTNAME= dune-typetree DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: The TypeTree library WWW= https://www.dune-project.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= dune-common>0:math/dune-common \ openmpi4>0:net/openmpi4 \ vc>0:devel/vc RUN_DEPENDS= dune-common>0:math/dune-common \ openmpi4>0:net/openmpi4 \ vc>0:devel/vc USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= staging GL_TAGNAME= cf6b5b4d3abe5dfa748815a69f6a8bda02af36f0 NO_ARCH= yes OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/dune-uggrid/Makefile b/math/dune-uggrid/Makefile index 01189785bde0..3cd633cba244 100644 --- a/math/dune-uggrid/Makefile +++ b/math/dune-uggrid/Makefile @@ -1,32 +1,32 @@ PORTNAME= dune-uggrid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: The UG Grid Manager WWW= https://www.dune-project.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL-2.1 BUILD_DEPENDS= openmpi4>0:net/openmpi4 \ vc>0:devel/vc LIB_DEPENDS= libdunecommon.so:math/dune-common \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb RUN_DEPENDS= openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang fortran pkgconfig python USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= staging GL_TAGNAME= bc2d1229420367563410ce9e519f5ff82b45266f CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DTBB_INCLUDE_DIR=${LOCALBASE}/include -DTBB_LIBRARIES=${LOCALBASE}/lib/libtbb.so .include diff --git a/math/dune-vtk/Makefile b/math/dune-vtk/Makefile index d1c15e796e87..22b274590361 100644 --- a/math/dune-vtk/Makefile +++ b/math/dune-vtk/Makefile @@ -1,63 +1,63 @@ PORTNAME= dune-vtk DISTVERSION= 2.8.0 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: File reader and writer for the VTK XML format WWW= https://www.dune-project.org/ LICENSE= GPLv2+ HPP_DEPENDS= ${LOCALBASE}/include/dune/foamgrid/foamgrid.hh:math/dune-foamgrid \ dune-localfunctions>0:math/dune-localfunctions \ dune-spgrid>0:math/dune-spgrid BUILD_DEPENDS= ${HPP_DEPENDS} \ dune-functions>0:math/dune-functions \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 LIB_DEPENDS= libarpack.so:math/arpack-ng \ libdunealugrid.so:math/dune-alugrid \ libdunecommon.so:math/dune-common \ libdunegeometry.so:math/dune-geometry \ libdunegrid.so:math/dune-grid \ libdunepolygongrid.so:math/dune-polygongrid \ libduneuggrid.so:math/dune-uggrid \ libgmp.so:math/gmp \ libmetis.so:math/metis \ libopenblas.so:math/openblas \ libpsurface.so:math/psurface \ libamd.so:math/suitesparse-amd \ libcamd.so:math/suitesparse-camd \ libccolamd.so:math/suitesparse-ccolamd \ libcholmod.so:math/suitesparse-cholmod \ libcolamd.so:math/suitesparse-colamd \ libsuitesparseconfig.so:math/suitesparse-config \ libldl.so:math/suitesparse-ldl \ libspqr.so:math/suitesparse-spqr \ libumfpack.so:math/suitesparse-umfpack \ libsuperlu.so:math/superlu \ libtbb.so:devel/onetbb RUN_DEPENDS= ${HPP_DEPENDS} \ suitesparse>0:math/suitesparse \ openmpi4>0:net/openmpi4 USES= cmake compiler:c++17-lang fortran pkgconfig USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://gitlab.dune-project.org GL_ACCOUNT= extensions GL_TAGNAME= 467838cde3bbea3d27d2bd117570a3215240dcd1 CMAKE_ON= BUILD_SHARED_LIBS OPTIONS_DEFINE= DOCS DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ sphinx-build:textproc/py-sphinx PORTDOCS= * .include diff --git a/math/elemental/Makefile b/math/elemental/Makefile index 837d04bed8b3..106b82fe9a3d 100644 --- a/math/elemental/Makefile +++ b/math/elemental/Makefile @@ -1,47 +1,47 @@ PORTNAME= elemental DISTVERSIONPREFIX= v DISTVERSION= 1.5.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Dense and sparse linear algebra, conic optimization, lattice reduction WWW= https://github.com/LLNL/Elemental LICENSE= BSD2CLAUSE BROKEN_i386= clang crashes: https://bugs.llvm.org/show_bug.cgi?id=46026 LIB_DEPENDS= libgmp.so:math/gmp \ libmetis.so:math/metis \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libmpi_cxx.so:net/openmpi4 \ libopenblas.so:math/openblas \ libqd.so:math/qd TEST_DEPENDS= catch>0:devel/catch USES= cmake compiler:c++14-lang fortran USE_GITHUB= yes GH_ACCOUNT= LLNL GH_PROJECT= Elemental USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS EL_DISABLE_PARMETIS CMAKE_OFF= Hydrogen_ENABLE_TESTING CMAKE_ARGS= -DGFORTRAN_LIB:STRING=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgfortran.so \ -DFREEBSD_GCC_LIB:STRING=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so DOCSDIR= ${PREFIX}/share/doc/Elemental OPTIONS_DEFINE= DOCS PORTDOCS= * do-test: # 4 tests fail, see https://github.com/LLNL/Elemental/issues/157 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DHydrogen_ENABLE_TESTING:BOOL=ON -DHydrogen_ENABLE_UNIT_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include diff --git a/math/moab/Makefile b/math/moab/Makefile index b742296d9b06..fd30b69bff6a 100644 --- a/math/moab/Makefile +++ b/math/moab/Makefile @@ -1,47 +1,47 @@ PORTNAME= moab DISTVERSION= 5.3.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/ MAINTAINER= yuri@FreeBSD.org COMMENT= Component for representing and evaluating mesh data WWW= https://press3.mcs.anl.gov/sigma/moab-library/ LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libopenblas.so:math/openblas USES= cmake eigen:3 fortran USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ -DFREEBSD_STAGEDIR:STRING=${STAGEDIR} BB_ACCOUNT= fathomteam BB_PROJECT= ${PORTNAME} BB_COMMIT= 65880ffe833d WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT} OPTIONS_DEFINE= MPI OPTIONS_DEFAULT= MPI OPTIONS_SUB= yes MPI_CMAKE_BOOL= ENABLE_MPI MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 MPI_VARS= CXX=${LOCALBASE}/mpi/openmpi/bin/mpic++ CC=${LOCALBASE}/mpi/openmpi/bin/mpicc MPI_VARS+= CONFLICTS_BUILD=mpich # otherwise bin/hexmodops gets linked with libmpi.so:net/mpich MPI_VARS_OFF= USES=compiler:c++11-lang post-install: # docs are just readmes @${RM} -r ${STAGEDIR}${DOCSDIR} # examples are installed into a wrong location, maybe fix them later? @${RM} -r ${STAGEDIR}${PREFIX}/share/examples .include diff --git a/math/parmgridgen/Makefile b/math/parmgridgen/Makefile index bab6a59f12df..5b9aef338ada 100644 --- a/math/parmgridgen/Makefile +++ b/math/parmgridgen/Makefile @@ -1,43 +1,43 @@ PORTNAME= parmgridgen PORTVERSION= 1.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= math science MASTER_SITES= http://www.mgnet.org/mgnet/Codes/parmgridgen/ \ http://www-users.cs.umn.edu/~moulitsa/download/ \ http://www.stasyan.com/devel/distfiles/ DISTNAME= ParMGridGen-${PORTVERSION} MAINTAINER= devel@stasyan.com COMMENT= Library for obtaining a sequence of successive coarse grids WWW= http://www.mgnet.org/mgnet-codes-parmgridgen.html LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 ALL_TARGET= parallel USES= gmake MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's|make|$$(MAKE)|g' ${WRKSRC}/Makefile #respect CFLAGS . for f in IMlib Lib Programs @${REINPLACE_CMD} 's|CFLAGS =|CFLAGS+=|g' ${WRKSRC}/MGridGen/${f}/Makefile . endfor . for f in IMParMetis-2.0 ParLib Programs @${REINPLACE_CMD} 's|CFLAGS =|CFLAGS+=|g' ${WRKSRC}/ParMGridGen/${f}/Makefile . endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mgridgen ${STAGEDIR}${PREFIX}/bin/mgridgen ${INSTALL_PROGRAM} ${WRKSRC}/parmgridgen ${STAGEDIR}${PREFIX}/bin/parmgridgen ${INSTALL_DATA} ${WRKSRC}/libmgrid.a ${STAGEDIR}${PREFIX}/lib/libmgrid.a ${INSTALL_DATA} ${WRKSRC}/libparmgrid.a ${STAGEDIR}${PREFIX}/lib/libparmgrid.a ${INSTALL_DATA} ${WRKSRC}/mgridgen.h ${STAGEDIR}${PREFIX}/include/mgridgen.h do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README .include diff --git a/math/vtk8/Makefile b/math/vtk8/Makefile index 3ff6e25e6f50..5d92647e855e 100644 --- a/math/vtk8/Makefile +++ b/math/vtk8/Makefile @@ -1,130 +1,130 @@ PORTNAME= vtk DISTVERSION= 8.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 8 DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit WWW= https://www.vtk.org LICENSE= BSD3CLAUSE BROKEN_FreeBSD_13_aarch64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275784 LIB_DEPENDS= libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 CONFLICTS= vtk6 vtk9 USES= alias cmake compiler:c++11-lang gl jpeg localbase perl5 xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_TIFF \ VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_ZLIB \ Module_vtkTestingCore Module_vtkTestingRendering CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OSMESA QT5 EXAMPLES OPTIONS_DEFAULT= MPI QT5 OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Options groups #VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views VTK_GROUPS= MPI VTK_WRAPS= JAVA TCLTK OPTIONS_GROUP= GROUPS WRAPPING OPTIONS_GROUP_GROUPS=${VTK_GROUPS} OPTIONS_GROUP_WRAPPING=${VTK_WRAPS} GROUPS_DESC= Groups WRAPPING_DESC= Wrapping .for g in ${VTK_GROUPS} $g_DESC= Build the $g group .endfor .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor QT5_USES= qt:5 QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake:build,buildtools:build QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \ -DVTK_Group_Qt:BOOL=ON DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 MPI_CMAKE_ON= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec OSMESA_CMAKE_ARGS= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa # Wrapping JAVA_CATEGORIES= java JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA Module_vtkWrappingJava JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_BOOL= VTK_WRAP_TCL VTK_Group_Tk TCLTK_CMAKE_ON= -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES # Mangling so that it will build when science/netcdf is installed. post-patch: @${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h @${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' .include .for g in ${VTK_GROUPS} . if ${PORT_OPTIONS:M${g}} CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON . else CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF . endif .endfor .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index 941f892f0bd5..69729940f2ee 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,145 +1,145 @@ PORTNAME= vtk DISTVERSION= 9.2.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit WWW= https://vtk.org/ LICENSE= BSD3CLAUSE BROKEN_FreeBSD_13_aarch64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275784 LIB_DEPENDS= \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= alias cmake compiler:c++11-lang gl jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm xcursor xfixes xrender CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION \ Module_vtkTestingCore Module_vtkTestingRendering .for m in expat freetype hdf5 jpeg netcdf png tiff zlib # mpi4py should be here, but this fails, see https://gitlab.kitware.com/vtk/vtk/-/issues/18693 CMAKE_ON+= VTK_MODULE_USE_EXTERNAL_VTK_${m} .endfor CMAKE_ARGS= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} # all build options are documented here: https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md # all modules can be obtailed by: find . -name vtk.module # there's also CMake/vtkWrapSettings.cmake with options # disable finding Qt6 CMAKE_ON+= CMAKE_DISABLE_FIND_PACKAGE_Qt6 # enable all modules #CMAKE_ON+= VTK_BUILD_ALL_MODULES VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OMPI OSMESA PYTHON QT5 EXAMPLES OPTIONS_DEFAULT= OMPI PYTHON QT5 # vtk python binding is needed by other packages, and is unfortunately is unseparable. It is a candidate to be a subpackage. OSMESA_DESC= Use Mesa for off-screen rendering OMPI_DESC= OpenMPI (Message Passing Interface) support DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Option groups that enable groups of modules in VTK VTK_GROUPS= JAVA TCLTK OPTIONS_GROUP= GROUPS OPTIONS_GROUP_GROUPS= ${VTK_GROUPS} GROUPS_DESC= Groups .for w in ${VTK_GROUPS} $w_DESC= Enable $w group .endfor PYTHON_USES= python PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} -DPython3_EXECUTABLE=${PYTHON_CMD} PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} QT5_USES= qt:5 QT5_USE= QT=core,declarative,gui,network,opengl,sql,uiplugin,widgets,x11extras,qmake,buildtools # qmake and buildtools should be with :build, but see https://gitlab.kitware.com/vtk/vtk/-/issues/18705 QT5_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 #QT6_USES= qt:6 #QT6_USE= QT=base,declarative,tools:build #QT6_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 OMPI_CMAKE_BOOL= VTK_USE_MPI OMPI_USES= mpi:openmpi OMPI_CMAKE_ON= -DMPI_HOME=${LOCALBASE}/mpi/openmpi OMPI_LDFLAGS= ${MPI_LIBS} OSMESA_CMAKE_ON= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_ON= -DVTK_GROUP_ENABLE_Tk:STRING=YES \ -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES .include .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif .if ${PORT_OPTIONS:MPYTHON} && ${PORT_OPTIONS:MOMPI} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} .endif CONFLICTS= vtk6 vtk8 do-install-PYTHON-on: # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info @${INSTALL_DATA} ${WRKDIR}/PKG-INFO ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info # workaround for: VTK installs mpi4py which makes it to conflict with the standalone mpi4py package, see https://gitlab.kitware.com/vtk/vtk/-/issues/18691 @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/mpi4py post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/misc/adios2/Makefile b/misc/adios2/Makefile index 3cada04bee85..dea34fcd3697 100644 --- a/misc/adios2/Makefile +++ b/misc/adios2/Makefile @@ -1,59 +1,60 @@ PORTNAME= adios2 DISTVERSIONPREFIX= v DISTVERSION= 2.9.1 +PORTREVISION= 1 CATEGORIES= misc science MAINTAINER= yuri@FreeBSD.org COMMENT= Next generation of ADIOS developed in the Exascale Computing Program WWW= https://github.com/ornladios/ADIOS2 LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= constant expression evaluates to 18446744073709551613 which cannot be narrowed to type 'unsigned int': https://github.com/ornladios/ADIOS2/issues/2469 BROKEN_powerpc= constant expression evaluates to 18446744073709551613 which cannot be narrowed to type 'unsigned int': https://github.com/ornladios/ADIOS2/issues/2469 PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}mpi4py>=3.0.3:net/py-mpi4py@${PY_FLAVOR} BUILD_DEPENDS= bash:shells/bash \ pybind11>0:devel/pybind11 \ ${PYTHON_PKGNAMEPREFIX}pybind11>=2.4:devel/py-pybind11@${PY_FLAVOR} \ ${PY_DEPENDS} LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libepoll-shim.so:devel/libepoll-shim \ libfabric.so:net/libfabric \ libffi.so:devel/libffi \ libhdf5.so:science/hdf5 \ libmpi.so:net/mpich \ libpng.so:graphics/png \ libsodium.so:security/libsodium \ libsz.so:science/libaec \ libzmq.so:net/libzmq4 \ libzfp.so:devel/zfp RUN_DEPENDS= bash:shells/bash \ ${PY_DEPENDS} USES= bison cmake:testing compiler:c++11-lang fortran localbase:ldflags pkgconfig \ perl5 python shebangfix USE_LDCONFIG= yes SHEBANG_FILES= cmake/install/post/adios2-config.pre.sh.in cmake/install/post/generate-adios2-config.sh.in \ source/utils/adios_reorganize/adios2_reorganize_wrapper source/utils/adios2_deactivate_bp SHEBANG_GLOB= *.sh *.py USE_GITHUB= yes GH_ACCOUNT= ornladios GH_PROJECT= ADIOS2 CMAKE_ARGS= -DFREEBSD_PYTHON_VERSION=${PYTHON_VER} CMAKE_OFF= BUILD_TESTING ADIOS2_BUILD_EXAMPLES LDFLAGS+= -lepoll-shim OPTIONS_DEFINE= DOCS DOCSDIR= ${PREFIX}/share/doc/ADIOS2 PORTDOCS= * # several tests fail, see https://github.com/ornladios/ADIOS2/issues/3286 .include diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile index dec2a090df34..0ded3162b69d 100644 --- a/misc/py-pytorch/Makefile +++ b/misc/py-pytorch/Makefile @@ -1,71 +1,72 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v DISTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= PyTorch: Tensors and dynamic neural networks in Python WWW= https://pytorch.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= build fails: CMake Error at third_party/QNNPACK/CMakeLists.txt:47 (MESSAGE): Unrecognized CMAKE_SYSTEM_NAME = FreeBSD BROKEN_i386= build fails: DispatchStub.cpp:162:29: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'AVX2'[0m BUILD_DEPENDS= cmake:devel/cmake-core \ gmake:devel/gmake \ pybind11>0:devel/pybind11 \ ${PYNUMPY} \ ${LOCALBASE}/include/fxdiv.h:devel/fxdiv \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_flags.so:devel/abseil \ libblis.so:math/blis \ libmpi_cxx.so:net/openmpi4 \ libonnx.so:misc/onnx \ libopenblas.so:math/openblas \ libpthreadpool.so:devel/pthreadpool \ libprotobuf.so:devel/protobuf \ libsleef.so:math/sleef RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>0:math/py-networkx@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} # optional dependency USES= compiler:c++17-lang localbase:ldflags python USE_PYTHON= distutils autoplist MAKE_ENV= USE_NINJA=no # ninja breaks for some reason MAKE_ENV+= BUILD_TEST=0 # ninja breaks for some reason MAKE_ENV+= USE_MKLDNN=0 # disable MKLDNN that doesn't exist, see https://github.com/pytorch/pytorch/issues/100957 MAKE_ENV+= USE_CUDNN=0 LDFLAGS+= -lexecinfo BINARY_ALIAS= make=${GMAKE} POST_PLIST= fix-plist .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) USES+= llvm:max=15 .endif post-install: # strip binaries @${STRIP_CMD} \ ${STAGEDIR}${PYTHON_SITELIBDIR}/torch/bin/torch_shm_manager \ ${STAGEDIR}${PYTHON_SITELIBDIR}/torch/_C${PYTHON_EXT_SUFFIX}.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/functorch/_C${PYTHON_EXT_SUFFIX}.so \ ${STAGEDIR}${PYTHON_SITELIBDIR}/torch/lib/lib*.so fix-plist: # remove the stray %%PYTHON_SITELIBDIR%%/caffe2 file @${REINPLACE_CMD} -e "s|.*/caffe2$$||" ${TMPPLIST} .include diff --git a/misc/pytorch/Makefile b/misc/pytorch/Makefile index c84c0418e7a7..f22c67830963 100644 --- a/misc/pytorch/Makefile +++ b/misc/pytorch/Makefile @@ -1,76 +1,77 @@ PORTNAME= pytorch DISTVERSIONPREFIX= v DISTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= misc # machine-learning MASTER_SITES= https://github.com/pytorch/pytorch/releases/download/v${DISTVERSION}/ DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Tensors and dynamic neural networks in Python (C++ library) WWW= https://pytorch.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails: error: use of undeclared identifier 'AVX2' BUILD_DEPENDS= gmake:devel/gmake \ ${LOCALBASE}/include/fxdiv.h:devel/fxdiv LIB_DEPENDS= libabsl_base.so:devel/abseil \ libblis.so:math/blis \ libopenblas.so:math/openblas \ libmpi_cxx.so:net/openmpi4 \ libonnx.so:misc/onnx \ libpthreadpool.so:devel/pthreadpool \ libprotobuf.so:devel/protobuf \ libsleef.so:math/sleef USES= compiler:c++17-lang cmake localbase:ldflags python # requires python even with PYTHON=off CMAKE_OFF= BUILD_CUSTOM_PROTOBUF USE_CUDA USE_ROCM USE_NNPACK USE_QNNPACK USE_PYTORCH_QNNPACK \ USE_FBGEMM # workaround recommended by the upstream here: https://github.com/pytorch/pytorch/issues/28337 CMAKE_ON= USE_SYSTEM_PYBIND11 \ USE_SYSTEM_SLEEF \ USE_SYSTEM_ONNX # see other USE_SYSTEM_xx in CMakeLists.txt CMAKE_ON+= ONNX_USE_LITE_PROTO # workaround for the protobuf-related failure described here: https://github.com/onnx/optimizer/issues/38 CMAKE_ARGS= -DPSIMD_SOURCE_DIR=${WRKSRC}/third_party/psimd \ -DPYTHON_EXECUTABLE=${PYTHON_CMD} MAKE_ENV= USE_NINJA=no # ninja breaks for some reason LDFLAGS+= -lexecinfo BINARY_ALIAS= make=${GMAKE} git=true OPTIONS_DEFINE= PYTHON # PYTHON only provides python support for the py-PyTorch port - it's not a python binding OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= BUILD_PYTHON PYTHON_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} PYTHON_BUILD_DEPENDS= ${PYTHON_PY_DEPENDS} \ pybind11>0:devel/pybind11 PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} .include .if ${ARCH} == "amd64" PLIST_SUB+= AMD64="" .else PLIST_SUB+= AMD64="@comment " .endif post-patch: # replace malloc.h -> stdlib.h in many places @cd ${WRKSRC} && for f in $$(${GREP} -rl "include " * | ${GREP} -E "\.(c|cpp|h|hpp)$$"); do \ ${REINPLACE_CMD} -i'' -E "s|include |include |" $$f; \ done post-install: # functorch.so is installed back into the source directory, see https://github.com/pytorch/pytorch/issues/91524 @${RM} $$(${FIND} ${STAGEDIR} -name functorch.so) # https://github.com/pytorch/pytorch/issues/24417 @${FIND} ${STAGEDIR} -type d -empty -delete .include diff --git a/misc/thrill/Makefile b/misc/thrill/Makefile index eb5df628dc6f..ca287b6aa632 100644 --- a/misc/thrill/Makefile +++ b/misc/thrill/Makefile @@ -1,33 +1,33 @@ PORTNAME= thrill DISTVERSION= g20200406 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= C++ framework for algorithmic distributed Big Data batch computations WWW= https://project-thrill.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe # static_assert failed due to requirement 'sizeof(unsigned int) == 8' "FOXXLL supports only 64-bit builds" LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 USES= cmake compiler:c++17-lang fortran USE_LDCONFIG= yes USE_GITHUB= yes GH_TAGNAME= 12c5b59bca66df93b66628b3829027bd0f110dd9 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= THRILL_USE_JEMALLOC CMAKE_ARGS= -DINSTALL_INCLUDE_DIR=${PREFIX}/include # workaround for https://github.com/thrill/thrill/issues/196 GH_TUPLE= USCiLab:cereal:2f9471bc401590cf58b38bbbc33d412dade6d589:USCiLab_cereal/extlib/cereal \ google:googletest:5490beb0602eab560fa3969a4410e11d94bf12af:google_googletest/extlib/googletest \ bji:libs3:111dc30029f64bbf82031f3e160f253a0a63c119:bji_libs3/extlib/libs3/libs3 \ tlx:tlx:89397b7fa1aa5631b4b84e53a92d6c5e06044d43:tlx_tlx/extlib/tlx \ stxxl:foxxll:a4a8aeee64743f845c5851e8b089965ea1c219d7:stxxl_foxxll/extlib/foxxll .include diff --git a/net/aluminum/Makefile b/net/aluminum/Makefile index c29450e041b6..9c0c051d224c 100644 --- a/net/aluminum/Makefile +++ b/net/aluminum/Makefile @@ -1,30 +1,31 @@ PORTNAME= Aluminum DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Generic interface to high-performance communication libraries WWW= https://github.com/LLNL/Aluminum LICENSE= APACHE20 LIB_DEPENDS= libhwloc.so:devel/hwloc2 TEST_DEPENDS= cxxopts>0:devel/cxxopts USES= cmake:testing compiler:c++17-lang mpi:openmpi USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= LLNL CMAKE_TESTING_ON= ALUMINUM_ENABLE_TESTS # tests crash, see https://github.com/LLNL/Aluminum/issues/211 LDFLAGS+= -lexecinfo post-test: .for t in test_exchange test_ops; do @cd ${TEST_WRKSRC}/test && ./${t} .endfor .include diff --git a/net/py-mpi4py/Makefile b/net/py-mpi4py/Makefile index d75debdfbd7c..e6492bfdedb5 100644 --- a/net/py-mpi4py/Makefile +++ b/net/py-mpi4py/Makefile @@ -1,58 +1,59 @@ PORTNAME= mpi4py DISTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES= net parallel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT?= Python bindings for MPI (OpenMPI) WWW= https://github.com/mpi4py/mpi4py LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst USES= python USE_PYTHON= distutils cython autoplist concurrent LDFLAGS+= ${MPI_LIBS} SLAVEDIRS= net/py-mpi4py-mpich OPTIONS_DEFINE= DOCS MANPAGES MP?= OPENMPI .if ${MP} == "OPENMPI" USES+= mpi:openmpi CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}mpi4py-mpich-3* .elif ${MP} == "MPICH" USES+= fortran mpi:mpich LDFLAGS+= ${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}mpi4py-3* .else BROKEN= invalid parameter MP .endif PORTDOCS= * pre-configure: ${CP} ${FILESDIR}/mpi.cfg ${WRKSRC}/ ${REINPLACE_CMD} -e 's|%%LOCALBASE%%/mpi/openmpi|${MPI_HOME}|' \ ${WRKSRC}/mpi.cfg do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} @${RM} ${STAGEDIR}${DOCSDIR}/${PORTNAME}.1 do-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 @${ECHO} man/man1/mpi4py.1.gz >> ${TMPPLIST} post-install: @cd ${STAGEDIR}${PYTHON_SITELIBDIR}/mpi4py && ${STRIP_CMD} dl*.so MPI*.so lib-pmpi/libvt-hyb*.so lib-pmpi/libvt*.so lib-pmpi/libvt-mpi*.so lib-pmpi/libmpe*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/science/ALPSCore/Makefile b/science/ALPSCore/Makefile index 44591c2ec50f..0462cae8a223 100644 --- a/science/ALPSCore/Makefile +++ b/science/ALPSCore/Makefile @@ -1,56 +1,57 @@ PORTNAME= ALPSCore DISTVERSIONPREFIX= v DISTVERSION= 2.3.1 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= ports@FreeBSD.org COMMENT= Generic algorithms and utilities for condensed matter physics WWW= https://github.com/ALPSCore/ALPSCore LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libhdf5.so:science/hdf5 \ libsz.so:science/libaec USES= cmake compiler:c++11-lang eigen:3 USE_CXXSTD= c++14 USE_GITHUB= yes USE_LDCONFIG= yes TEST_TARGET= test # 2 to 3 tests fail: https://github.com/ALPSCore/ALPSCore/issues/388 CMAKE_ARGS+= -DTesting:BOOL=OFF # enable only for the 'test' target CMAKE_ARGS_TEST= -DTesting:BOOL=ON -DExtensiveTesting:BOOL=ON CXXFLAGS+= -DNDEBUG # see https://github.com/ALPSCore/ALPSCore/issues/389 LDFLAGS+= -lexecinfo # https://github.com/ALPSCore/ALPSCore/issues/390 OPTIONS_DEFINE= DOXYGEN DOCS OPENMPI OPTIONS_DEFAULT= OPENMPI DOXYGEN_IMPLIES= DOCS DOXYGEN_CMAKE_BOOL= Documentation DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen OPENMPI_CMAKE_BOOL= ENABLE_MPI OPENMPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 PORTDOCS= * .include .if ${PORT_OPTIONS:MOPENMPI} CC= ${LOCALBASE}/mpi/openmpi/bin/mpicc CXX= ${LOCALBASE}/mpi/openmpi/bin/mpicxx .endif post-install-DOXYGEN-on: @${RM} ${STAGEDIR}${DOCSDIR}/.tag pre-test: @cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_ARGS_TEST} ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} .include diff --git a/science/abinit/Makefile b/science/abinit/Makefile index 468fcbbefec1..788e36f4d73b 100644 --- a/science/abinit/Makefile +++ b/science/abinit/Makefile @@ -1,106 +1,106 @@ PORTNAME= abinit DISTVERSION= 9.10.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Full-featured atomic-scale first-principles simulation software WWW= https://www.abinit.org LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le BUILD_DEPENDS= gm4:devel/m4 \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}graphviz>0:graphics/py-graphviz@${PY_FLAVOR} LIB_DEPENDS= libelpa.so:math/elpa \ libsz.so:science/libaec \ libxc.so:science/libxc \ libfftw3.so:math/fftw3 \ libhdf5.so:science/hdf5 \ libxml2.so:textproc/libxml2 \ libnetcdf.so:science/netcdf \ libxmlf90.so:textproc/xmlf90 \ libwannier.so:science/wannier90 \ libnetcdff.so:science/netcdf-fortran RUN_DEPENDS= atompaw:science/atompaw TEST_DEPENDS= ${PYNUMPY} \ libyaml>0:textproc/libyaml USES= autoreconf:build blaslapack:netlib fortran gmake gnome localbase:ldflags \ python shebangfix USE_GITHUB= yes USE_GNOME= libxml2 SHEBANG_FILES= config/scripts/* doc/tutorial/paral_bandpw_assets/abinit.sub.* SHEBANG_GLOB= *.py GNU_CONFIGURE= yes CONFIGURE_ENV= H5CC="${LOCALBASE}/bin/h5cc" \ HDF5_CFLAGS="-I${LOCALBASE}/include" \ HDF5_LDFLAGS="-L${LOCALBASE}/lib -lhdf5" \ LINALG_FCFLAGS="-I${LOCALBASE}/include/elpa-2019.05.002/modules" \ LINALG_LIBS="${BLASLIB} ${LAPACKLIB} -lelpa" \ NETCDF_FORTRAN_FCFLAGS=-I${LOCALBASE}/include \ XMLF90_FCFLAGS=-I${LOCALBASE}/include \ WANNIER90_LIBS="${BLASLIB} ${LAPACKLIB} -lwannier" CONFIGURE_ARGS= --with-fft --with-libxc --with-libxml2 --with-netcdf \ --with-netcdf-fortran --with-wannier90 --with-xmlf90 FCFLAGS+= -ffree-line-length-none TEST_TARGET= tests_abirules tests_buildsys # Many tests print RuntimeError, https://github.com/abinit/abinit/issues/64 TEST_WRKSRC= ${WRKSRC}/abichecks PORTDOCS= * OPTIONS_DEFINE= DOCS OPENMP OPENMPI OPTIONS_DEFAULT= OPENMP OPENMPI OPENMP_CONFIGURE_ENABLE= openmp OPENMP_LDFLAGS= -lomp OPENMPI_CONFIGURE_WITH= mpi=yes # BROKEN with MPICH4: see # To set back to mpich when this issue will be fixed. OPENMPI_USES= mpi:openmpi # fftw3 not enabled because libfftw3_mpi is required but not packaged OPENMPI_VARS= FCFLAGS+="`pkg-config --cflags ompi-fort`" OPENMPI_CONFIGURE_ENV= CC_LDFLAGS="${MPI_LIBS} ${LDFLAGS}" \ CXX_LDFLAGS="${MPI_LIBS} ${LDFLAGS}" \ FC_LDFLAGS="${MPI_LIBS} ${LDFLAGS}" \ CFLAGS="${MPI_CFLAGS} ${CFLAGS} ${CFLAGS_F2018}" \ MPI_CPPFLAGS="${MPI_CFLAGS}" \ MPI_FCFLAGS="`pkg-config --cflags ompi-fort`" \ MPI_LIBS="${MPI_LIBS}" \ MPI_LDFLAGS="${MPI_LIBS}" # When OpenMPI is enabled, put its related variables 1st to avoid conflicts with MPICH OPENMPI_CONFIGURE_ENV_OFF= CC_LDFLAGS="${LDFLAGS}" CXX_LDFLAGS="${LDFLAGS}" \ FC_LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" .if defined(WITH_LEVMAR) # --with-levmar seems deprecated LIB_DEPENDS+= liblevmar.so:math/levmar CONFIGURE_ENV+= LEVMAR_LIBS="-llevmar ${BLASLIB} ${LAPACKLIB}" CONFIGURE_ARGS+= --with-levmar .endif .include .if ${GCC_DEFAULT} >= 10 FCFLAGS+= -fallow-argument-mismatch # see https://github.com/abinit/abinit/issues/41 .endif pre-configure: (cd ${WRKSRC} && ./autogen.sh) post-install-DOCS-on: ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/doc/tutorial/paral_moldyn_assets/diag_moldyn.py ${RM} ${WRKSRC}/doc/tutorial/paral_moldyn_assets/diag_moldyn.py.bak @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/doc/tutorial ${STAGEDIR}${DOCSDIR} pre-test: ${TOUCH} ${TEST_WRKSRC}/make.log .include diff --git a/science/lammps/Makefile b/science/lammps/Makefile index 3a1ffeb10875..9b982856933e 100644 --- a/science/lammps/Makefile +++ b/science/lammps/Makefile @@ -1,157 +1,158 @@ PORTNAME= lammps PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/S/_update/./:C/\.([1-9])$/.0\1/} +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Classical molecular dynamics code with a focus on materials modeling WWW= https://lammps.sandia.gov/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= undefined reference to `__atomic_load' LIB_DEPENDS= libevent.so:devel/libevent \ libfftw3.so:math/fftw3 \ libhwloc.so:devel/hwloc2 \ libnghttp2.so:www/libnghttp2 \ libpciaccess.so:devel/libpciaccess \ libssh2.so:security/libssh2 \ libzstd.so:archivers/zstd USES= blaslapack:openblas cmake:noninja,testing compiler:c++14-lang eigen:3 fortran gnome localbase:ldflags python shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYTHON= cython USE_GITHUB= yes GH_TAGNAME= patch_21Nov2023 SHEBANG_GLOB= *.sh *.bash SHEBANG_FILES= lib/kokkos/bin/nvcc_wrapper CMAKE_ON= BUILD_SHARED_LIBS CMAKE_SOURCE_PATH= ${WRKSRC}/cmake CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" ${CMAKE_ARGS_${CHOSEN_COMPILER_TYPE}} \ -DPython_EXECUTABLE=${PYTHON_CMD} CMAKE_ARGS_gcc= -DBUILD_OMP:BOOL=false CMAKE_TESTING_ON= ENABLE_TESTING # 3 tests fail, see https://github.com/lammps/lammps/issues/3875 # enable packages (for a complete list see STANDARD_PACKAGES in cmake/CMakeLists.txt) CMAKE_ON+= PKG_ASPHERE PKG_ATC PKG_AWPMD PKG_BOCS PKG_BODY PKG_BROWNIAN PKG_CG-DNA PKG_CG-SDK PKG_CLASS2 CMAKE_ON+= PKG_COLLOID PKG_COLVARS PKG_COMPRESS PKG_DIELECTRIC PKG_DIFFRACTION PKG_DIPOLE PKG_DPD-BASIC PKG_DPD-MESO PKG_DPD-REACT PKG_DPD-SMOOTH CMAKE_ON+= PKG_DRUDE PKG_EFF PKG_EXTRA-COMPUTE PKG_EXTRA-DUMP PKG_EXTRA-FIX PKG_EXTRA-MOLECULE PKG_EXTRA-PAIR PKG_FEP PKG_GRANULAR PKG_H5MD CMAKE_ON+= PKG_INTERLAYER PKG_KIM PKG_KSPACE PKG_LATBOLTZ PKG_LATTE PKG_MACHDYN PKG_MANIFOLD PKG_MANYBODY PKG_MC CMAKE_ON+= PKG_MEAM PKG_MESSAGE PKG_MGPT PKG_MISC PKG_ML-IAP PKG_ML-RANN CMAKE_ON+= PKG_ML-SNAP PKG_MOFFF PKG_MOLECULE PKG_MOLFILE PKG_MPIIO PKG_ORIENT PKG_PERI PKG_PHONON CMAKE_ON+= PKG_PLUGIN PKG_PLUMED PKG_POEMS PKG_PTM PKG_PYTHON PKG_QEQ PKG_QMMM PKG_QTB PKG_REACTION PKG_REAXFF CMAKE_ON+= PKG_REPLICA PKG_RIGID PKG_SHOCK PKG_SMTBQ PKG_SPH PKG_SPIN PKG_SRD PKG_TALLY PKG_UEF CMAKE_ON+= PKG_VORONOI PKG_YAFF # Packages requiring extra downloades or dependencies: PKG_MSCG PKG_ADIOS PKG_MDI PKG_MESONT PKG_ML-PACE PKG_NETCDF PKG_ML-QUIP PKG_SCAFACOS PKG_VTK # PKG_ML-HDNNP downloads https://github.com/CompPhysVienna/n2p2/archive/v2.1.4.tar.gz OPTIONS_DEFINE= EXCEPTIONS JPEG PNG GZIP FFMPEG OPTIONS_GROUP= PARALLEL PACKAGES OPTIONS_DEFAULT= EXCEPTIONS MPI OPENMP JPEG PNG GZIP FFMPEG H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI ${OPTIONS_DEFAULT_${CHOSEN_COMPILER_TYPE}} OPTIONS_SUB= yes PARALLEL_DESC= Enable parallelizations: PACKAGES_DESC= Enable packages: OPTIONS_GROUP_PARALLEL= MPI OPENMP ${OPTIONS_DEFINE_${CHOSEN_COMPILER_TYPE}} OPTIONS_GROUP_PACKAGES= H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI VTK EXCEPTIONS_DESC= Enable the use of C++ exceptions EXCEPTIONS_CMAKE_BOOL= LAMMPS_EXCEPTIONS MPI_CMAKE_BOOL= BUILD_MPI PKG_MPIIO MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 MPI_USES= compiler:c11 FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_BUILD_DEPENDS= ffmpeg:multimedia/ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng.so:graphics/png GZIP_DESC= Enable GZIP support GZIP_CMAKE_BOOL= WITH_GZIP H5MD_DESC= H5MD package based on the libhdf5 library H5MD_CMAKE_BOOL= PKG_H5MD H5MD_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec KIM_DESC= KIM package based on the OpenKim library/repository KIM_USES= pkgconfig KIM_CMAKE_BOOL= PKG_KIM KIM_CMAKE_ON= -DDOWNLOAD_KIM:BOOL=OFF KIM_LIB_DEPENDS= libkim-api.so:science/kim-api \ libcurl.so:ftp/curl KIM_RUN_DEPENDS= openkim-models>0:science/openkim-models KOKKOS_DESC= Kokkos package based on the libkokkos library KOKKOS_CMAKE_BOOL= PKG_KOKKOS EXTERNAL_KOKKOS KOKKOS_LIB_DEPENDS= libkokkoscore.so:devel/kokkos LATTE_DESC= Latte package based on the liblatte library LATTE_CMAKE_BOOL= PKG_LATTE LATTE_LIB_DEPENDS= liblatte.so:science/latte NETCDF_DESC= NetCDF package based on the NetCDF library NETCDF_CMAKE_BOOL= PKG_NETCDF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf PLUMED_DESC= Plumed package based on the plumed library PLUMED_USES= pkgconfig PLUMED_CMAKE_BOOL= PKG_PLUMED PLUMED_CMAKE_ON= -DPLUMED_MODE=shared PLUMED_LIB_DEPENDS= libplumed.so:science/plumed VORONOI_DESC= Voro++, Voronoi tessellation package VORONOI_CMAKE_BOOL= PKG_VORONOI VORONOI_LIB_DEPENDS= libvoro++.so:science/voro++ VTK_DESC= VTK package based on the external VTK-${VTK_VER:R} library VTK_CMAKE_BOOL= PKG_VTK VTK_CMAKE_ON= -DVTK_DIR:PATH=${LOCALBASE}/lib/cmake/vtk-${VTK_VER} VTK_USES= gl qt:5 xorg VTK_USE= GL=opengl qt=core,declarative,gui,network,opengl,sql,widgets xorg=ice,sm,x11,xext,xt VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff PORTSCOUT= ignore:1 # due to a special version tagging scheme that this project uses portscout fails to find new versions, watching their GitHub release page instead .include .if ${PORT_OPTIONS:MOPENMP} CMAKE_ARGS+= -DBUILD_OMP:BOOL=true .endif xpost-patch: # adjust SHELL in Makefile @${REINPLACE_CMD} 's|SHELL = /bin/bash|SHELL = ${LOCALBASE}/bin/bash|' ${WRKSRC}/src/Makefile # fix python version, also see https://github.com/lammps/lammps/issues/3098, https://github.com/lammps/lammps/issues/3099 @${FIND} ${WRKSRC} -name "CMakeLists.txt" -o -name "*.cmake" | ${XARGS} ${REINPLACE_CMD} -e ' \ s|find_package(Python3 REQUIRED |find_package(Python $${FREEBSD_PYTHON_VER} EXACT REQUIRED |; \ s|find_package(Python 3.5 COMPONENTS |find_package(Python $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python 3.6 COMPONENTS |find_package(Python $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python3 REQUIRED |find_package(Python $${FREEBSD_PYTHON_VER} EXACT REQUIRED |; \ s|find_package(Python COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python3 COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT COMPONENTS |; \ s|find_package(Python QUIET COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT QUIET COMPONENTS |; \ s|find_package(Python REQUIRED COMPONENTS |find_package(Python3 $${FREEBSD_PYTHON_VER} EXACT REQUIRED COMPONENTS | \ ' post-patch-FFMPEG-off: @${REINPLACE_CMD} 's|find_program(FFMPEG_EXECUTABLE|#&|' ${WRKSRC}/cmake/CMakeLists.txt post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/python* .include <../../math/vtk9/Makefile.version> .include diff --git a/science/latte/Makefile b/science/latte/Makefile index 9f0f2473b41e..99fc5ad5c795 100644 --- a/science/latte/Makefile +++ b/science/latte/Makefile @@ -1,51 +1,51 @@ PORTNAME= latte DISTVERSIONPREFIX= v DISTVERSION= 1.2.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Quantum chemistry: Density functional tight binding molecular dynamics WWW= https://github.com/lanl/LATTE LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE_GPL-2.0 USES= blaslapack:openblas cmake:noninja fortran shebangfix SHEBANG_FILES= tests/run_test.sh USE_GITHUB= yes GH_ACCOUNT= lanl GH_PROJECT= ${PORTNAME:tu} USE_LDCONFIG= yes CMAKE_SOURCE_PATH= ${WRKSRC}/cmake CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DBLA_VENDOR:STRING="OpenBLAS" OPTIONS_DEFINE= DBCSR OPENMP MPI # TODO PROGRESS needs to be ported OPTIONS_DEFAULT= OPENMP MPI DBCSR_DESC= Use distributed block compressed sparse row matrix library DBCSR_CMAKE_BOOL= DBCSR_OPT DBCSR_LIB_DEPENDS= libdbcsr.so:math/dbcsr DBCSR_BROKEN= see https://github.com/lanl/LATTE/issues/92 OPENMP_CMAKE_BOOL= OPENMP MPI_CMAKE_BOOL= DO_MPI MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 MPI_LDFLAGS= ${LOCALBASE}/mpi/openmpi/lib/libmpi_mpifh.so MPI_PLIST_FILES= bin/LATTE_MPI_DOUBLE MPI_PLIST_FILES_OFF= bin/LATTE_DOUBLE CONFLICTS_INSTALL= latte-integrale .include .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif .include diff --git a/science/ocean/Makefile b/science/ocean/Makefile index 5decab202f49..70345b0311ab 100644 --- a/science/ocean/Makefile +++ b/science/ocean/Makefile @@ -1,57 +1,57 @@ PORTNAME= ocean DISTVERSIONPREFIX= v DISTVERSION= 3.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science PKGNAMESUFFIX= -spectroscopy-code MAINTAINER= yuri@FreeBSD.org COMMENT= BSE code for core spectroscopy WWW= https://github.com/times-software/OCEAN LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/License LIB_DEPENDS= libfftw3.so:math/fftw3 \ libopenblas.so:math/openblas RUN_DEPENDS= abinit>0:science/abinit \ quantum-espresso>0:science/quantum-espresso USES= fortran gmake localbase perl5 shebangfix USE_PERL5= build run SHEBANG_GLOB= *.pl USE_GITHUB= yes GH_ACCOUNT= times-software GH_PROJECT= ${PORTNAME:tu} MAKE_ARGS= MPIFC=${MPIFC} \ MPI_HOME=${MPI_HOME} \ MPI_LIBS="${MPI_LIBS}" BINARY_ALIAS= make=${GMAKE} OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= OPENMPI MPICH_USES= mpi:mpich OPENMPI_USES= mpi:openmpi post-extract: # copy in the Makefile.arch file @${LN} -s ${FILESDIR}/Makefile.arch ${WRKSRC}/ # set execution flag on all *.pl files @${FIND} ${WRKSRC} -name "*.pl" | ${XARGS} ${CHMOD} +x post-patch: # patch the bash path (but run_examples.pl is currently dysfunctional, according to README) @${REINPLACE_CMD} -i '' -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' ${WRKSRC}/EXAMPLE/run_examples.pl post-install: # strip binaries @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*.x .include diff --git a/science/pnetcdf/Makefile b/science/pnetcdf/Makefile index 689427acbc1e..bc19e7e921e1 100644 --- a/science/pnetcdf/Makefile +++ b/science/pnetcdf/Makefile @@ -1,48 +1,48 @@ PORTNAME= pnetcdf PORTVERSION= 1.12.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science parallel MASTER_SITES= https://parallel-netcdf.github.io/Release/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library providing high-performance I/O WWW= https://parallel-netcdf.github.io/ USES= fortran gmake libtool pathfix perl5 USE_PERL5= build CFLAGS+= -fPIC CONFIGURE_ARGS= --with-mpi=${MPI_HOME} ac_cv_fc_compiler_nag=no GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes CONFLICTS_INSTALL= hdf-4.* OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= OPENMPI MPICH OPTIONS_DEFAULT=OPENMPI OPTIONS_DEFAULT_armv6= MPICH OPTIONS_DEFAULT_armv7= MPICH OPTIONS_DEFAULT_i386= MPICH OPTIONS_DEFAULT_powerpc=MPICH OPTIONS_EXCLUDE_armv6= OPENMPI OPTIONS_EXCLUDE_armv7= OPENMPI OPTIONS_EXCLUDE_i386= OPENMPI OPTIONS_EXCLUDE_powerpc=OPENMPI MPICH_USES= mpi:mpich OPENMPI_USES= mpi:openmpi .include .if ${GCC_DEFAULT} >= 10 # Workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/CHARACTER(*)). FCFLAGS+= -fallow-argument-mismatch .endif .if (${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc) && ${PORT_OPTIONS:MOPENMPI} BROKEN= Use MPICH option instead. PnetCDF requires MPI_Offset >= 8 but Open MPI sets MPI_Offset to 4 on 32-bit architecture regardless of LFS. See https://github.com/open-mpi/ompi/issues/3195 for details .endif .include diff --git a/science/sparta/Makefile b/science/sparta/Makefile index 2b4f5ad5c1a0..b03b16fa993e 100644 --- a/science/sparta/Makefile +++ b/science/sparta/Makefile @@ -1,50 +1,50 @@ PORTNAME= sparta PORTVERSION= ${GH_TAGNAME:C/([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\3.\2.\1/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science PKGNAMESUFFIX= -dsmc # Direct Simulation Monte Carlo MAINTAINER= yuri@FreeBSD.org COMMENT= Gas simulator: SPARTA DSMC software package WWW= https://sparta.sandia.gov/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../LICENSE BUILD_DEPENDS= bash:shells/bash USES= compiler:c++11-lang gmake localbase USE_GITHUB= yes GH_TAGNAME= 18Jul2022 CXXFLAGS+= -DSPARTA_UNORDERED_MAP WRKSRC_SUBDIR= src MAKE_ARGS= CC=${CXX} CCFLAGS="${CXXFLAGS}" LINK=${CXX} LINKFLAGS="${LDFLAGS}" mode=exe OPTIONS_SINGLE= PARALLEL OPTIONS_SINGLE_PARALLEL= SERIAL MPI OPTIONS_DEFAULT= MPI PARALLEL_DESC= Parallelization SERIAL_DESC= Serial: no parallelization SERIAL_ALL_TARGET= serial SERIAL_PLIST_FILES= bin/spa_serial MPI_ALL_TARGET= mpi MPI_PLIST_FILES= bin/spa_mpi MPI_CXXFLAGS= -I${LOCALBASE}/mpi/openmpi/include MPI_LDFLAGS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so \ ${LOCALBASE}/mpi/openmpi/lib/libmpi_cxx.so \ -Wl,-rpath=${LOCALBASE}/mpi/openmpi/lib MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 PORTSCOUT= ignore:1 # due to a special version tagging scheme that this project uses portscout fails to find new versions, watching their release page instead post-patch: @${REINPLACE_CMD} 's|SHELL = /bin/bash|SHELL = ${LOCALBASE}/bin/bash|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/spa_* ${STAGEDIR}${PREFIX}/bin/ .include