diff --git a/biology/salmon/Makefile b/biology/salmon/Makefile index 6113ea36748f..c611eca0bb1e 100644 --- a/biology/salmon/Makefile +++ b/biology/salmon/Makefile @@ -1,51 +1,51 @@ PORTNAME= salmon DISTVERSIONPREFIX= v DISTVERSION= 1.10.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Transcript-level quantification of RNA-seq from lightweight alignments WWW= https://github.com/COMBINE-lab/salmon LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe NOT_FOR_ARCHS_REASON= Requires 64-bit processor # libtool and auto* are run manually in submodules, so don't put them in USES BUILD_DEPENDS= bash:shells/bash \ cereal>=1.3.0:devel/cereal \ libgff==2.0.0:biology/libgff \ libtool:devel/libtool \ autoreconf:devel/autoconf \ aclocal:devel/automake LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libtbb.so:devel/onetbb \ libcurl.so:ftp/curl USES= cmake:noninja gmake localbase shebangfix USE_GITHUB= yes GH_ACCOUNT= COMBINE-lab GH_TUPLE+= COMBINE-lab:pufferfish:salmon-v1.10.2:pf/external/pufferfish GH_TUPLE+= jkbonfield:io_lib:io_lib-1-14-15:sio/external/staden-io_lib GH_TUPLE+= samtools:htscodecs:5aecc6e:htscodec/external/staden-io_lib/htscodecs SHEBANG_FILES= scripts/* PLIST_FILES= bin/salmon CMAKE_ARGS+= -DHAVE_FAST_MALLOC:BOOL=on \ -DBOOST_ROOT:PATH=${LOCALBASE} \ -DFETCHED_PUFFERFISH:BOOL=on \ -DFETCHED_LIBGFF:BOOL=on \ -DFETCH_STADEN:BOOL=true LDFLAGS+= -lpthread pre-configure: (cd ${WRKSRC}/external/staden-io_lib && ./bootstrap) do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/src/salmon ${STAGEDIR}${PREFIX}/bin .include diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index 2704e0ea38cf..e5c9adc945e1 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,63 +1,63 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.7.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= cad DIST_SUBDIR= PrusaSlicer MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers WWW= https://www.prusa3d.com/prusaslicer/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal \ opencascade>=7.7.0:cad/opencascade \ libbgcode>=0.2.0:cad/libbgcode LIB_DEPENDS+= libbgcode_convert.so:cad/libbgcode \ libbgcode_binarize.so:cad/libbgcode \ libbgcode_core.so:cad/libbgcode \ libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libqhull_r.so:math/qhull \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libiconv.so:converters/libiconv \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png \ libTKXSDRAWSTEP.so:cad/opencascade \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libavcodec.so:multimedia/ffmpeg4 \ libharfbuzz.so:print/harfbuzz \ libwayland-egl.so:graphics/wayland USES= cmake cpe desktop-file-utils eigen:3 gettext gl gnome iconv \ jpeg pkgconfig xorg CPE_VENDOR= prusa3d USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_GL= gl glu glew USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20 USE_WX= 3.2 USE_XORG= x11 CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 \ -DSLIC3R_PCH=OFF \ -DSLIC3R_BUILD_TESTS=OFF PORTDATA= * .include diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile index e7a92769ab41..f30f78ef0ed9 100644 --- a/cad/freecad/Makefile +++ b/cad/freecad/Makefile @@ -1,128 +1,128 @@ PORTNAME= FreeCAD DISTVERSION= 0.21.2 -PORTREVISION= 5 +PORTREVISION= 6 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 \ libyaml-cpp.so:devel/yaml-cpp \ libfreetype.so:print/freetype2 \ libtbb.so:devel/onetbb \ ${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 \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libavutil.so:multimedia/ffmpeg4 \ 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 gmake jpeg \ localbase:ldflags mpi:openmpi pkgconfig python localbase qt:5 xorg \ desktop-file-utils shared-mime-info shebangfix USE_GITHUB= yes GH_TAGNAME= 8abd09398a010337c3b294e687e0666b60bceacf # PR #11909 Add support for OCCT 7.8.0 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 pre-configure: @${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/cad/librepcb/Makefile b/cad/librepcb/Makefile index ce7052cd6f46..024c5317f279 100644 --- a/cad/librepcb/Makefile +++ b/cad/librepcb/Makefile @@ -1,39 +1,40 @@ PORTNAME= librepcb DISTVERSION= 1.1.0 +PORTREVISION= 1 DISTVERSIONSUFFIX= -source CATEGORIES= cad MASTER_SITES= https://download.librepcb.org/releases/${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Schematic and PCB editing software WWW= https://librepcb.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg4 \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libtbb.so:devel/onetbb \ libTKService.so:cad/opencascade USES= cmake:testing compiler:c++11-lang desktop-file-utils gl \ localbase:ldflags qt:5 shared-mime-info xorg zip USE_QT= concurrent core declarative gui network \ opengl printsupport quickcontrols2 sql svg xml widgets \ buildtools:build linguisttools:build testlib:build qmake:build USE_GL= gl glu USE_XORG= x11 WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE}/lib # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274834 CMAKE_OFF= BUILD_TESTS CMAKE_TESTING_ON= BUILD_TESTS CMAKE_TESTING_TARGET= post-test: # run tests @${BUILD_WRKSRC}/tests/unittests/librepcb-unittests .include diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile index 9fd70c7366ca..95688c9d73a7 100644 --- a/cad/opencascade/Makefile +++ b/cad/opencascade/Makefile @@ -1,199 +1,200 @@ PORTNAME= opencascade DISTVERSIONPREFIX= V DISTVERSION= 7_8_1 +PORTREVISION= 1 CATEGORIES= cad science DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Open CASCADE Technology, 3D modeling & numerical simulation WWW= https://www.opencascade.org/ LICENSE= OCTPL LICENSE_NAME= LGPL21 with exception LICENSE_FILE= ${WRKSRC}/OCCT_LGPL_EXCEPTION.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= rapidjson>0:devel/rapidjson \ ${LOCALBASE}/lib/qt5/bin/qmake:devel/qt5-qmake \ ${LOCALBASE}/lib/qt5/bin/moc:devel/qt5-buildtools LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libtbbmalloc.so:devel/onetbb \ libexpat.so:textproc/expat2 \ libdraco.so:archivers/draco \ libpng16.so:graphics/png \ libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R} RUN_DEPENDS= bash:shells/bash # Check ${WRKSRC}/dox/overview/overview.md # and ${WRKSRC}/dox/dev_guides/building USES= alias:10 cmake compiler:c++14-lang eigen:3 gettext-runtime \ gl gnome localbase python qt:5 shebangfix tk xorg USE_XORG= ice sm x11 xau xcb xdmcp xext xft xi xmu xrender xscrnsaver xt USE_GL= egl gl glesv2 glu USE_GNOME= libxml2 USE_QT= core declarative gui network quick3d linguisttools widgets xml USE_GITHUB= yes GH_ACCOUNT= Open-Cascade-SAS GH_PROJECT= OCCT SHEBANG_FILES= adm/templates/*.sh \ adm/templates/*.sh.in \ adm/templates/*.sh.main \ adm/genconf.tcl \ adm/start.tcl \ gendoc ENVSH= adm/templates/env.sh OPTIONS_DEFINE= DOCS DOXYGEN FFMPEG VIS VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl) OPTIONS_DEFAULT=FFMPEG VIS OPTIONS_SUB= yes REINPLACE_ARGS= -i "" LDFLAGS+= -Wl,--allow-shlib-undefined -lexecinfo CMAKE_ARGS+= -DINSTALL_DIR=${OCCROOT} \ -DINSTALL_DIR_INCLUDE=${PREFIX}/include/OpenCASCADE \ -DINSTALL_DIR_LIB=${PREFIX}/lib \ -DINSTALL_DIR_CMAKE=${PREFIX}/lib/cmake \ -DINSTALL_DIR_DATA=${OCCROOT}/data \ -DINSTALL_DIR_RESOURCE=${OCCROOT}/resources \ -DINSTALL_DIR_SAMPLES=${OCCROOT}/samples \ -DINSTALL_DIR_TESTS=${OCCROOT}/tests \ -DINSTALL_TEST_CASES:BOOL=ON \ -DBUILD_Inspector:BOOL=ON \ -DUSE_TCL:BOOL=ON \ -DCAN_USE_TK:BOOL=ON -DUSE_TK:BOOL=ON \ -DCAN_USE_XLIB:BOOL=ON -DUSE_XLIB:BOOL=ON \ -DCAN_USE_FREETYPE:BOOL=ON -DUSE_FREETYPE:BOOL=ON \ -DCAN_USE_VTK:BOOL=ON -DUSE_VTK:BOOL=ON \ -DCAN_USE_EIGEN:BOOL=ON -DUSE_EIGEN:BOOL=ON \ -DCAN_USE_RAPIDJSON:BOOL=ON -DUSE_RAPIDJSON:BOOL=ON \ -DCAN_USE_DRACO:BOOL=ON -DUSE_DRACO:BOOL=ON \ -DCAN_USE_TBB:BOOL=ON -DUSE_TBB:BOOL=ON \ -D3RDPARTY_QT_DIR:PATH=${QT_LIBDIR} \ -D3RDPARTY_DRACO_DIR:PATH=${LOCALBASE} \ -D3RDPARTY_DRACO_LIBRARY=libdraco.so \ -D3RDPARTY_DRACO_LIBRARY_DIR:PATH=${LOCALBASE}/lib \ -D3RDPARTY_DRACO_INCLUDE_DIR:PATH=${LOCALBASE}/include/draco \ -D3RDPARTY_VTK_INCLUDE_DIR:PATH=${LOCALBASE}/include/vtk-${VTK_VER} CONFIGURE_ENV+= DESTDIR=${STAGEDIR} .if defined(MAINTAINER_MODE) CMAKE_ARGS+= -DCMAKE_MESSAGE_CONTEXT_SHOW:BOOL=ON \ -DCMAKE_MESSAGE_LOG_LEVEL:STRING=DEBUG .endif USE_LDCONFIG= yes CONFLICTS_INSTALL= opencascade740 # OpenCAS/bin/DRAWEXE LOCCROOT= OpenCAS OCCROOT= ${PREFIX}/${LOCCROOT} PLIST_SUB= OCCROOT="${LOCCROOT}" BITS=${BITS} CC=${CHOSEN_COMPILER_TYPE} \ VE=${PORTVERSION:R} VER=${PORTVERSION} FFMPEG_CMAKE_ON= -DCAN_USE_FFMPEG:BOOL=ON -DUSE_FFMPEG:BOOL=ON \ -D3RDPARTY_FFMPEG_INCLUDE_DIR=${LOCALBASE}/ffmpeg4/include \ -D3RDPARTY_FFMPEG_DIR=${LOCALBASE}/ffmpeg4 FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 \ libtheoraenc.so:multimedia/libtheora \ libunistring.so:devel/libunistring \ libvdpau.so:multimedia/libvdpau \ libxvidcore.so:multimedia/xvid \ libp11-kit.so:security/p11-kit \ libx264.so:multimedia/libx264 \ libtasn1.so:security/libtasn1 \ libvorbis.so:audio/libvorbis \ libdav1d.so:multimedia/dav1d \ libnettle.so:security/nettle \ libgnutls.so:security/gnutls \ libvpx.so:multimedia/libvpx \ libx265.so:multimedia/x265 \ libdrm.so:graphics/libdrm \ libva.so:multimedia/libva \ libaom.so:multimedia/aom \ libmp3lame.so:audio/lame \ libffi.so:devel/libffi \ libidn2.so:dns/libidn2 \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libgmp.so:math/gmp VIS_CMAKE_ON= -DCAN_USE_FREEIMAGE:BOOL=ON -DUSE_FREEIMAGE:BOOL=ON \ -DCAN_USE_OPENGL:BOOL=ON -DUSE_OPENGL:BOOL=ON \ -DCAN_USE_GLES2:BOOL=ON -DUSE_GLES2:BOOL=ON \ -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF \ -DUSE_GLES2:BOOL=OFF VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libfreeimageplus.so:graphics/freeimage VIS_USE= GL=glesv2,opengl DOXYGEN_IMPLIES= DOCS DOXYGEN_USES= tex DOXYGEN_USE= TEX=latex:build DOXYGEN_BUILD_DEPENDS= bash:shells/bash \ doxygen:devel/doxygen \ dot:graphics/graphviz \ pdftex:print/tex-basic-engines \ inkscape:graphics/inkscape DOXYGEN_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax DOXYGEN_CMAKE_ON= -DBUILD_DOC_Overview:BOOL=ON \ -DINSTALL_DOC_Overview:BOOL=ON .include .if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == mips || ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == "i386" BITS= 32 .else BITS= 64 .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "Warning: to build OpenCascade, you should have at least" @${ECHO_MSG} "2.6 Gb of free disk space in build area!" @${ECHO_MSG} pre-patch: ${REINPLACE_CMD} 's|||' \ ${WRKSRC}/src/BRepMesh/delabella.cpp\ ${WRKSRC}/src/OSD/OSD_MemInfo.cxx pre-configure: ${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/gendoc ${REINPLACE_CMD} -e 's|/usr/bin/|${LOCALBASE}/bin/|' ${WRKSRC}/adm/genconfdeps.tcl ${GREP} -rl x86_64 ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ -e 's|x86_64|amd64|' .for es in ${ENVSH} ${REINPLACE_CMD} -e 's|lin|bsd|' ${WRKSRC}/${es} .endfor post-stage: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/cmake/OpenCASCADE ${MV} ${STAGEDIR}${PREFIX}/lib/cmake/*.cmake \ ${STAGEDIR}${PREFIX}/lib/cmake/OpenCASCADE post-install: ${MV} ${STAGEDIR}${OCCROOT}/bin/DRAWEXE-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/DRAWEXE ${RLN} ${STAGEDIR}${PREFIX}/bin/DRAWEXE ${STAGEDIR}${OCCROOT}/bin post-install-DOXYGEN-on: ${RLN} ${STAGEDIR}${OCCROOT}/${DOCSDIR_REL} ${STAGEDIR}${DOCSDIR} .if defined(MAINTAINER_MODE) regression-test: install ${RM} -rf /tmp/testOCC ${MKDIR} /tmp/testOCC bash -c "\ cd ${OCCROOT} && . ${OCCROOT}/bin/env.sh && \ CSF_TestScriptsPath=${OCCROOT}/tests \ CSF_TestDataPath=${OCCROOT}/data \ DRAWEXE -f ${FILESDIR}/regtest " .endif .include <../../math/vtk9/Makefile.version> .include diff --git a/devel/ikos/Makefile b/devel/ikos/Makefile index c2416a9b0116..940fabb7d04b 100644 --- a/devel/ikos/Makefile +++ b/devel/ikos/Makefile @@ -1,48 +1,48 @@ PORTNAME= ikos DISTVERSIONPREFIX= v DISTVERSION= 3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Static analyzer for C/C++ based on theory of abstract interpretation WWW= https://github.com/NASA-SW-VnV/ikos LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.pdf BROKEN_armv7= configure fails: error when running a program linked with GMP: Segmentation fault BUILD_DEPENDS= llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} LIB_DEPENDS= libapron.so:math/apron \ libboost_system.so:devel/boost-libs \ libmpfr.so:math/mpfr \ libgmp.so:math/gmp \ libppl.so:devel/ppl \ libtbb.so:devel/onetbb RUN_DEPENDS= llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} USES= cmake ncurses python sqlite USE_GITHUB= yes GH_ACCOUNT= NASA-SW-VnV USE_LDCONFIG= yes LLVM_VERSION= 14 # only llvm-14 is currently supported CXXFLAGS+= -DNDEBUG # https://github.com/NASA-SW-VnV/ikos/issues/36, it also breaks with assert without NDEBUG CMAKE_ON= BUILD_SHARED_LIBS CMAKE_ARGS= -DLLVM_CONFIG_EXECUTABLE:PATH=${LOCALBASE}/bin/llvm-config${LLVM_VERSION} \ -DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD} PLIST_SUB= PORTVERSION=${PORTVERSION} post-configure: # workaround for the problem that --color-diagnostics gets into the linker command lines @${REINPLACE_CMD} 's|-Wl,--color-diagnostics| |' ${BUILD_WRKSRC}/build.ninja # use clang corresponding to the used llvm version CPP= clang-cpp${LLVM_VERSION} CC= clang${LLVM_VERSION} CXX= clang++${LLVM_VERSION} .include diff --git a/devel/ispc/Makefile b/devel/ispc/Makefile index 08bf7653eabf..c4c210a069b0 100644 --- a/devel/ispc/Makefile +++ b/devel/ispc/Makefile @@ -1,81 +1,82 @@ PORTNAME= ispc DISTVERSIONPREFIX= v DISTVERSION= 1.24.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Intel's compiler for high-performance SIMD programming WWW= https://ispc.github.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= aarch64 amd64 i386 ONLY_FOR_ARCHS_REASON= only available for these architectures BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ m4:devel/m4 LIB_DEPENDS= libLLVM.so:devel/llvm${LLVM_VERSION} \ libtbb.so:devel/onetbb USES= bison cmake compiler:c++17-lang llvm:lib,min=15,max=15 python:build,test shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_TUPLE= google:googletest:6a7ed31:googletest/ispcrt/tests/vendor/google/googletest SHEBANG_FILES= *.py CONFIGURE_ENV= PATH=${LOCALBASE}/llvm${LLVM_VERSION}/bin:${PATH} # see https://github.com/ispc/ispc/issues/2318 CMAKE_OFF= ISPC_NO_DUMPS ISPCRT_BUILD_GPU ISPC_INCLUDE_TESTS ISPCRT_BUILD_TESTS ISPC_INCLUDE_EXAMPLES CMAKE_ARGS= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config BINARY_ALIAS= flex=${LOCALBASE}/bin/flex python=${PYTHON_CMD} m4=${LOCALBASE}/bin/gm4 PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE_amd64= ARM XE OPTIONS_DEFINE_i386= ARM ARM_DESC= Enable ARM support - requires ARM backend in LLVM ARM_CMAKE_BOOL= ARM_ENABLED XE_DESC= Enable Intel Xe support XE_BUILD_DEPENDS= ${LOCALBASE}/llvm${LLVM_VERSION}/lib/libLLVMGenXIntrinsics.a:devel/vc-intrinsics@llvm${LLVM_VERSION} XE_LIB_DEPENDS= libze_loader.so:devel/level-zero \ libLLVMSPIRVLib.so.${LLVM_VERSION}:devel/spirv-llvm-translator@llvm${LLVM_VERSION} XE_CMAKE_BOOL= XE_ENABLED XE_CMAKE_BOOL_OFF= ISPCRT_BUILD_TESTS XE_CMAKE_ON= -DXE_DEPS_DIR:PATH="${LOCALBASE}/llvm${LLVM_VERSION}" -DISPC_INCLUDE_XE_EXAMPLES=OFF XE_PLIST_FILES= include/ispcrt/ispcrt.h \ include/ispcrt/ispcrt.hpp \ include/ispcrt/ispcrt.isph \ lib/cmake/ispcrt-${PORTVERSION}/Finddpcpp_compiler.cmake \ lib/cmake/ispcrt-${PORTVERSION}/Findlevel_zero.cmake \ lib/cmake/ispcrt-${PORTVERSION}/interop.cmake \ lib/cmake/ispcrt-${PORTVERSION}/ispc.cmake \ lib/cmake/ispcrt-${PORTVERSION}/ispcrtConfig.cmake \ lib/cmake/ispcrt-${PORTVERSION}/ispcrt_Exports-%%CMAKE_BUILD_TYPE%%.cmake \ lib/cmake/ispcrt-${PORTVERSION}/ispcrt_Exports.cmake \ lib/libispcrt.so \ lib/libispcrt.so.1 \ lib/libispcrt.so.${PORTVERSION} \ lib/libispcrt_static.a XE_BROKEN= Unknown architecture do-test: # all tests pass @cd ${WRKSRC} && ISPC_HOME=${BUILD_WRKSRC}/bin ./run_tests.py test-check-all: # the upstream claims that some of these checks are broken without using their patched llvm version, hence using llvm-devel @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check-all run-examples: build @[ -f ${LOCALBASE}/lib/libtbb.so ] || ! echo "ERROR run-examples target requires devel/tbb package installed" .for e in simple sort mandelbrot stencil @cd ${WRKSRC}/examples/${e} && \ ${ECHO} "===> Running example ${e}" && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \ ./${e} .endfor .include diff --git a/devel/mold/Makefile b/devel/mold/Makefile index 4f4749b3029d..7883fa74eeaf 100644 --- a/devel/mold/Makefile +++ b/devel/mold/Makefile @@ -1,47 +1,47 @@ PORTNAME= mold DISTVERSIONPREFIX= v DISTVERSION= 2.31.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= ashish@FreeBSD.org COMMENT= Modern Linker WWW= https://github.com/rui314/mold LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armhf armv7 i386 LIB_DEPENDS= libmimalloc.so:devel/mimalloc \ libtbb.so:devel/onetbb \ libzstd.so:archivers/zstd USES= cmake ssl localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= rui314 CMAKE_ON= MOLD_USE_MIMALLOC \ MOLD_USE_SYSTEM_MIMALLOC \ MOLD_USE_SYSTEM_TBB CMAKE_OFF= MOLD_USE_MOLD \ MOLD_USE_TSAN \ MOLD_MOSTLY_STATIC \ BUILD_TESTING \ MOLD_LTO OPTIONS_DEFINE= ASAN ASAN_DESC= Enable Address Sanitizer ASAN_CMAKE_BOOL=MOLD_USE_ASAN PLIST_FILES= bin/ld.mold \ bin/mold \ lib/mold/mold-wrapper.so \ libexec/mold/ld \ share/man/man1/ld.mold.1.gz \ share/man/man1/mold.1.gz .include diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile index 487838bf62d2..aefdfb6da17a 100644 --- a/devel/onetbb/Makefile +++ b/devel/onetbb/Makefile @@ -1,50 +1,50 @@ PORTNAME= onetbb -PORTVERSION= 2021.12.0 +PORTVERSION= 2021.13.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= martymac@FreeBSD.org COMMENT= Library that provides thread building blocks WWW= https://software.intel.com/oneapi/onetbb LICENSE= APACHE20 LIB_DEPENDS= libhwloc.so.15:devel/hwloc2 USES= cmake compiler:c++11-lang pathfix tar:tgz CMAKE_ARGS+= -DTBB_STRICT:BOOL=FALSE \ -DCMAKE_INSTALL_DOCDIR:PATH="${DOCSDIR}" \ -DCMAKE_HWLOC_2_LIBRARY_PATH:PATH="${LOCALBASE}/lib/libhwloc.so" \ -DCMAKE_HWLOC_2_INCLUDE_PATH:PATH="${LOCALBASE}/include" # Many symbols in the linker version scripts are undefined because link time # optimization (-flto=thin) removes them. Suppress errors with lld >= 17 due to # these undefined symbols. LDFLAGS+= -Wl,--undefined-version CONFLICTS= tbb USE_GITHUB= yes GH_ACCOUNT= oneapi-src GH_PROJECT= oneTBB USE_LDCONFIG= yes PORTDOCS= README.md OPTIONS_DEFINE= DOCS # Pkgconfig: tbb.pc (on 64bit arch) vs tbb32.pc PLIST_SUB= PCSUFX="${PCSUFX}" DBGSUFX="${DBGSUFX}" .include .if defined(WITH_DEBUG) DBGSUFX= _debug .endif .if ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH:Marmv?} PCSUFX= 32 .endif .include diff --git a/devel/onetbb/distinfo b/devel/onetbb/distinfo index 0fb51b1f5ed2..a7aa0f68534b 100644 --- a/devel/onetbb/distinfo +++ b/devel/onetbb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713210516 -SHA256 (oneapi-src-oneTBB-v2021.12.0_GH0.tar.gz) = c7bb7aa69c254d91b8f0041a71c5bcc3936acb64408a1719aec0b2b7639dd84f -SIZE (oneapi-src-oneTBB-v2021.12.0_GH0.tar.gz) = 2617255 +TIMESTAMP = 1719860661 +SHA256 (oneapi-src-oneTBB-v2021.13.0_GH0.tar.gz) = 3ad5dd08954b39d113dc5b3f8a8dc6dc1fd5250032b7c491eb07aed5c94133e1 +SIZE (oneapi-src-oneTBB-v2021.13.0_GH0.tar.gz) = 2613916 diff --git a/devel/onetbb/pkg-plist b/devel/onetbb/pkg-plist index 13fb08b1e79f..0e3e6146e242 100644 --- a/devel/onetbb/pkg-plist +++ b/devel/onetbb/pkg-plist @@ -1,159 +1,159 @@ include/oneapi/tbb.h include/oneapi/tbb/blocked_range.h include/oneapi/tbb/blocked_range2d.h include/oneapi/tbb/blocked_range3d.h include/oneapi/tbb/blocked_rangeNd.h include/oneapi/tbb/cache_aligned_allocator.h include/oneapi/tbb/collaborative_call_once.h include/oneapi/tbb/combinable.h include/oneapi/tbb/concurrent_hash_map.h include/oneapi/tbb/concurrent_lru_cache.h include/oneapi/tbb/concurrent_map.h include/oneapi/tbb/concurrent_priority_queue.h include/oneapi/tbb/concurrent_queue.h include/oneapi/tbb/concurrent_set.h include/oneapi/tbb/concurrent_unordered_map.h include/oneapi/tbb/concurrent_unordered_set.h include/oneapi/tbb/concurrent_vector.h include/oneapi/tbb/detail/_aggregator.h include/oneapi/tbb/detail/_aligned_space.h include/oneapi/tbb/detail/_allocator_traits.h include/oneapi/tbb/detail/_assert.h include/oneapi/tbb/detail/_attach.h include/oneapi/tbb/detail/_concurrent_queue_base.h include/oneapi/tbb/detail/_concurrent_skip_list.h include/oneapi/tbb/detail/_concurrent_unordered_base.h include/oneapi/tbb/detail/_config.h include/oneapi/tbb/detail/_containers_helpers.h include/oneapi/tbb/detail/_exception.h include/oneapi/tbb/detail/_export.h include/oneapi/tbb/detail/_flow_graph_body_impl.h include/oneapi/tbb/detail/_flow_graph_cache_impl.h include/oneapi/tbb/detail/_flow_graph_impl.h include/oneapi/tbb/detail/_flow_graph_indexer_impl.h include/oneapi/tbb/detail/_flow_graph_item_buffer_impl.h include/oneapi/tbb/detail/_flow_graph_join_impl.h include/oneapi/tbb/detail/_flow_graph_node_impl.h include/oneapi/tbb/detail/_flow_graph_node_set_impl.h include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h include/oneapi/tbb/detail/_flow_graph_tagged_buffer_impl.h include/oneapi/tbb/detail/_flow_graph_trace_impl.h include/oneapi/tbb/detail/_flow_graph_types_impl.h include/oneapi/tbb/detail/_hash_compare.h include/oneapi/tbb/detail/_intrusive_list_node.h include/oneapi/tbb/detail/_machine.h include/oneapi/tbb/detail/_mutex_common.h include/oneapi/tbb/detail/_namespace_injection.h include/oneapi/tbb/detail/_node_handle.h include/oneapi/tbb/detail/_pipeline_filters.h include/oneapi/tbb/detail/_pipeline_filters_deduction.h include/oneapi/tbb/detail/_range_common.h include/oneapi/tbb/detail/_rtm_mutex.h include/oneapi/tbb/detail/_rtm_rw_mutex.h include/oneapi/tbb/detail/_scoped_lock.h include/oneapi/tbb/detail/_segment_table.h include/oneapi/tbb/detail/_small_object_pool.h include/oneapi/tbb/detail/_string_resource.h include/oneapi/tbb/detail/_task.h include/oneapi/tbb/detail/_task_handle.h include/oneapi/tbb/detail/_template_helpers.h include/oneapi/tbb/detail/_utils.h include/oneapi/tbb/detail/_waitable_atomic.h include/oneapi/tbb/enumerable_thread_specific.h include/oneapi/tbb/flow_graph.h include/oneapi/tbb/flow_graph_abstractions.h include/oneapi/tbb/global_control.h include/oneapi/tbb/info.h include/oneapi/tbb/memory_pool.h include/oneapi/tbb/mutex.h include/oneapi/tbb/null_mutex.h include/oneapi/tbb/null_rw_mutex.h include/oneapi/tbb/parallel_for.h include/oneapi/tbb/parallel_for_each.h include/oneapi/tbb/parallel_invoke.h include/oneapi/tbb/parallel_pipeline.h include/oneapi/tbb/parallel_reduce.h include/oneapi/tbb/parallel_scan.h include/oneapi/tbb/parallel_sort.h include/oneapi/tbb/partitioner.h include/oneapi/tbb/profiling.h include/oneapi/tbb/queuing_mutex.h include/oneapi/tbb/queuing_rw_mutex.h include/oneapi/tbb/rw_mutex.h include/oneapi/tbb/scalable_allocator.h include/oneapi/tbb/spin_mutex.h include/oneapi/tbb/spin_rw_mutex.h include/oneapi/tbb/task.h include/oneapi/tbb/task_arena.h include/oneapi/tbb/task_group.h include/oneapi/tbb/task_scheduler_observer.h include/oneapi/tbb/tbb_allocator.h include/oneapi/tbb/tbbmalloc_proxy.h include/oneapi/tbb/tick_count.h include/oneapi/tbb/version.h include/tbb/blocked_range.h include/tbb/blocked_range2d.h include/tbb/blocked_range3d.h include/tbb/blocked_rangeNd.h include/tbb/cache_aligned_allocator.h include/tbb/collaborative_call_once.h include/tbb/combinable.h include/tbb/concurrent_hash_map.h include/tbb/concurrent_lru_cache.h include/tbb/concurrent_map.h include/tbb/concurrent_priority_queue.h include/tbb/concurrent_queue.h include/tbb/concurrent_set.h include/tbb/concurrent_unordered_map.h include/tbb/concurrent_unordered_set.h include/tbb/concurrent_vector.h include/tbb/enumerable_thread_specific.h include/tbb/flow_graph.h include/tbb/flow_graph_abstractions.h include/tbb/global_control.h include/tbb/info.h include/tbb/memory_pool.h include/tbb/mutex.h include/tbb/null_mutex.h include/tbb/null_rw_mutex.h include/tbb/parallel_for.h include/tbb/parallel_for_each.h include/tbb/parallel_invoke.h include/tbb/parallel_pipeline.h include/tbb/parallel_reduce.h include/tbb/parallel_scan.h include/tbb/parallel_sort.h include/tbb/partitioner.h include/tbb/profiling.h include/tbb/queuing_mutex.h include/tbb/queuing_rw_mutex.h include/tbb/rw_mutex.h include/tbb/scalable_allocator.h include/tbb/spin_mutex.h include/tbb/spin_rw_mutex.h include/tbb/task.h include/tbb/task_arena.h include/tbb/task_group.h include/tbb/task_scheduler_observer.h include/tbb/tbb.h include/tbb/tbb_allocator.h include/tbb/tbbmalloc_proxy.h include/tbb/tick_count.h include/tbb/version.h lib/cmake/TBB/TBBConfig.cmake lib/cmake/TBB/TBBConfigVersion.cmake lib/cmake/TBB/TBBTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/TBB/TBBTargets.cmake lib/libtbb%%DBGSUFX%%.so lib/libtbb%%DBGSUFX%%.so.12 -lib/libtbb%%DBGSUFX%%.so.12.12 +lib/libtbb%%DBGSUFX%%.so.12.13 lib/libtbbbind_2_0%%DBGSUFX%%.so lib/libtbbbind_2_0%%DBGSUFX%%.so.3 -lib/libtbbbind_2_0%%DBGSUFX%%.so.3.12 +lib/libtbbbind_2_0%%DBGSUFX%%.so.3.13 lib/libtbbmalloc%%DBGSUFX%%.so lib/libtbbmalloc%%DBGSUFX%%.so.2 -lib/libtbbmalloc%%DBGSUFX%%.so.2.12 +lib/libtbbmalloc%%DBGSUFX%%.so.2.13 lib/libtbbmalloc_proxy%%DBGSUFX%%.so lib/libtbbmalloc_proxy%%DBGSUFX%%.so.2 -lib/libtbbmalloc_proxy%%DBGSUFX%%.so.2.12 +lib/libtbbmalloc_proxy%%DBGSUFX%%.so.2.13 libdata/pkgconfig/tbb%%PCSUFX%%.pc diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile index de7b7b499fcb..e79c9c6a348c 100644 --- a/devel/ptl/Makefile +++ b/devel/ptl/Makefile @@ -1,26 +1,26 @@ PORTNAME= ptl DISTVERSIONPREFIX= v DISTVERSION= 2.3.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel MAINTAINER= erik@tenku.dk COMMENT= Lightweight C++11 multithreading tasking system WWW= https://github.com/jrmadsen/PTL LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtbb.so:devel/onetbb USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= jrmadsen GH_PROJECT= PTL CMAKE_OFF= BUILD_STATIC_LIBS PLIST_SUB+= SHLIB_SHVER="${DISTVERSION:R:R}" \ SHLIB_VER="${DISTVERSION}" .include diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile index 1c3281770cf5..4ee0bcb7a4e6 100644 --- a/devel/py-numba/Makefile +++ b/devel/py-numba/Makefile @@ -1,39 +1,40 @@ PORTNAME= numba DISTVERSION= 0.60.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Optimizing compiler for Python using LLVM WWW= https://numba.pydata.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif # numpy version is checked at runtime # https://github.com/numba/numba/blob/main/numba/__init__.py#L13 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1<=2.0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=0:devel/py-pip@${PY_FLAVOR} LIB_DEPENDS= libtbb.so:devel/onetbb RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llvmlite>=0.31.0:devel/py-llvmlite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1<=2.0,1:math/py-numpy@${PY_FLAVOR} \ USES= compiler:c++11-lang python fortran localbase USE_PYTHON= distutils concurrent autoplist unittest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/numba/tests post-install: @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD} do-test: # tests run for a very long time @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m numba.runtests .include diff --git a/devel/rkcommon/Makefile b/devel/rkcommon/Makefile index f47b510d5274..383e3ecbb30e 100644 --- a/devel/rkcommon/Makefile +++ b/devel/rkcommon/Makefile @@ -1,37 +1,37 @@ PORTNAME= rkcommon DISTVERSIONPREFIX= v DISTVERSION= 1.10.0 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Intel RenderKit common C++/CMake infrastructure WWW= https://github.com/ospray/rkcommon LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv6= error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless' LIB_DEPENDS= libtbb.so:devel/onetbb USES= cmake:testing compiler:c++11-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ospray CMAKE_OFF= BUILD_TESTING CXXFLAGS_i386= -msse2 # workaround for error: '_mm_setcsr' needs target feature sse CMAKE_TESTING_ON= BUILD_TESTING PLIST_SUB= PORTVERSION=${PORTVERSION} .include .if ${ARCH} != aarch64 && ${ARCH} != amd64 && !${ARCH:Marmv?} && ${ARCH} != i386 CMAKE_ARGS+= -DRKCOMMON_NO_SIMD:BOOL=ON .endif .include diff --git a/devel/root/Makefile b/devel/root/Makefile index a4ab3c5dee68..3063bbb13e2e 100644 --- a/devel/root/Makefile +++ b/devel/root/Makefile @@ -1,242 +1,243 @@ PORTNAME= root DISTVERSION= 6.32.02 +PORTREVISION= 1 CATEGORIES= devel science math parallel python MASTER_SITES= https://root.cern/download/ DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= erik@tenku.dk COMMENT= Data analysis framework made at CERN WWW= https://root.cern/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt BUILD_AND_RUN_DEPENDS= bash:shells/bash \ nlohmann-json>=3:devel/nlohmann-json BUILD_DEPENDS= ${BUILD_AND_RUN_DEPENDS} LIB_DEPENDS= libfreetype.so:print/freetype2 \ liblz4.so:archivers/liblz4 \ libpcre2-8.so:devel/pcre2 \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} USES= cmake compiler:c++17-lang desktop-file-utils \ iconv shebangfix SHEBANG_FILES= main/python/rootbrowse.py \ main/python/rootcp.py \ main/python/rootdrawtree.py \ main/python/rooteventselector.py \ main/python/rootls.py \ main/python/rootmkdir.py \ main/python/rootmv.py \ main/python/rootprint.py \ main/python/rootrm.py \ main/python/rootslimtree.py \ config/rootssh \ etc/dictpch/makepch.py \ etc/proof/utils/circle.sh \ etc/proof/utils/crypt \ etc/proof/utils/pps \ etc/proof/utils/proofctl.sh \ etc/proof/utils/proofinstall.sh \ etc/pdg_table_update.py # add a port-specific shebang to be replaced python_OLD_CMD+= "/usr/bin/env @python@" # Flags and environment variables for building CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_ON= builtin_clang builtin_cling builtin_llvm builtin_openui5 gnuinstall \ rpath runtime_cxxmodules shared soversion CMAKE_OFF= arrow builtin_afterimage builtin_cfitsio builtin_cppzmq builtin_davix \ builtin_fftw3 builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew \ builtin_gsl builtin_gtest builtin_lz4 builtin_lzma builtin_nlohmannjson \ builtin_openssl builtin_pcre builtin_tbb builtin_unuran builtin_vc builtin_vdt \ builtin_veccore builtin_xrootd builtin_xxhash builtin_zeromq builtin_zlib \ builtin_zstd cefweb clad cocoa cuda cudnn daos davix dcache fcgi fftw3 gviz \ libcxx llvm13_broken_tests macos_native memory_termination minuit2_mpi \ minuit2_omp mpi odbc proof pythia8 qt5web qt6web r roofit_multiprocess \ shadowpw test_distrdf_dask test_distrdf_pyspark tmva-gpu tmva-rmva tmva-sofie \ unfold unuran uring vc veccore vecgeom win_broken_tests winrtdebug CONFIGURE_WRKSRC?= ${WRKDIR}/.build MAKE_ENV+= ROOTSYS=${CONFIGURE_WRKSRC} # Port build options; DOCS also on by default # See https://root.cern/install/build_from_source/#all-build-options OPTIONS_DEFINE= DOCS ASIMAGE DATAFRAME FITS FORTRAN GDML HTTP IMT MATHMORE MYSQL \ OPENGL PGSQL PYROOT ROOFIT ROOT7 SPECTRUM SQLITE SSL TMLP TMVAML VDT WEBGUI \ X11 XML XROOTD OPTIONS_DEFAULT= ASIMAGE DATAFRAME FITS GDML HTTP IMT MATHMORE OPENGL PYROOT \ ROOFIT ROOT7 SPECTRUM SSL TMLP TMVAML VDT WEBGUI X11 XML XROOTD OPTIONS_SUB= yes ASIMAGE_CMAKE_BOOL= asimage ASIMAGE_DESC= Enable support for image processing via libAfterImage ASIMAGE_IMPLIES= X11 ASIMAGE_LIB_DEPENDS= libAfterImage.so:graphics/libafterimage \ libgif.so:graphics/giflib \ libpng16.so:graphics/png \ libtiff.so:graphics/tiff ASIMAGE_USES= gettext-runtime gnome jpeg ASIMAGE_USE= gnome=cairo,gdkpixbuf2,glib20,librsvg2 # TODO: clad can only be included in ROOT's configure stage # with network access, however, a port of clad is available -- patch #CLAD_CMAKE_BOOL= clad #CLAD_DESC= Build clad, the cling automatic differentiation plugin (requires network) #CLAD_LIB_DEPENDS= libclad.so:math/clad DATAFRAME_CMAKE_BOOL= dataframe DATAFRAME_DESC= Enable ROOT RDataFrame # TODO: davix only comes with pkgconfig file on fbsd, while # ROOT's configure stage relies on find_package() -- patch #DAVIX_CMAKE_BOOL= davix #DAVIX_DESC= Enable support for Davix (HTTP/WebDAV access) #DAVIX_IMPLIES= libuuid xml2 openssl #DAVIX_LIB_DEPENDS= libdavix.so:www/davix FITS_CMAKE_BOOL= fitsio FITS_DESC= Enable support for reading FITS images FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl FORTRAN_CMAKE_BOOL= fortran FORTRAN_DESC= Build Fortran components of ROOT FORTRAN_USES= fortran GDML_CMAKE_BOOL= gdml GDML_DESC= Enable support for GDML (Geometry Description Markup Language) HTTP_CMAKE_BOOL= http HTTP_DESC= Enable support for HTTP server HTTP_IMPLIES= WEBGUI IMT_CMAKE_BOOL= imt IMT_DESC= Enable support for implicit multi-threading via IntelĀ® Thread Building Blocks (TBB) IMT_LIB_DEPENDS= libtbb.so:devel/onetbb MATHMORE_CMAKE_BOOL= mathmore MATHMORE_DESC= Build libMathMore extended math library MATHMORE_LIB_DEPENDS= libgsl.so:math/gsl MYSQL_CMAKE_BOOL= mysql MYSQL_DESC= Enable support for MySQL databases MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind MYSQL_USES= mysql ssl OPENGL_CMAKE_BOOL= opengl OPENGL_DESC= Enable support for OpenGL OPENGL_IMPLIES= X11 OPENGL_LIB_DEPENDS= libftgl.so:graphics/ftgl \ libgl2ps.so:print/gl2ps OPENGL_USES= gl OPENGL_USE= gl=glew,glu,opengl PGSQL_CMAKE_BOOL= pgsql PGSQL_DESC= Enable support for PostgreSQL PGSQL_USES= pgsql:13+ PYROOT_CMAKE_BOOL= pyroot tmva-pymva PYROOT_DESC= Enable bindings between Python and C++ with PyROOT PYROOT_BUILD_DEPENDS= ${PYNUMPY} PYROOT_USES= python:3.9+,build,run PYROOT_USES_OFF= python:3.9+,build ROOFIT_CMAKE_BOOL= roofit ROOFIT_DESC= Build the advanced fitting package RooFit, and RooStats for statistical tests ROOT7_CMAKE_BOOL= root7 ROOT7_DESC= Build ROOT 7 components of ROOT SPECTRUM_CMAKE_BOOL= spectrum SPECTRUM_DESC= Enable support for TSpectrum SQLITE_CMAKE_BOOL= sqlite SQLITE_DESC= Enable support for SQLite SQLITE_USES= sqlite SSL_CMAKE_BOOL= ssl SSL_DESC= Enable support for SSL encryption via OpenSSL SSL_USES= ssl TMLP_CMAKE_BOOL= mlp TMLP_DESC= Enable support for TMultilayerPerceptron classes' federation TMLP_IMPLIES= TMVAML TMVAML_CMAKE_BOOL= tmva tmva-cpu TMVAML_DESC= Build TMVA multi variate analysis library, including TMVA with CPU support for deep learning TMVAML_IMPLIES= IMT TMVAML_LIB_DEPENDS= libopenblas.so:math/openblas VDT_CMAKE_BOOL= vdt VDT_DESC= Enable support for VDT (fast and vectorisable mathematical functions) VDT_LIB_DEPENDS= libvdt.so:math/vdt WEBGUI_CMAKE_BOOL= webgui WEBGUI_DESC= Build Web-based UI components of ROOT WEBGUI_IMPLIES= HTTP X11_CMAKE_BOOL= x11 X11_DESC= Enable support for X11/Xft X11_USES= xorg X11_USE= xorg=ice,sm,x11,xau,xaw,xcb,xcomposite,xcursor,xdamage,xdmcp,xext \ xorg=xfixes,xfont,xfont2,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender \ xorg=xres,xscrnsaver,xt,xv,xxf86vm XML_CMAKE_BOOL= xml XML_DESC= Enable support for XML XML_USES= gnome XML_USE= gnome=libxml2 XROOTD_CMAKE_BOOL= xrootd XROOTD_DESC= Enable support for XRootD file server and client XROOTD_LIB_DEPENDS= libXrdCl.so:databases/xrootd .include ROOT_CLANG_VER= 16 PLIST_SUB+= PYVER="${PYTHON_VER:S/./_/}" \ ROOT_CLANG_VER="${ROOT_CLANG_VER}" \ SHLIB_SHVER="${DISTVERSION:R}" \ SHLIB_VER="${DISTVERSION}" # Some .modulemap, .pcm and .idx files are not installed on aarch64, a few headers are only installed on aarch64 .if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" .else PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " .endif # atexit-like commands need 'throw()' specifier on 15aarch64 .if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" && ${OSVERSION} > 1499999 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-interpreter_cling_lib_Interpreter_Interpreter.cpp.15aarch64 .endif # std_config.pcm exclusive to FreeBSD 14.0 .if ${OPSYS} == FreeBSD && ${OSREL} == 14.0 PLIST_SUB+= ONLY_INSTALLED_ON_FBSD140="" .else PLIST_SUB+= ONLY_INSTALLED_ON_FBSD140="@comment " .endif # Port patch removes implicit use of system's module.modulemap and applies # explicit use of the same module.modulemap, with modifications, provided # by the port eq_OSREL= ${OSREL} .if ${OPSYS} == FreeBSD && ${OSREL} == 14.1 # module.modulemap identical on 14.1 and 15.0 eq_OSREL= 15.0 .endif post-patch: ${CP} \ ${PATCHDIR}/interpreter-cling-include-cling-std__fbsd${eq_OSREL}.modulemap \ ${WRKSRC}/interpreter/cling/include/cling/std_fbsd.modulemap # Files in lib/root/__pycache__ have links into WRKDIR and should not be staged. This happens even when PYROOT option is OFF. post-install: ${RM} -r ${STAGEDIR}${PREFIX}/lib/root/__pycache__ .include diff --git a/games/vcmi/Makefile b/games/vcmi/Makefile index 7f5d28c9e9c6..151f5fb6db5a 100644 --- a/games/vcmi/Makefile +++ b/games/vcmi/Makefile @@ -1,46 +1,47 @@ PORTNAME= vcmi PORTVERSION= 1.5.3 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= danfe@FreeBSD.org COMMENT= Open-source engine for Heroes of Might and Magic III WWW= https://vcmi.eu/ LICENSE= GPLv2+ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libboost_atomic.so:devel/boost-libs \ libfuzzylite.so:devel/fuzzylite \ libminizip.so:archivers/minizip \ libtbb.so:devel/onetbb RUN_DEPENDS= bash:shells/bash USES= cmake pkgconfig sdl shebangfix USE_GITHUB= yes GH_PROJECT= innoextract:inex GH_TAGNAME= 9977089:inex GH_SUBDIR= launcher/lib/innoextract:inex USE_SDL= image2 mixer2 sdl2 ttf2 SHEBANG_FILES= vcmibuilder CMAKE_ARGS= -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \ -DCMAKE_INSTALL_RPATH:PATH=${PREFIX}/lib/${PORTNAME} \ -DENABLE_GITVERSION:BOOL=OFF -DENABLE_TEST:BOOL=OFF \ -DFORCE_BUNDLED_FL:BOOL=OFF PORTDOCS= ChangeLog.md OPTIONS_DEFINE= DOCS QT OPTIONS_DEFAULT= QT OPTIONS_SUB= yes QT_DESC= Build Qt-based game launcher and map editor QT_USES= qt:5 QT_USE= QT=buildtools:build,linguisttools:build,qmake:build \ QT=core,gui,network,widgets QT_CMAKE_OFF= -DENABLE_LAUNCHER:BOOL=OFF -DENABLE_EDITOR:BOOL=OFF post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 2be6a27e16bb..a645d9b0597d 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,233 +1,234 @@ PORTNAME= blender DISTVERSION= 4.1.1 +PORTREVISION= 1 CATEGORIES= graphics multimedia MASTER_SITES= http://download.blender.org/source/ \ http://mirror.cs.umn.edu/blender.org/source/ \ http://public.planetmirror.com/pub/blender/source/ MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package WWW= https://www.blender.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= static_assert(sizeof(unsigned long long) == sizeof(struct hipArray*)) BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libOpenImageIO.so:graphics/openimageio \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PYNUMPY} # libboost_regex.so just acts as a placeholder; several boost # libraries are used, if either of the most common options in blender # are set. We will pull boost in just to be on the safe side. USES= cmake compiler:c++17-lang cpe eigen:3 jpeg llvm:build,run pkgconfig \ python:3.11 shebangfix tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender SHEBANG_FILES= scripts/modules/bl_i18n_utils/merge_po.py \ scripts/modules/bl_i18n_utils/utils_rtl.py \ scripts/modules/blend_render_info.py CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif CMAKE_ON= WITH_AUDASPACE WITH_BOOST WITH_CLANG WITH_GHOST_X11 WITH_GHOST_XDND \ WITH_HYDRA WITH_IO_GPENCIL WITH_IO_PLY WITH_IO_STL WITH_IO_WAVEFRONT_OBJ \ WITH_LLVM WITH_OPENGL_BACKEND WITH_PYTHON WITH_SYSTEM_EIGEN3 \ WITH_SYSTEM_FREETYPE WITH_X11_XINPUT WITH_X11_XF86VMODE WITH_X11_XFIXES CMAKE_OFF= WITH_GHOST_SDL WITH_INSTALL_PORTABLE LLVM_STATIC WITH_MATERIALX \ WITH_MEM_JEMALLOC WITH_MEM_VALGRIND WITH_NANOVDB WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT LDFLAGS+= -lexecinfo -Wl,--undefined-version SUB_FILES= blender PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_IMPLIES= OPENEXR ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_LIB_DEPENDS= libglog.so:devel/glog CAMERATRACK_CMAKE_BOOL= WITH_LIBMV WITH_SYSTEM_GLOG CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USES= gnome COLLADA_USE= GNOME=libxml2 COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR_CPU CYCLES_IMPLIES= TBB CYCLES_LIB_DEPENDS= libgflags.so:devel/gflags CYCLES_CMAKE_BOOL= WITH_CYCLES WITH_CYCLES_LOGGING CYCLES_LDFLAGS= -L${LOCALBASE}/lib -lgflags CYCLES_EMBR_IMPLIES= CYCLES CYCLES_EMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLES_EMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLES_ONEAPI_LIB_DEPENDS= libtbb.so:devel/onetbb CYCLES_ONEAPI_CMAKE_BOOL= WITH_CYCLES_DEVICE_ONEAPI CYCLES_OSL_IMPLIES= CYCLES OPENEXR PUGIXML CYCLES_OSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLES_OSL_CMAKE_BOOL= WITH_CYCLES_OSL CYCLES_OSL_CMAKE_ON= -DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders" DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} DRACO_CMAKE_BOOL= WITH_DRACO EBOOL_LIB_DEPENDS= libgmp.so:math/gmp EBOOL_CMAKE_BOOL= WITH_GMP FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite.so:audio/flite FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LDFLAGS= -L${LOCALBASE}/lib -lflite -lflite_cmu_us_kal \ -lflite_cmulex -lflite_usenglish FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW3_CMAKE_BOOL= WITH_FFTW3 FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_BOOL= WITH_FRIBIDI HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CMAKE_BOOL= WITH_HARFBUZZ HARU_LIB_DEPENDS= libhpdf.so:print/libharu HARU_CMAKE_BOOL= WITH_HARU HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_LIB_DEPENDS= libspnav.so:misc/libspnav INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WITH_JACK WITH_JACK_DYNLOAD LZMA_CMAKE_BOOL= WITH_LZMA LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO_CMAKE_BOOL= WITH_LZO WITH_SYSTEM_LZO MENU_USES= desktop-file-utils MOD_FLUID_IMPLIES= TBB MOD_FLUID_CMAKE_BOOL= WITH_MOD_FLUID MOD_OCEANSIM_IMPLIES= FFTW3 MOD_OCEANSIM_CMAKE_BOOL= WITH_MOD_OCEANSIM MOD_REMESH_CMAKE_BOOL= WITH_MOD_REMESH # Use iconv:wchar_t to force the usage of iconv from ports. # libboost_locale.so uses libiconv_open, while we only provide # iconv_open in 10.x+ NLS_USES= gettext-tools iconv:lib,wchar_t NLS_CMAKE_BOOL= WITH_INTERNATIONAL OPENAL_USES= openal:al,alut OPENAL_CMAKE_BOOL= WITH_OPENAL OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp.so:devel/yaml-cpp \ libexpat.so:textproc/expat2 \ libpystring.so:devel/pystring OPENCOLORIO_USES= minizip OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= WITH_IMAGE_OPENJPEG # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENPGL_LIB_DEPENDS= libopenpgl.so:graphics/openpgl OPENPGL_CMAKE_BOOL= WITH_CYCLES_PATH_GUIDING OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENVDB_IMPLIES= OPENEXR TBB OPENVDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENXR_LIB_DEPENDS= libopenxr_loader.so:graphics/openxr OPENXR_CMAKE_BOOL= WITH_XR_OPENXR POTRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace POTRACE_CMAKE_BOOL= WITH_POTRACE PUGIXML_LIB_DEPENDS= libpugixml.so:textproc/pugixml PUGIXML_CMAKE_BOOL= WITH_PUGIXML PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO WITH_PULSEAUDIO_DYNLOAD QUADRIFLOW_CMAKE_BOOL= WITH_QUADRIFLOW SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= WITH_SDL WITH_SDL_DYNLOAD SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= WITH_TBB THUMBNAILER_CMAKE_BOOL= WITH_BLENDER_THUMBNAILER TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace TRACE_CMAKE_BOOL= WITH_POTRACE USD_IMPLIES= TBB USD_BROKEN= require devel/tbb, which conflicts with devel/onetbb: \ https://github.com/PixarAnimationStudios/OpenUSD/issues/1650 USD_LIB_DEPENDS= libusd_usd.so:misc/usd USD_CMAKE_BOOL= WITH_USD VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc \ libSPIRV-Tools-shared.so:graphics/spirv-tools \ libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= WITH_VULKAN_BACKEND VULKAN_LDFLAGS= -lshaderc_shared -lSPIRV-Tools-shared WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ wayland>=1.12:graphics/wayland \ libdecor>0:x11-toolkits/libdecor WAYLAND_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon #WAYLAND_USES= pkgconfig WAYLAND_CMAKE_BOOL= WITH_GHOST_WAYLAND WITH_GHOST_WAYLAND_LIBDECOR \ WITH_GHOST_WAYLAND_DYNLOAD WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WITH_IMAGE_WEBP XF86VMODE_USE= XORG=xi,xxf86vm XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XINPUT_USE= XORG=xi XINPUT_CMAKE_BOOL= WITH_X11_XINPUT .include .if ${ARCH} != aarch64 && ${ARCH} != amd64 CMAKE_ARGS+= -DWITH_CPU_SIMD:BOOL=OFF .endif post-patch: ${REINPLACE_CMD} -e 's|%%LLVM_VER%%|${LLVM_VERSION}|g' \ ${WRKSRC}/intern/cycles/kernel/osl/CMakeLists.txt post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ --blender ${INSTALL_WRKSRC}/bin/blender \ --output ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${MV} ${STAGEDIR}/${PREFIX}/bin/blender ${STAGEDIR}/${PREFIX}/bin/blender-bin ${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKDIR}/blender ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender post-install-DRACO-on: # move draco pylib into site-packages ${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${INSTALL_LIB} ${INSTALL_WRKSRC}/lib/libextern_draco.so ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/libextern_draco.so @${RM} -R ${STAGEDIR}/${DATADIR}/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/embree/Makefile b/graphics/embree/Makefile index b4ef42e3e254..17e765e21b4d 100644 --- a/graphics/embree/Makefile +++ b/graphics/embree/Makefile @@ -1,72 +1,72 @@ PORTNAME= embree PORTVERSION= 3.13.5 -PORTREVISION= 7 +PORTREVISION= 8 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Collection of high-performance ray tracing kernels WWW= https://www.embree.org/ LICENSE= APACHE20 ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= heavy use of SSE instructions USES= cmake pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes CMAKE_ARGS= -DEMBREE_TASKING_SYSTEM:STRING=${_ETS} \ -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \ -DEMBREE_RAY_MASK:BOOL=ON PLIST_SUB+= VERSION=${DISTVERSION} OPTIONS_DEFINE= BACKFACE_CULLING DOCS EXAMPLES ISPC TBB OPTIONS_DEFAULT= ISPC TBB OPTIONS_SUB= yes BACKFACE_CULLING_DESC= Enable back-face culling (BFC) BACKFACE_CULLING_CMAKE_ON= -DEMBREE_BACKFACE_CULLING:BOOL=ON ISPC_DESC= ISPC applications support ISPC_BUILD_DEPENDS= ispc:devel/ispc ISPC_CMAKE_OFF= -DEMBREE_ISPC_SUPPORT:BOOL=OFF EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw \ libpng.so:graphics/png EXAMPLES_USES= gl jpeg xorg EXAMPLES_USE= GL=gl,glu,glut XORG=x11,xau,xcb,xdmcp EXAMPLES_CMAKE_OFF= -DEMBREE_TUTORIALS:BOOL=OFF TBB_DESC= Use Intel TBB (optimal performance) TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_VARS= _ETS=TBB TBB_VARS_OFF= _ETS=INTERNAL .include # Disable parts that use _mm_cvtsi128_si64() which is not defined on i386 .if ${ARCH} == i386 CMAKE_ARGS+= -DEMBREE_ISA_AVX512:BOOL=OFF .endif post-patch: @${REINPLACE_CMD} -e \ '/SET(CMAKE_INSTALL_BINDIR/s,\$$.*),${EXAMPLESDIR}"),' \ ${WRKSRC}/common/cmake/package.cmake @${REINPLACE_CMD} -e 's,Win32,${OPSYS},gi' \ ${WRKSRC}/common/simd/vint4_sse2.h # Obsolete GNU binutils 2.17.50 objdump(1) is going to be removed # from the base, use LLVM's one if it's available .if exists(/usr/bin/llvm-objdump) @${REINPLACE_CMD} -e 's,objdump,llvm-&,' \ ${WRKSRC}/common/cmake/check_globals.cmake \ ${WRKSRC}/common/cmake/check_stack_frame_size.cmake .endif do-test: ${TEST_WRKSRC}/${PORTNAME}_verify .include diff --git a/graphics/f3d/Makefile b/graphics/f3d/Makefile index b413264790ca..433fff4892c1 100644 --- a/graphics/f3d/Makefile +++ b/graphics/f3d/Makefile @@ -1,85 +1,86 @@ PORTNAME= f3d DISTVERSIONPREFIX= v DISTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Fast and minimalist 3D viewer WWW= https://f3d.app/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg4 \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libhdf5.so:science/hdf5 \ libinotify.so:devel/libinotify \ libnetcdf.so:science/netcdf \ libtbb.so:devel/onetbb \ libvtkCommonMisc-${VTK_VER}.so:math/vtk${VTK_VER:R} USES= cmake:testing compiler:c++17-lang desktop-file-utils gl \ localbase:ldflags shared-mime-info tcl tk xorg USE_GL= gl USE_XORG= ice sm x11 xt USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= f3d-app CMAKE_OFF= F3D_STRICT_BUILD # disable -Werror CMAKE_OFF+= F3D_LINUX_APPLICATION_LINK_FILESYSTEM LDFLAGS+= -linotify # dependency descroptions are in https://f3d.app/doc/dev/BUILD.html OPTIONS_GROUP= MODULES PLUGINS OPTIONS_GROUP_MODULES= EXTERNAL_RENDERING RAYTRACING OPTIONS_GROUP_PLUGINS= ALEMBIC ASSIMP DRACO EXODUS OCCT OPTIONS_DEFAULT= ALEMBIC ASSIMP DRACO EXODUS OCCT OPTIONS_SUB= yes MODULES_DESC= Build modules: ALEMBIC_DESC= Alembic plugin (for ABC files) ALEMBIC_CMAKE_BOOL= F3D_PLUGIN_BUILD_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic \ libImath-3_1.so:math/Imath ASSIMP_DESC= Assimp plugin (for FBX, OFF, DAE and DXF files) ASSIMP_CMAKE_BOOL= F3D_PLUGIN_BUILD_ASSIMP ASSIMP_LIB_DEPENDS= libassimp.so:multimedia/assimp DRACO_DESC= Draco plugin DRACO_CMAKE_BOOL= F3D_PLUGIN_BUILD_DRACO DRACO_LIB_DEPENDS= libdraco.so:archivers/draco EXODUS_DESC= ExodusII plugin EXODUS_CMAKE_BOOL= F3D_PLUGIN_BUILD_EXODUS EXTERNAL_RENDERING_DESC= External rendering module EXTERNAL_RENDERING_CMAKE_BOOL= F3D_MODULE_EXTERNAL_RENDERING EXTERNAL_RENDERING_BROKEN= Requires VTK::RenderingExternal enabled in VTK OCCT_DESC= OpenCASCADE plugin (for STEP and IGES files) OCCT_USES= localbase:ldflags OCCT_CMAKE_BOOL= F3D_PLUGIN_BUILD_OCCT OCCT_LIB_DEPENDS= libTKBRep.so:cad/opencascade OCCT_CMAKE_ON= -DOpenCASCADE_DIR=${LOCALBASE}/lib/cmake RAYTRACING_DESC= Raytracing module RAYTRACING_CMAKE_BOOL= F3D_MODULE_RAYTRACING RAYTRACING_BROKEN= Requires VTK::RenderingRayTracing enabled in VTK post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} # component-based install cd ${BUILD_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --install . --component configuration && \ ${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --install . --component sdk && \ ${SETENV} ${MAKE_ENV} ${CMAKE_BIN} --install . --component mimetypes .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/mirtk/Makefile b/graphics/mirtk/Makefile index c07864784957..fb5967d48c4c 100644 --- a/graphics/mirtk/Makefile +++ b/graphics/mirtk/Makefile @@ -1,38 +1,38 @@ PORTNAME= mirtk DISTVERSIONPREFIX= v DISTVERSION= 2.0.0-178 -PORTREVISION= 11 +PORTREVISION= 12 DISTVERSIONSUFFIX= -g973ce2f CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Medical Image Registration ToolKit (MIRTK) WWW= https://mirtk.github.io/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ nifticlib>0:science/nifticlib LIB_DEPENDS= libpng16.so:graphics/png USES= cmake compiler:c++11-lang eigen:3 perl5 python USE_GITHUB= yes GH_ACCOUNT= BioMedIA GH_PROJECT= ${PORTNAME:tu} USE_LDCONFIG= yes OPTIONS_DEFINE= TBB VTK OPTIONS_DEFAULT= TBB VTK TBB_DESC= Build with TBB TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb VTK_DESC= Build with the VTK toolkit VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libexpat.so:textproc/expat2 .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/oidn/Makefile b/graphics/oidn/Makefile index eb7443aadbcf..80ffd4298584 100644 --- a/graphics/oidn/Makefile +++ b/graphics/oidn/Makefile @@ -1,77 +1,77 @@ PORTNAME= oidn DISTVERSIONPREFIX= v DISTVERSION= 2.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://freebsd.org/:weights # bogus URL to make the framework happy, the fetch uses Git URL below DISTFILES= ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX}:weights MAINTAINER= yuri@FreeBSD.org COMMENT= Intel(R) Open Image Denoise library WWW= https://www.openimagedenoise.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= Intel(R) MKL-DNN supports x86 64 bit platforms only (oidn contains a custom version of mkl-dnn, see math/mkl-dnn), and ISPC has a limited availability FETCH_DEPENDS= ca_root_nss>0:security/ca_root_nss \ git:devel/git \ git-lfs:devel/git-lfs BUILD_DEPENDS= ispc>=1.14.1:devel/ispc LIB_DEPENDS= libtbb.so:devel/onetbb USES= cmake:noninja compiler:c++14-lang python:build USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= OpenImageDenoise GH_TUPLE= OpenImageDenoise:mkl-dnn:9bea36e:m/external/mkl-dnn \ ROCmSoftwarePlatform:composable_kernel:e85178b:composable_kernel/external/composable_kernel \ NVIDIA:cutlass:66d9cdd:cutlass/external/cutlass CMAKE_ARGS= -DTBB_ROOT:STRING=${LOCALBASE} -DTBB_INCLUDE_DIR:STRING=${LOCALBASE}/include -DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD} PLIST_SUB= VER="${PORTVERSION}" OPTIONS_DEFINE= APPS DOCS OPENIMAGEIO OPTIONS_DEFAULT= APPS OPENIMAGEIO OPTIONS_SUB= yes APPS_DESC= Build example and test apps APPS_CMAKE_BOOL= OIDN_APPS DOCSDIR= share/doc/${GH_ACCOUNT} OPENIMAGEIO_DESC= Build with OpenImageIO for image formats support OPENIMAGEIO_CMAKE_BOOL= OIDN_APPS_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEIO_IMPLIES= APPS # OpenImageIO is only used by apps and examples WEIGHTS_GIT_URL= https://github.com/OpenImageDenoise/oidn-weights.git WEIGHTS_GIT_HASH= 28883d1769d5930e13cf7f1676dd852bd81ed9e7 pre-fetch: @if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX}" ]; then \ ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \ cd ${DISTDIR}/${DIST_SUBDIR} && \ ${ECHO} "==> Fetching the oidn/weights subproject with large LFS files" && \ ( \ ${MKDIR} ${WRKDIR}; \ HOME=${WRKDIR}; \ git config --global filter.lfs.smudge "git-lfs smudge -- %f" && \ git clone -q ${WEIGHTS_GIT_URL} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} && \ (cd ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} && git reset -q --hard ${WEIGHTS_GIT_HASH} && ${RM} -r .git) && \ ${RM} -r ${WRKDIR} \ ) && \ ${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \ ${FIND} ${PORTNAME}-weights-${WEIGHTS_GIT_HASH} -print0 | LC_ALL=C ${SORT} -z | \ ${TAR} czf ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX} --format=ustar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - && \ ${RM} -r ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}; \ fi post-extract: @cd ${WRKSRC} && ${RMDIR} weights && ${LN} -s ${WRKDIR}/${PORTNAME}-weights-${WEIGHTS_GIT_HASH} weights .include diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 81e8fd0276a3..d4ae0f6e0df7 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,149 +1,149 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v DISTVERSION= 2.5.13.0 # PORTREVISION must be set with ?= so as not to stomp over # py-openimageio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library WWW= https://www.openimageio.org/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map \ libfmt>10.0.0:devel/libfmt \ libjpeg-turbo>3.0.0:graphics/libjpeg-turbo LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libImath.so:math/Imath \ libOpenColorIO.so:graphics/opencolorio \ libOpenEXR.so:graphics/openexr \ libheif.so:graphics/libheif \ libpng.so:graphics/png \ libpugixml.so:textproc/pugixml \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp RUN_DEPENDS= libfmt>10.0.0:devel/libfmt \ libjpeg-turbo>3.0.0:graphics/libjpeg-turbo USES= cmake jpeg compiler:c++17-lang iconv:wchar_t USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= OpenImageIO CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 # OpenVDB uses the C++17 STL # feature std::tuple_size_v; since the slave port py-openimageio excludes # options - this is a global line here CMAKE_ON= BUILD_SHARED_LIBS USE_EXTERNAL_PUGIXML CMAKE_OFF= BUILD_FMT_FORCE BUILD_MISSING_FMT INSTALL_FONTS INTERNALIZE_FMT \ LINKSTATIC OIIO_DOWNLOAD_MISSING_TESTDATA OIIO_USING_FMT_LOCAL \ STOP_ON_WARNING SHL1= ${PORTVERSION:R:R:R} SHL2= ${PORTVERSION:R:R} SHL3= ${PORTVERSION:R} PLIST_SUB= SHL1=${SHL1} SHL2=${SHL2} SHL3=${SHL3} OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OPENJPEG PTEX TBB TOOLS VDB OPTIONS_SUB= yes DICOM_DESC= DICOM/MEDICOM support FFMPEG_DESC= Use FFmpeg to support extra file types IMAGEVIEWER_DESC= Build image viewer (requires Qt) PTEX_DESC= Per face texture library support TBB_DESC= Intel tbb support TOOLS_DESC= Build CLI tools VDB_DESC= OpenVDB support DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk DICOM_USES= gnome ssl DICOM_USE= gnome=libxml2 DICOM_CMAKE_BOOL= USE_DICOM DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf FREETYPE_CMAKE_BOOL= USE_FREETYPE GIF_LIB_DEPENDS= libgif.so:graphics/giflib GIF_CMAKE_BOOL= USE_GIF IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_USES= gl qt:6 IMAGEVIEWER_USE= GL=gl,glu QT=base IMAGEVIEWER_CMAKE_BOOL= USE_QT OPENCV_IMPLIES= OPENJPEG OPENCV_LIB_DEPENDS= libopencv_core.so:graphics/opencv OPENCV_CMAKE_BOOL= USE_OPENCV OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= USE_OPENJPEG PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex PTEX_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Ptex RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw RAW_CMAKE_BOOL= USE_LIBRAW TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= USE_TBB TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_IMPLIES= TBB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb VDB_CMAKE_BOOL= USE_OPENVDB post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," \ ${WRKSRC}/src/cmake/modules/FindPtex.cmake .include .if ${SLAVE_PORT} == yes BUILD_DEPENDS+= ${PREFIX}/share/cmake/pybind11/pybind11Config.cmake:devel/pybind11 LIB_DEPENDS+= libOpenImageIO.so:graphics/openimageio USES+= python USE_PYTHON= flavors CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= EMBED_PLUGINS OIIO_BUILD_TESTS OIIO_BUILD_TOOLS USE_DICOM USE_FFMPEG USE_FREETYPE USE_GIF USE_LIBRAW USE_OPENCV USE_OPENJPEG USE_OPENVDB USE_QT USE_TBB PLIST= ${PKGDIR}/pkg-plist-pybind do-install: ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/python/site-packages/OpenImageIO*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .else # SLAVE_PORT != yes USE_LDCONFIG= yes CMAKE_OFF+= USE_PYTHON post-install: ${LN} -sf libOpenImageIO.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL2} ${LN} -sf libOpenImageIO.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.${SHL1} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL2} ${LN} -sf libOpenImageIO_Util.so.${SHL3} \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.${SHL1} do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/openpgl/Makefile b/graphics/openpgl/Makefile index 21699144d224..a3b06af7fd06 100644 --- a/graphics/openpgl/Makefile +++ b/graphics/openpgl/Makefile @@ -1,28 +1,29 @@ PORTNAME= openpgl DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 +PORTREVISION= 1 #DISTVERSIONSUFFIX= -beta CATEGORIES= graphics devel MAINTAINER= FreeBSD@Shaneware.biz COMMENT= Intel Open Path Guiding Library WWW= http://www.openpgl.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt # supported processors - # arm with NEON/NEON2X and x86_64/x86 with SSE/AVX/AVX2/AVX512 ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 ONLY_FOR_ARCHS_REASON= requires supported SIMD ISA LIB_DEPENDS= libtbb.so:devel/onetbb USES= cmake compiler:c++11-lib USE_GITHUB= yes GH_ACCOUNT= OpenPathGuidingLibrary USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" .include diff --git a/graphics/opensubdiv/Makefile b/graphics/opensubdiv/Makefile index 227f215263ab..091446f2b96e 100644 --- a/graphics/opensubdiv/Makefile +++ b/graphics/opensubdiv/Makefile @@ -1,82 +1,82 @@ PORTNAME= opensubdiv DISTVERSIONPREFIX= v DISTVERSION= 3_6_0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= FreeBSD@Shaneware.biz COMMENT= High performance subdivision surface libraries WWW= https://graphics.pixar.com/opensubdiv LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= glfw>3.0.0:graphics/glfw USES= cmake gl localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= PixarAnimationStudios GH_PROJECT= OpenSubdiv USE_GL= opengl USE_LDCONFIG= yes CMAKE_ON= NO_CLEW NO_CUDA NO_DX NO_METAL PLIST_SUB+= LIBVERS=${PORTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES OPENCL OPENMP PTEX TBB TEST TUTORIALS OPTIONS_DEFAULT= PTEX TBB OPTIONS_DEFAULT_armv6= OPTIONS_DEFAULT_armv7= OPTIONS_DEFAULT_OTHER_ARCHS= OPENMP OPTIONS_SUB= yes PTEX_DESC= ptex support TBB_DESC= Intel threading building blocks TUTORIALS_DESC= Install tutorial programs DOCS_BUILD_DEPENDS= rst2html.py:textproc/py-docutils \ doxygen>=1.8.4:devel/doxygen DOCS_USES= python:build DOCS_CMAKE_BOOL_OFF= NO_DOC DOCS_PORTDOCS= * EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw EXAMPLES_USES= xorg EXAMPLES_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm EXAMPLES_CMAKE_BOOL_OFF= NO_EXAMPLES OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_USE= gl=gl OPENCL_CMAKE_BOOL_OFF= NO_OPENCL OPENCL_CFLAGS= -pthread OPENCL_LDFLAGS= -lGLX OPENMP_CMAKE_BOOL_OFF= NO_OMP PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex PTEX_CMAKE_BOOL_OFF= NO_PTEX PTEX_CMAKE_ON= -DPTEX_INCLUDE_DIR:STRING=${LOCALBASE}/include/ptex \ -DPTEX_LOCATION:STRING=${LOCALBASE} TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL_OFF= NO_TBB TEST_LIB_DEPENDS= libglfw.so:graphics/glfw TEST_USES= xorg TEST_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm TEST_CMAKE_BOOL_OFF= NO_REGRESSION NO_TESTS TUTORIALS_CMAKE_BOOL_OFF= NO_TUTORIALS post-patch: ${FIND} ${WRKSRC}/tutorials -name CMakeLists.txt -exec \ ${REINPLACE_CMD} -e 's|{CMAKE_BINDIR_BASE}/tutorials|{CMAKE_INSTALL_PREFIX}/${DATADIR_REL}/tutorials|g' {} + ${FIND} ${WRKSRC}/examples -name CMakeLists.txt -exec \ ${REINPLACE_CMD} -e 's|{CMAKE_BINDIR_BASE}|{CMAKE_INSTALL_PREFIX}/${EXAMPLESDIR_REL}|g' {} + ${FIND} ${WRKSRC}/regression -name CMakeLists.txt -exec \ ${REINPLACE_CMD} -e 's|{CMAKE_BINDIR_BASE}|{CMAKE_INSTALL_PREFIX}/tests/${PORTNAME}|g' {} + .include diff --git a/graphics/openvkl/Makefile b/graphics/openvkl/Makefile index 88560b5046c0..a97b0c8eb6d0 100644 --- a/graphics/openvkl/Makefile +++ b/graphics/openvkl/Makefile @@ -1,40 +1,40 @@ PORTNAME= openvkl DISTVERSIONPREFIX= v DISTVERSION= 1.3.0 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics devel MAINTAINER= yuri@FreeBSD.org COMMENT= Intel Open Volume Kernel Library for graphics applications WWW= https://github.com/openvkl/openvkl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_i386= https://github.com/openvkl/openvkl/issues/14 BUILD_DEPENDS= ispc:devel/ispc LIB_DEPENDS= libembree3.so:graphics/embree \ libglfw.so:graphics/glfw \ librkcommon.so:devel/rkcommon \ libtbbmalloc.so:devel/onetbb USES= cmake:testing compiler:c++11-lib gl USE_GITHUB= yes USE_GL= gl USE_LDCONFIG= yes CMAKE_OFF= BUILD_TESTING BUILD_EXAMPLES CMAKE_TESTING_ON= BUILD_TESTING OPTIONS_DEFINE= DOCS VDB OPTIONS_DEFAULT= VDB VDB_DESC= Build with OpenVDB VDB_CMAKE_ON= -DOpenVDB_ROOT=${LOCALBASE} VDB_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libopenvdb.so:misc/openvdb PORTDOCS= * .include diff --git a/graphics/ospray-studio/Makefile b/graphics/ospray-studio/Makefile index 66aceaa517a3..4935ceb251af 100644 --- a/graphics/ospray-studio/Makefile +++ b/graphics/ospray-studio/Makefile @@ -1,37 +1,37 @@ PORTNAME= ospray-studio DISTVERSIONPREFIX= v DISTVERSION= 0.11.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Application to showcase OSPRay's rendering capabilities WWW= https://www.ospray.org/ospray_studio/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libbenchmark.so:devel/benchmark \ libglfw.so:graphics/glfw \ libospray.so:graphics/ospray \ librkcommon.so:devel/rkcommon \ libtbb.so:devel/onetbb USES= cmake gl pkgconfig USE_GL= gl glu USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ospray GH_PROJECT= ${PORTNAME:S/-/_/} CMAKE_OFF= USE_PYSG CMAKE_OFF+= OSPRAY_INSTALL # otherwise it installs all dependencies, see https://github.com/ospray/ospray_studio/issues/8 PLIST_FILES= bin/ospStudio \ lib/libospray_sg.so post-install: @${RM} -rf ${STAGEDIR}${LOCALBASE}/share/doc/ospray_studio .include diff --git a/graphics/ospray/Makefile b/graphics/ospray/Makefile index 91ccaee2b065..07137f1f10f5 100644 --- a/graphics/ospray/Makefile +++ b/graphics/ospray/Makefile @@ -1,46 +1,46 @@ PORTNAME= ospray DISTVERSIONPREFIX= v DISTVERSION= 2.10.0 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Ray tracing based rendering engine for high-fidelity visualization WWW= https://www.ospray.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ispc:devel/ispc LIB_DEPENDS= libbenchmark.so:devel/benchmark \ libembree3.so:graphics/embree \ libglfw.so:graphics/glfw \ libopenvkl.so:graphics/openvkl \ librkcommon.so:devel/rkcommon \ libtbb.so:devel/onetbb USES= cmake:testing compiler:c++11-lang gl pkgconfig readline qt:5 USE_GITHUB= yes USE_GL= gl glu USE_QT= core gui opengl qmake:build USE_LDCONFIG= yes PLIST_SUB= VERSION=${PORTVERSION} CMAKE_OFF= OSPRAY_ENABLE_APPS_TESTING CMAKE_TESTING_ON= OSPRAY_ENABLE_APPS_TESTING OPTIONS_DEFINE= APPS OPTIONS_DEFAULT= APPS OPTIONS_SUB= yes APPS_DESC= Build apps APPS_CMAKE_BOOL= OSPRAY_ENABLE_APPS post-patch: # replace alloca.h includes @${FIND} ${WRKSRC} -name "*.c*" -a -exec ${GREP} "#include " {} \; -a -exec ${REINPLACE_CMD} -e "s|#include |#include |" {} \; > /dev/null post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/doc/OSPRay .include diff --git a/math/curv/Makefile b/math/curv/Makefile index 7c583a283bc0..51a30f772910 100644 --- a/math/curv/Makefile +++ b/math/curv/Makefile @@ -1,48 +1,48 @@ PORTNAME= curv DISTVERSION= 0.5 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= math lang graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Language for making art using mathematics WWW= https://github.com/curv3d/curv/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= glm>0:math/glm LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libglfw.so:graphics/glfw \ libImath.so:math/Imath \ libtbb.so:devel/onetbb \ libopenvdb.so:misc/openvdb USES= cmake compiler:c++14-lang gl localbase:ldflags xorg USE_GL= gl USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= curv3d GH_TUPLE= ocornut:imgui:e0cab56:imgui/extern/imgui \ Tessil:ordered-map:4051af7:om/extern/ordered-map \ AmokHuginnsson:replxx:b901d5f:replxx/extern/replxx LDFLAGS+= -lopenvdb PLIST_FILES= bin/curv \ lib/curv/lib/blend.curv \ lib/curv/lib/builder.curv \ lib/curv/lib/noise.curv \ lib/curv/lib/web_colour.curv \ lib/curv/std.curv \ share/gtksourceview-3.0/language-specs/curv.lang post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/curv/lib/README .include diff --git a/math/dune-alugrid/Makefile b/math/dune-alugrid/Makefile index 71755893627d..6f481804441a 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= 11 +PORTREVISION= 12 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 87ae256ff343..60e68c895cdb 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= 14 +PORTREVISION= 15 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 8f72fbda2a20..62414e2429be 100644 --- a/math/dune-fem/Makefile +++ b/math/dune-fem/Makefile @@ -1,68 +1,68 @@ PORTNAME= dune-fem DISTVERSION= 2.8.0.5 -PORTREVISION= 23 +PORTREVISION= 24 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 102d2bdfed77..6b3f654ef706 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= 13 +PORTREVISION= 14 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 9c5b729f6ce2..3546715fe4c1 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= 11 +PORTREVISION= 12 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 b1f658118398..fc998b78e6c5 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= 13 +PORTREVISION= 14 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 610bac356aab..cf3903eb9ba9 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= 24 +PORTREVISION= 25 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 650f903eb4af..afc75125fb80 100644 --- a/math/dune-polygongrid/Makefile +++ b/math/dune-polygongrid/Makefile @@ -1,32 +1,32 @@ PORTNAME= dune-polygongrid DISTVERSION= 2.8.0 -PORTREVISION= 11 +PORTREVISION= 12 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-uggrid/Makefile b/math/dune-uggrid/Makefile index a11c56f62c8c..8e2d74a6b279 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= 13 +PORTREVISION= 14 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 ebec86df9530..3f67ba02c855 100644 --- a/math/dune-vtk/Makefile +++ b/math/dune-vtk/Makefile @@ -1,63 +1,63 @@ PORTNAME= dune-vtk DISTVERSION= 2.8.0 -PORTREVISION= 22 +PORTREVISION= 23 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/heyoka/Makefile b/math/heyoka/Makefile index f54453da8cba..00c9347447bf 100644 --- a/math/heyoka/Makefile +++ b/math/heyoka/Makefile @@ -1,47 +1,48 @@ PORTNAME= heyoka DISTVERSIONPREFIX= v DISTVERSION= 5.0.0 +PORTREVISION= 1 CATEGORIES= math PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= e9ca3726897a0b114876f4486d8903740c167893.patch:-p1 # 4 release followup patches from https://github.com/bluescarni/heyoka/pull/428 PATCHFILES+= 86e10d0115074b347d74e78102d59395091c66ac.patch:-p1 PATCHFILES+= c5609ec799822a3a44044d061a8376221863f747.patch:-p1 PATCHFILES+= f60ce702cb5d2005598c139c87a2b93460f0771a.patch:-p1 MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for ODE integration via Taylor's method and LLVM WWW= https://bluescarni.github.io/heyoka/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= compilation fails: no member named 'transform' in namespace 'std::ranges'; did you mean 'llvm::transform' (std::ranges::transform isn't present) LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libgmp.so:math/gmp \ libmp++.so:math/mppp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libtbb.so:devel/onetbb \ libsleef.so:math/sleef \ libspdlog.so:devel/spdlog TEST_DEPENDS= xtensor>0:math/xtensor \ xtensor-blas>0:math/xtensor-blas USES= cmake:testing compiler:c++17-lang llvm:min=16,build,run USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= bluescarni CMAKE_ON= HEYOKA_WITH_MPPP HEYOKA_WITH_SLEEF CMAKE_ARGS= -DFREEBSD_LLVM_VERSION=${LLVM_VERSION} CMAKE_TESTING_ON= HEYOKA_BUILD_TESTS # 1 test fails, see https://github.com/bluescarni/heyoka/issues/338 # 2 tests fail: # * https://github.com/bluescarni/heyoka/issues/429 # * https://github.com/bluescarni/heyoka/issues/430 .include diff --git a/math/obake/Makefile b/math/obake/Makefile index 12bfaebf72cb..9b67367ca0e5 100644 --- a/math/obake/Makefile +++ b/math/obake/Makefile @@ -1,45 +1,45 @@ PORTNAME= obake DISTVERSIONPREFIX= v DISTVERSION= 0.7.0-24 DISTVERSIONSUFFIX= -gb8cc71c -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= math PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 1a53966f5ce8ca5542d3612c780ea4b69be34de2.patch:-p1 \ dadf4ce2aba713522d1949a16ffbf0fa5d6e6298.patch:-p1 \ 9310de2cb5cc4c85b54e7e90aa6cd88664380346.patch:-p1 \ 57da8d5f2d0c50e857979ba74434893b0b392382.patch:-p1 \ 494df04bd7608bb666efde776241370cb84c96bb.patch:-p1 # adding fmt9 compatibility, see https://github.com/bluescarni/obake/pull/145/commits MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for the symbolic manipulation of sparse polynomials & co WWW= https://bluescarni.github.io/obake/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libabsl_base.so:devel/abseil \ libboost_serialization.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libgmp.so:math/gmp \ libmp++.so:math/mppp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libtbb.so:devel/onetbb USES= cmake:testing compiler:c++20-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= bluescarni CXXFLAGS+= -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED CMAKE_TESTING_ON= OBAKE_BUILD_TESTS post-install: # remove patch artefacts @${FIND} ${STAGEDIR}${PREFIX}/include/obake -name "*.orig" -delete .include diff --git a/math/openturns/Makefile b/math/openturns/Makefile index 57b804d27ce4..4cd6647f423b 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -1,99 +1,99 @@ PORTNAME= openturns DISTVERSIONPREFIX= v DISTVERSION= 1.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Uncertainty treatment library WWW= https://openturns.github.io/www/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ flex:textproc/flex \ spectra>0:math/spectra LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libblas.so:math/blas \ libbonmin.so:math/bonmin \ libboost_serialization.so:devel/boost-libs \ libcamd.so:math/suitesparse-camd \ libceres.so:math/ceres-solver \ libCbc.so:math/cbc \ libccolamd.so:math/suitesparse-ccolamd \ libCgl.so:math/cgl \ libcholmod.so:math/suitesparse-cholmod \ libClp.so:math/clp \ libcminpack.so:math/cminpack \ libcoinasl.so:math/asl \ libCoinUtils.so:math/coinutils \ libcolamd.so:math/suitesparse-colamd \ libcxsparse.so:math/suitesparse-cxsparse \ libdlib.so:science/dlib-cpp \ libgif.so:graphics/giflib \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libgmp.so:math/gmp \ libhdf5_cpp.so:science/hdf5 \ libipopt.so:math/ipopt \ liblapack.so:math/lapack \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libnlopt.so:math/nlopt \ libOsi.so:math/osi \ libpagmo.so:science/pagmo2 \ libpng16.so:graphics/png \ libprimesieve.so:math/primesieve \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libsz.so:science/libaec \ libtbb.so:devel/onetbb USES= bison blaslapack:openblas cmake eigen:3 gnome jpeg llvm:18 localbase:ldflags pkgconfig sqlite xorg # compiler:c++17-lang USE_GITHUB= yes USE_GNOME= libxml2 USE_XORG= ice sm x11 xau xcb xdmcp xext USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES=${LOCALBASE}/lib/libopenblas.so \ -DOPENTURNS_EXAMPLE_PATH:STRING=share/examples/openturns \ -DOPENTURNS_DOC_PATH:STRING=share/doc/openturns CMAKE_OFF= USE_DOXYGEN USE_SPHINX CMAKE_OFF+= USE_HMAT # broken with hmat-oss-1.7.1: https://github.com/openturns/openturns/issues/1868 CMAKE_OFF+= USE_CERES # ceres-solver-2.2.0 fails to be found by cmake, see https://github.com/ceres-solver/ceres-solver/issues/1023 TEST_TARGET= check # 10 tests are known to fail: https://github.com/openturns/openturns/issues/1919 OPTIONS_DEFINE= PYTHON EXAMPLES OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_USES= python PYTHON_CMAKE_BOOL= BUILD_PYTHON PYTHON_CMAKE_ON= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig PYTHON_PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}chaospy>0:math/py-chaospy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dill>0:devel/py-dill@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.3.1:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} PYTHON_BUILD_DEPENDS= swig:devel/swig \ ${PYTHON_PY_DEPENDS} PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS} PORTEXAMPLES= * #LLVM_VERSION= 12 # workaround for clang-13 crash: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261341 # use clang from ports because cmake can't find base llvm for JIT #BUILD_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} #RUN_DEPENDS+= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} #CPP= clang-cpp${LLVM_VERSION} #CC= clang${LLVM_VERSION} #CXX= clang++${LLVM_VERSION} post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} .include diff --git a/math/py-heyoka/Makefile b/math/py-heyoka/Makefile index 7fde21584840..ce1cf6006a5c 100644 --- a/math/py-heyoka/Makefile +++ b/math/py-heyoka/Makefile @@ -1,50 +1,51 @@ PORTNAME= heyoka DISTVERSIONPREFIX= v DISTVERSION= 5.0.1 +PORTREVISION= 1 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python library for ODE integration via Taylor's method and LLVM WWW= https://bluescarni.github.io/heyoka.py/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= pybind11>0:devel/pybind11 \ ${PYNUMPY} LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libgmp.so:math/gmp \ libheyoka.so:math/heyoka \ libmp++.so:math/mppp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libtbb.so:devel/onetbb \ libspdlog.so:devel/spdlog RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}cloudpickle>0:devel/py-cloudpickle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mpmath>0:math/py-mpmath@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} USES= cmake compiler:c++17-lang llvm:min=16,build,run python USE_PYTHON= flavors USE_GITHUB= yes GH_ACCOUNT= bluescarni GH_PROJECT= ${PORTNAME}.py CMAKE_ON= HEYOKA_PY_ENABLE_IPO CMAKE_ARGS= -DFREEBSD_PYTHON_DISTVERSION=${PYTHON_DISTVERSION:R} \ -DPython3_EXECUTABLE=${PYTHON_CMD} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} do-test: # testsuite based on instructions in https://bluescarni.github.io/heyoka.py/install.html#verifying-the-installation @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -c "import heyoka; heyoka.test.run_test_suite();" # integrate and plot an example @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/example-restricted-three-body-problem.py .include diff --git a/math/py-pyaudi/Makefile b/math/py-pyaudi/Makefile index a2a192487b0a..846ded382238 100644 --- a/math/py-pyaudi/Makefile +++ b/math/py-pyaudi/Makefile @@ -1,48 +1,48 @@ PORTNAME= pyaudi DISTVERSIONPREFIX= v DISTVERSION= 1.9.2-1 DISTVERSIONSUFFIX= -g899eb78 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library implementing the algebra of Taylor polynomials WWW= http://darioizzo.github.io/audi/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../LICENSE BROKEN_armv7= compilation fails: constraints not satisfied for class template 'd_packed_monomial' [with T = unsigned long long, PSize = 8] BROKEN_i386= not for 32-bit systems, see https://github.com/darioizzo/audi/issues/62 BUILD_DEPENDS= audi>0:math/audi \ pybind11>0:devel/pybind11 LIB_DEPENDS= libabsl_base.so:devel/abseil \ libboost_serialization.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libgmp.so:math/gmp \ libmp++.so:math/mppp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libobake.so:math/obake \ libtbb.so:devel/onetbb USES= cmake:testing compiler:c++20-lang python USE_PYTHON= flavors USE_GITHUB= yes GH_ACCOUNT= darioizzo GH_PROJECT= audi WRKSRC_SUBDIR= pyaudi CMAKE_OFF= AUDI_BUILD_TESTS CMAKE_ARGS= -DPYTHON_VERSION_MAJOR=3 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} do-test: @${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/test.py .include diff --git a/math/scipoptsuite/Makefile b/math/scipoptsuite/Makefile index f9852d924709..0da44a17bb4c 100644 --- a/math/scipoptsuite/Makefile +++ b/math/scipoptsuite/Makefile @@ -1,24 +1,25 @@ PORTNAME= scipoptsuite DISTVERSION= 9.1.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://scipopt.org/download/release/ MAINTAINER= yuri@FreeBSD.org COMMENT= SCIP Optimization Suite WWW= https://scipopt.org/ LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs LIB_DEPENDS= libgmp.so:math/gmp \ libgsl.so:math/gsl \ libipopt.so:math/ipopt \ libmpfr.so:math/mpfr \ libtbb.so:devel/onetbb USES= bison cmake compiler:c++14-lang mpi:openmpi pkgconfig readline tar:tgz USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS .include diff --git a/math/topologic/Makefile b/math/topologic/Makefile index 8f8012791038..2930f68ea069 100644 --- a/math/topologic/Makefile +++ b/math/topologic/Makefile @@ -1,27 +1,28 @@ PORTNAME= topologic DISTVERSIONPREFIX= v DISTVERSION= 6.0.3 +PORTREVISION= 1 CATEGORIES= math PKGNAMESUFFIX= -space-modeling-library MAINTAINER= yuri@FreeBSD.org COMMENT= Library for topological representations of architectural spaces WWW= https://topologic.app/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtbb.so:devel/onetbb \ libTKernel.so:cad/opencascade \ libuuid.so:misc/e2fsprogs-libuuid USES= cmake compiler:c++14-lang localbase:ldflags USE_LDCONFIG= ${PREFIX}/lib/TopologicCore USE_GITHUB= yes GH_ACCOUNT= wassimj GH_PROJECT= Topologic CMAKE_ARGS= -DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE .include diff --git a/misc/openvdb/Makefile b/misc/openvdb/Makefile index a5aa21cd4744..c36e852e7a2f 100644 --- a/misc/openvdb/Makefile +++ b/misc/openvdb/Makefile @@ -1,48 +1,48 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 11.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Tools for storage and manipulation of sparse volumetric data WWW= https://www.openvdb.org/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libboost_system.so:devel/boost-libs \ libImath.so:math/Imath \ libtbb.so:devel/onetbb TEST_DEPENDS= googletest>0:devel/googletest USES= cmake:testing compiler:c++17-lang localbase:ldflags pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation CMAKE_ARGS= -DCONCURRENT_MALLOC="Tbbmalloc" -DTbb_INCLUDE_DIR=${LOCALBASE}/include CMAKE_OFF= OPENVDB_CORE_STATIC CMAKE_TESTING_ON= OPENVDB_BUILD_UNITTESTS # one test fails: https://github.com/AcademySoftwareFoundation/openvdb/issues/1103 OPTIONS_DEFINE= TOOLS #DOCS # TOOLS should be made into a subpackage OPTIONS_DEFAULT= TOOLS OPTIONS_SUB= yes TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OPENVDB_BUILD_BINARIES OPENVDB_BUILD_VDB_LOD \ OPENVDB_BUILD_VDB_RENDER OPENVDB_BUILD_VDB_VIEW TOOLS_LIB_DEPENDS= libglfw.so:graphics/glfw \ libOpenEXR.so:graphics/openexr TOOLS_USES= gl xorg TOOLS_USE= GL=gl,glu XORG=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm # DOCS is broken: https://github.com/AcademySoftwareFoundation/openvdb/issues/899 #DOCS_CMAKE_BOOL= OPENVDB_BUILD_DOCS #DOCS_BUILD_DEPENDS= doxygen:devel/doxygen #PORTDOCS= * .include diff --git a/misc/py-openvdb/Makefile b/misc/py-openvdb/Makefile index 09df3f5ddcda..87a2a15ec8b2 100644 --- a/misc/py-openvdb/Makefile +++ b/misc/py-openvdb/Makefile @@ -1,45 +1,45 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 11.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Tools for storage and manipulation of sparse volumetric data WWW= https://www.openvdb.org/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/../../../LICENSE BUILD_DEPENDS= pybind11>0:devel/pybind11 \ ${PYNUMPY} LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libopenvdb.so:misc/openvdb \ libtbb.so:devel/onetbb RUN_DEPENDS= ${PYNUMPY} USES= cmake compiler:c++17-lang localbase:ldflags python USE_LDCONFIG= yes USE_PYTHON= flavors pytest USE_GITHUB= yes GH_ACCOUNT= AcademySoftwareFoundation CMAKE_ON= USE_NUMPY OPENVDB_PYTHON_WRAP_ALL_GRID_TYPES CMAKE_OFF= OPENVDB_BUILD_PYTHON_UNITTESTS CMAKE_ARGS= -DPython_EXECUTABLE=${PYTHON_CMD} WRKSRC_SUBDIR= openvdb/openvdb/python TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} PLIST_FILES= ${PYTHON_SITELIBDIR}/pyopenvdb${PYTHON_EXT_SUFFIX}.so do-test: # run an example, since the supplied test appears to be only for Windows @cd ${WRKSRC} && \ ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/example.py && \ [ -f ${WRKSRC}/mygrids.vdb ] && \ ${ECHO} "Test has succeeded." .include diff --git a/science/geant4/Makefile b/science/geant4/Makefile index 7a63a4c11349..73c450d964e7 100644 --- a/science/geant4/Makefile +++ b/science/geant4/Makefile @@ -1,98 +1,99 @@ PORTNAME= geant4 DISTVERSIONPREFIX= v DISTVERSION= 11.2.2 +PORTREVISION= 1 CATEGORIES= science parallel devel cad MASTER_SITES= https://cern.ch/geant4-data/releases/ \ https://cern.ch/geant4-data/datasets/:data DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} # dataset versions generally span several release versions MAINTAINER= erik@tenku.dk COMMENT= Simulate the passage of particles through matter WWW= https://geant4.cern.ch/ LICENSE= GEANT4 LICENSE_NAME= Geant4 Software License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libCLHEP.so:science/clhep \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libptl.so:devel/ptl \ libtbb.so:devel/onetbb \ libxerces-c.so:textproc/xerces-c3 \ libxkbcommon.so:x11/libxkbcommon USES= cmake \ compiler:c++17-lang \ gl \ motif \ qt:5 \ xorg USE_GL= egl gl glu opengl USE_QT= 3d buildtools core gui network \ opengl printsupport qmake widgets USE_XORG= ice sm x11 xau xaw xcb xcomposite \ xcursor xdamage xdmcp xext xfixes \ xfont xfont2 xft xi xinerama \ xkbfile xmu xpm xrandr xrender \ xres xscrnsaver xt xtst xv xxf86vm CMAKE_ON= GEANT4_BUILD_MULTITHREADED \ GEANT4_USE_SYSTEM_CLHEP \ GEANT4_USE_SYSTEM_PTL \ GEANT4_USE_SYSTEM_ZLIB \ GEANT4_USE_FREETYPE \ GEANT4_USE_GDML \ GEANT4_USE_OPENGL_X11 \ GEANT4_USE_QT \ GEANT4_USE_RAYTRACER_X11 \ GEANT4_USE_TBB \ GEANT4_USE_XM G4ABLA_VERSION= 3.3 G4EMLOW_VERSION= 8.5 G4ENSDFSTATE_VERSION= 2.3 G4INCL_VERSION= 1.2 G4NDL_VERSION= 4.7.1 G4PARTICLEXS_VERSION= 4.0 G4PhotonEvaporation_VERSION= 5.7 G4PII_VERSION= 1.3 G4RadioactiveDecay_VERSION= 5.6 G4RealSurface_VERSION= 2.2 G4SAIDDATA_VERSION= 2.0 G4TENDL_VERSION= 1.4 G4_DATASETS= G4ABLA.${G4ABLA_VERSION} G4EMLOW.${G4EMLOW_VERSION} G4ENSDFSTATE.${G4ENSDFSTATE_VERSION} G4INCL.${G4INCL_VERSION} \ G4NDL.${G4NDL_VERSION} G4PARTICLEXS.${G4PARTICLEXS_VERSION} G4PhotonEvaporation.${G4PhotonEvaporation_VERSION} G4PII.${G4PII_VERSION} \ G4RadioactiveDecay.${G4RadioactiveDecay_VERSION} G4RealSurface.${G4RealSurface_VERSION} G4SAIDDATA.${G4SAIDDATA_VERSION} G4TENDL.${G4TENDL_VERSION} .for dataset in ${G4_DATASETS} DISTFILES+= ${dataset}${EXTRACT_SUFX}:data .endfor PLIST_SUB+= G4ABLA_VERSION="${G4ABLA_VERSION}" \ G4EMLOW_VERSION="${G4EMLOW_VERSION}" \ G4ENSDFSTATE_VERSION="${G4ENSDFSTATE_VERSION}" \ G4INCL_VERSION="${G4INCL_VERSION}" \ G4NDL_VERSION="${G4NDL_VERSION}" \ G4PARTICLEXS_VERSION="${G4PARTICLEXS_VERSION}" \ G4PhotonEvaporation_VERSION="${G4PhotonEvaporation_VERSION}" \ G4PII_VERSION="${G4PII_VERSION}" \ G4RadioactiveDecay_VERSION="${G4RadioactiveDecay_VERSION}" \ G4RealSurface_VERSION="${G4RealSurface_VERSION}" \ G4SAIDDATA_VERSION="${G4SAIDDATA_VERSION}" \ G4TENDL_VERSION="${G4TENDL_VERSION}" \ SHLIB_VER="${DISTVERSION}" G4_DATADIRS= G4ABLA${G4ABLA_VERSION} G4EMLOW${G4EMLOW_VERSION} G4ENSDFSTATE${G4ENSDFSTATE_VERSION} G4INCL${G4INCL_VERSION} \ G4NDL${G4NDL_VERSION} G4PARTICLEXS${G4PARTICLEXS_VERSION} PhotonEvaporation${G4PhotonEvaporation_VERSION} G4PII${G4PII_VERSION} \ RadioactiveDecay${G4RadioactiveDecay_VERSION} RealSurface${G4RealSurface_VERSION} G4SAIDDATA${G4SAIDDATA_VERSION} G4TENDL${G4TENDL_VERSION} post-install: .for dir in ${G4_DATADIRS} cd ${WRKDIR} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/share/Geant4/data/ .endfor .include diff --git a/science/opensph/Makefile b/science/opensph/Makefile index 547f18ae771f..e6251857ecac 100644 --- a/science/opensph/Makefile +++ b/science/opensph/Makefile @@ -1,80 +1,80 @@ PORTNAME= OpenSPH DISTVERSION= 0.4.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Library and graphical tools for running SPH and N-body simulations WWW= https://gitlab.com/sevecekp/sph LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= unconditional use of -msse4.1 and inclusion of immintrin.h TEST_DEPENDS= catch>0:devel/catch USES= compiler:c++17-lang qmake qt:5 USE_GITLAB= yes USE_WX= 3.2 GL_SITE= https://gitlab.com GL_ACCOUNT= sevecekp GL_PROJECT= sph GL_TAGNAME= a7f6f781059d8d19e6f24b1115e7ad3ad71678a8 QMAKE_SOURCE_PATH= ${WRKSRC}/sph.pro QMAKE_ARGS= CONFIG+=release CXXFLAGS+= -DSPH_CONFIG_SET TEST_WRKSRC= ${WRKDIR}/test BINARY_ALIAS= wx-config=${LOCALBASE}/bin/wxgtk3u-3.2-config PLIST_FILES= bin/opensph bin/opensph-cli bin/opensph-info OPTIONS_DEFINE= CHAISCRIPT EIGEN HDF5 OPENMP TBB VDB OPTIONS_DEFAULT= CHAISCRIPT EIGEN HDF5 OPENMP TBB VDB CHAISCRIPT_DESC= Be able to read and modify particle data from a script CHAISCRIPT_QMAKE_ON= CONFIG+=use_chaiscript CHAISCRIPT_BUILD_DEPENDS= ${LOCALBASE}/include/chaiscript/chaiscript.hpp:lang/chaiscript EIGEN_DESC= Eigen for additional methods to set up initial conditions EIGEN_QMAKE_ON= CONFIG+=use_eigen EIGEN_USES= eigen:3 HDF5_DESC= Be able to read files generated by miluphcuda code HDF5_QMAKE_ON= CONFIG+=use_hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 OPENMP_QMAKE_ON= CONFIG+=use_openmp TBB_DESC= Parallelize with Intel Threading Building Blocks TBB_QMAKE_ON= CONFIG+=use_tbb TBB_LIB_DEPENDS= libtbb.so:devel/onetbb VDB_DESC= Use OpenVDB for converting particles to volumetric data VDB_QMAKE_ON= CONFIG+=use_vdb VDB_LIB_DEPENDS= libImath.so:math/Imath \ libopenvdb.so:misc/openvdb \ libtbb.so:devel/onetbb post-patch: # workaround for https://gitlab.com/sevecekp/sph/-/issues/48 @${FIND} ${WRKSRC} -name "*.pro" | ${XARGS} ${REINPLACE_CMD} -e 's|c++14|c++17|' do-test: @${REINPLACE_CMD} -e 's|Path(.*|Path("${TEST_WRKSRC}");|' ${WRKSRC}/test/utils/Config.h @${MKDIR} ${TEST_WRKSRC} @cd ${_QMAKE_WRKSRC} && \ ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} \ ${WRKSRC}/test.pro \ ${QMAKE_CONFIGURE_ARGS:?--:} ${QMAKE_CONFIGURE_ARGS} @cd ${BUILD_WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} @cd ${TEST_WRKSRC} && \ ${WRKSRC}/test/test .include diff --git a/science/pagmo2/Makefile b/science/pagmo2/Makefile index d8b20f7aa70f..2103c5fe9300 100644 --- a/science/pagmo2/Makefile +++ b/science/pagmo2/Makefile @@ -1,34 +1,34 @@ PORTNAME= pagmo2 DISTVERSIONPREFIX= v DISTVERSION= 2.19.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Platform to perform parallel computations of optimization tasks WWW= https://esa.github.io/pagmo2/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.gpl3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.lgpl3 LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libipopt.so:math/ipopt \ libnlopt.so:math/nlopt \ libtbb.so:devel/onetbb USES= cmake compiler:c++17-lang eigen:3,build,run USE_GITHUB= yes GH_ACCOUNT= esa USE_LDCONFIG= yes CMAKE_ON= PAGMO_WITH_EIGEN3 PAGMO_WITH_NLOPT PAGMO_WITH_IPOPT PAGMO_ENABLE_IPO do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DPAGMO_BUILD_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/science/paraview/Makefile b/science/paraview/Makefile index 53a5af738188..6ba95c52030a 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -1,175 +1,175 @@ PORTNAME= paraview DISTVERSION= ${PARAVIEW_VER}.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Powerful scientific data visualization application WWW= https://www.paraview.org/ # See https://www.paraview.org/license/ LICENSE= BSD3CLAUSE BROKEN_i386= no matching member function for call to 'getArrayType' BUILD_DEPENDS= ${PYNUMPY} \ cli11>0:devel/cli11 \ utf8cpp>0:devel/utf8cpp \ fast_float>0:math/fast_float \ nlohmann-json>0:devel/nlohmann-json \ vulkan-headers>0:graphics/vulkan-headers \ ${LOCALBASE}/include/exprtk.hpp:math/exprtk \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libicuuc.so:devel/icu \ libffi.so:devel/libffi \ libtbb.so:devel/onetbb \ libogg.so:audio/libogg \ libgl2ps.so:print/gl2ps \ libOT.so:math/openturns \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libhpdf.so:print/libharu \ libproj.so:graphics/proj \ libpdalcpp.so:math/pdal \ libdrm.so:graphics/libdrm \ libcgns.so:science/cgnslib \ liblz4.so:archivers/liblz4 \ libverdict.so:math/verdict \ libnetcdf.so:science/netcdf \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libavutil.so:multimedia/ffmpeg \ libcgraph.so:graphics/graphviz \ libxkbcommon.so:x11/libxkbcommon \ libtheora.so:multimedia/libtheora \ libgeotiff.so:graphics/libgeotiff \ libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion RUN_DEPENDS= ${PYNUMPY} \ bash:shells/bash \ vtk${VTK_VER:R}>0:math/vtk${VTK_VER:R} \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} USES= alias cmake compiler:c11 desktop-file-utils eigen:3 fortran gl gnome \ jpeg localbase pkgconfig python qt:6 shebangfix sqlite tar:xz xorg USE_GL= gl glew glu glut USE_GNOME= libxml2 USE_QT= 5compat base svg tools webengine #buildtools:build core gui help network opengl qmake:build sql svg \ # webengine widgets x11extras xmlpatterns USE_XORG= ice sm x11 xau xcb xcursor xdamage xdmcp xext xfixes xorgproto xrender \ xxf86vm USE_LDCONFIG= yes CFLAGS+= -I${WRKSRC}/Clients/ParaView/Documentation CMAKE_ARGS+= -DPARAVIEW_BUILD_SHARED_LIBS=ON \ -DPARAVIEW_BUILD_WITH_EXTERNAL=ON \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DPARAVIEW_USE_PYTHON:BOOL=ON \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_LAS:BOOL=OFF \ -DPARAVIEW_ENABLE_WEB:BOOL=ON \ -DPARAVIEW_ENABLE_GDAL:BOOL=ON \ -DPARAVIEW_ENABLE_PDAL:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF2:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF3:BOOL=ON \ -DPARAVIEW_USE_QT:BOOL=ON \ -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF \ -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -DVTK_FORBID_DOWNLOADS:BOOL=ON .endif MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} USE_CXXSTD= c++17 SHEBANG_GLOB= *.py SHEBANG_FILES= VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Clients/CommandLineExecutables/paraview-config.in OPTIONS_DEFINE= DOCS EXAMPLES MPICH OSMESA OPTIONS_SUB= yes OSMESA_DESC= Use Mesa for off-screen rendering # mpi4py and other programs must be compiled against the same MPI provider MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_USES= mpi # mpich is set by default, use mpi:openmpi if needed MPICH_CMAKE_ON= -DPARAVIEW_USE_MPI:BOOL=ON MPICH_CMAKE_OFF= -DPARAVIEW_USE_MPI:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa OSMESA_USES_OFF= desktop-file-utils OSMESA_CMAKE_BOOL= VTK_OPENGL_HAS_OSMESA OSMESA_CMAKE_ON= -DVTK_USE_X:BOOL="OFF" \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so OSMESA_CMAKE_OFF= -DVTK_USE_X:BOOL="ON" EXAMPLES_CMAKE_BOOL= PARAVIEW_ENABLE_EXAMPLES PORTEXAMPLES= * #TEST_CMAKE_ON= -DPARAVIEW_BUILD_TESTING=WANT \ -DPARAVIEW_BUILD_VTK_TESTING=WANT # Error with ADIOS2 #LIB_DEPENDS+= libadios2_c.so:misc/adios2 #CMAKE_ARGS+= -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON # Missing GenericIO for CosmoTools #CMAKE_ARGS+= -DPARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON # Errors with VisItBridge / VisItLib #CMAKE_ARGS+= -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON # MomentInvariants needs to download a module #CMAKE_ARGS+= -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON # No package for graphics/ospray #LIB_DEPENDS+= libospray.so:graphics/ospray #CMAKE_ARGS+= -DPARAVIEW_ENABLE_RAYTRACING PLIST_SUB+= VERMAJORMINOR=${PARAVIEW_VER} VTK9_CONFLICTS= vtk.py vtkmodules/__init__.py vtkmodules/all.py \ vtkmodules/gtk vtkmodules/numpy_interface \ vtkmodules/qt vtkmodules/test vtkmodules/tk \ vtkmodules/util vtkmodules/wx vtkmodules/generate_pyi.py \ vtkmodules/web/errors.py pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: # vtk9 is not a real run dependency, but it installs several common files .for py in ${VTK9_CONFLICTS} ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/${py} .endfor post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <./Makefile.version> .include <../../math/vtk9/Makefile.version> .include diff --git a/science/py-fresnel/Makefile b/science/py-fresnel/Makefile index 778eb7420ea1..113f26872604 100644 --- a/science/py-fresnel/Makefile +++ b/science/py-fresnel/Makefile @@ -1,34 +1,34 @@ PORTNAME= fresnel DISTVERSIONPREFIX= v DISTVERSION= 0.13.4-4 DISTVERSIONSUFFIX= -g3ba217f -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= science # physics PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Publication quality path tracing in real time WWW= https://github.com/glotzerlab/fresnel LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= pybind11>0:devel/pybind11 LIB_DEPENDS= libembree3.so:graphics/embree \ libqhull_r.so:math/qhull \ libtbb.so:devel/onetbb TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} USES= cmake:testing compiler:c++14-lang python USE_GITHUB= yes GH_ACCOUNT= glotzerlab GH_TUPLE= glotzerlab:random123:7f2371b8c597a486cd33fb421a196d78efe08043:glotzerlab_random123/extern/random123 \ glotzerlab:fresnel-examples:dad005682fc3b5d167861ce7eda23a157baf2ce7:glotzerlab_fresnel_examples/doc/examples \ glotzerlab:qhull:613debeaea72ee66626dace9ba1a2eff11b5d37d:glotzerlab_qhull/extern/qhull do-test: install @cd ${WRKDIR} && ${PYTHON_CMD} ${FILESDIR}/example.py .include diff --git a/science/py-hoomd-blue/Makefile b/science/py-hoomd-blue/Makefile index f81dec41152c..d9ac370e0be4 100644 --- a/science/py-hoomd-blue/Makefile +++ b/science/py-hoomd-blue/Makefile @@ -1,68 +1,69 @@ PORTNAME= hoomd-blue DISTVERSIONPREFIX= v DISTVERSION= 4.7.0 +PORTREVISION= 1 CATEGORIES= science # physics PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Molecular dynamics and Monte Carlo soft matter simulation WWW= https://glotzerlab.engin.umich.edu/hoomd-blue/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= pybind11>0:devel/pybind11 USES= cmake:testing compiler:c++17-lang eigen:3 localbase:ldflags python shebangfix # see https://github.com/glotzerlab/hoomd-blue/issues/1204 USE_GITHUB= yes GH_ACCOUNT= glotzerlab GH_TUPLE= glotzerlab:upp11:0c1fb8d:glotzerlab_upp11/hoomd/extern/upp11 \ glotzerlab:nano-signal-slot:34223a4:glotzerlab_nano_signal_slot/hoomd/extern/nano-signal-slot \ glotzerlab:quickhull:1ffbc6f:glotzerlab_quickhull/hoomd/extern/quickhull \ glotzerlab:random123:a2c4f04:glotzerlab_random123/hoomd/extern/random123 \ glotzerlab:HIP:d211f99:glotzerlab_HIP/hoomd/extern/HIP \ glotzerlab:hipCUB:c70e193:glotzerlab_hipCUB/hoomd/extern/hipCUB \ mphowardlab:neighbor:ba0f068:mphowardlab_neighbor/hoomd/extern/neighbor \ mphowardlab:hipper:b6da049:mphowardlab_hipper/hoomd/extern/hipper SHEBANG_GLOB= *.sh CMAKE_OFF= BUILD_TESTING LDFLAGS+= -lexecinfo OPTIONS_DEFINE= TBB OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= MPICH TBB OPTIONS_SUB= yes NOMPI_DESC= Build without parallel processing support NOMPI_CMAKE_ON= -DENABLE_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DENABLE_MPI=ON MPICH_BUILD_DEPENDS= cereal>0:devel/cereal OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DENABLE_MPI=ON OPENMPI_BUILD_DEPENDS= cereal>0:devel/cereal OPENMPI_BROKEN= see https://github.com/glotzerlab/hoomd-blue/issues/1397 TBB_DESC= Enable support for Threading Building Blocks (TBB) TBB_CMAKE_BOOL= ENABLE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb # the test mpi-test_communication requires excessive resources, see https://github.com/glotzerlab/hoomd-blue/issues/1396 .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/hoomd/ParticleData.cc .endif .include diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile index cf599b83d175..45bd2a4cd455 100644 --- a/sysutils/slurm-wlm/Makefile +++ b/sysutils/slurm-wlm/Makefile @@ -1,167 +1,168 @@ PORTNAME= slurm DISTVERSION= 23.11.7 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://download.schedmd.com/slurm/ PKGNAMESUFFIX= -wlm MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple Linux Utility for Resource Management WWW= https://slurm.schedmd.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc powerpcspe NOT_FOR_ARCHS_REASON= 32-bit support is deprecated LIB_DEPENDS= libjson-c.so:devel/json-c \ libsysinfo.so:devel/libsysinfo \ libmunge.so:security/munge \ liblz4.so:archivers/liblz4 \ libze_loader.so:devel/level-zero \ libhttp_parser.so:www/http-parser \ libunwind.so:devel/libunwind \ librdkafka.so:net/librdkafka \ libyaml.so:textproc/libyaml \ libdbus-1.so:devel/dbus \ libcheck.so:devel/check \ libtbb.so:devel/onetbb \ libjwt.so:www/libjwt USES= compiler:c11 cpe gmake gnome libtool localbase lua mysql:client \ perl5 pkgconfig python:build readline shebangfix ssl tar:bz2 USE_PERL5= build CPE_VENDOR= schedmd USE_LDCONFIG= yes USE_RC_SUBR= slurmctld slurmd USERS= slurm GROUPS= ${USERS} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB= PORTVERSION="${DISTVERSION}" VER="${DISTVERSION:R}" SHEBANG_FILES= doc/html/shtml2html.py doc/man/man2html.py PORTDOCS= * OPTIONS_DEFINE= CURL DOCS GUI HDF5 HWLOC IPMI RRD OPTIONS_DEFAULT= HDF5 HWLOC OPTIONS_SUB= yes CURL_DESC= Require cURL for elasticsearch plugins GUI_DESC= Build sview GUI config tool HDF5_DESC= Job profiling using HDF5 HWLOC_DESC= Portable hardware locality IPMI_DESC= IPMI energy consumption accounting RRD_DESC= RRD external sensor data collection DOCS_BUILD_DEPENDS= man2html:textproc/man2html CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl GUI_USE= GNOME=cairo,gdkpixbuf2,glib20,gtk20,pango GUI_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz GUI_USES= gettext GUI_CONFIGURE_ENABLE= glibtest gtktest x11 HDF5_LIB_DEPENDS= libhdf5_cpp.so:science/hdf5 \ libsz.so:science/libaec HDF5_CONFIGURE_WITH= hdf5 HDF5_CONFIGURE_ENV= H5CC=${LOCALBASE}/bin/h5cc HWLOC_LIB_DEPENDS= libhwloc.so.15:devel/hwloc2 HWLOC_CONFIGURE_WITH= hwloc IPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi IPMI_CONFIGURE_WITH= freeipmi RRD_LIB_DEPENDS= librrd.so:databases/rrdtool RRD_CONFIGURE_WITH= rrdtool # FreeBSD Infiniband support is still experimental # slurmrestd does not build on FreeBSD CONFIGURE_ARGS= --disable-slurmrestd --with-mysql_config=${LOCALBASE}/bin \ --docdir=${DOCSDIR} --htmldir=${DOCSDIR} CFLAGS+= -I${WRKSRC}/slurm -I${LOCALBASE}/include \ -I${LOCALBASE}/include/level_zero \ -I${LOCALBASE}/include/librdkafka \ -fcommon -D__BSD_VISIBLE=1 LDFLAGS+= -L${LOCALBASE}/lib -lsysinfo -lprocstat -fcommon PROC2FIX= common/callerid.c common/fd.c common/fetch_config.c \ interfaces/proctrack.c \ plugins/acct_gather_energy/rapl/acct_gather_energy_rapl.c \ plugins/acct_gather_filesystem/lustre/acct_gather_filesystem_lustre.c \ plugins/burst_buffer/common/burst_buffer_common.c \ plugins/cgroup/v1/xcgroup.c plugins/cgroup/v2/cgroup_v2.c \ plugins/gpu/nvml/gpu_nvml.c \ plugins/job_container/tmpfs/job_container_tmpfs.c \ plugins/jobacct_gather/cgroup/jobacct_gather_cgroup.c \ plugins/jobacct_gather/common/common_jag.c \ plugins/jobacct_gather/linux/jobacct_gather_linux.c \ plugins/node_features/knl_generic/node_features_knl_generic.c \ plugins/proctrack/cgroup/proctrack_cgroup.c \ plugins/proctrack/cray_aries/proctrack_cray_aries.c \ plugins/proctrack/linuxproc/kill_tree.c \ plugins/proctrack/pgid/proctrack_pgid.c \ plugins/switch/cray_aries/scaling.c \ plugins/task/affinity/affinity.c slurmd/common/set_oomadj.c \ slurmd/common/xcpuinfo.c slurmd/slurmstepd/pdebug.c \ slurmd/slurmstepd/req.c LLD2FIX= api plugins/openapi sacctmgr sackd scontrol scrontab scrun \ slurmctld slurmd/slurmd squeue .include # Hack around nonfunctional --disable-gtktest flag pre-configure-GUI-off: ${REINPLACE_CMD} -e 's|min_gtk_version=.*|min_gtk_version=2000.0.0|' \ ${WRKSRC}/configure # SLURM's configure enables interactive jobs if pty.h exists. Replacing # #include with appropriate headers will therefore not work, so instead # add a pty.h for the build. pre-configure: ${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm ${REINPLACE_CMD} -e 's|sched_setaffinity|cpuset_setaffinity|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/configure .for src in ${PROC2FIX} ${REINPLACE_CMD} -e 's|"/proc|"/compat/linux/proc|g' \ -e 's|(/proc)|(/compat/linux/proc)|g' \ ${WRKSRC}/src/${src} .endfor @if ${WHICH} sbatch > /dev/null; then \ ${ECHO_CMD} "********************************************"; \ ${ECHO_CMD} "Build may fail while slurm-wlm is installed."; \ ${ECHO_CMD} "Deinstall slurm-wlm and run make again."; \ ${ECHO_CMD} "********************************************"; \ false; \ fi .if ${ARCH} == powerpc64le ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m elf64lppc -o|' .elif ${ARCH} == powerpc64 ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m elf64ppc -o|' .elif ${ARCH} == aarch64 ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m aarch64elf -o|' .else ${FIND} ${LLD2FIX:C|^|${WRKSRC}/src/|} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-r -o|-r -m elf_${ARCH} -o|' .endif ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|htmldir = \$${datadir.*$$|htmldir = @htmldir@|' post-install: ${INSTALL_DATA} ${WRKSRC}/etc/slurm.conf.example \ ${STAGEDIR}${PREFIX}/etc/slurm.conf.sample .include