diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index 04dec50c3b1d..263cb083e7d0 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,39 +1,39 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.3.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= cad MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal USES= cmake cpe desktop-file-utils eigen:3 gettext gl iconv pkgconfig CPE_VENDOR= prusa3d CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_WX= 3.1 USE_GL= gl glu glew PORTDATA= * .include diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile index 7690cb338cb7..c43d57305f48 100644 --- a/devel/onetbb/Makefile +++ b/devel/onetbb/Makefile @@ -1,47 +1,47 @@ # Created by: Arun Sharma PORTNAME= onetbb -PORTVERSION= 2021.4.0 +PORTVERSION= 2021.5.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= martymac@FreeBSD.org COMMENT= Library that provides thread building blocks LICENSE= APACHE20 LIB_DEPENDS= libhwloc.so.15:devel/hwloc2 USES= cmake compiler:c++11-lang 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" 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}" .include .if ${ARCH} == i386 || ${ARCH} == powerpc PCSUFX= 32 .endif .if ${ARCH} == powerpc || ${ARCH} == riscv64 EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_tbb_tools__api_ittnotify__config.h .endif .include diff --git a/devel/onetbb/distinfo b/devel/onetbb/distinfo index ce939a2ff2f6..c8c30fb3351a 100644 --- a/devel/onetbb/distinfo +++ b/devel/onetbb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1633466066 -SHA256 (oneapi-src-oneTBB-v2021.4.0_GH0.tar.gz) = 021796c7845e155e616f5ecda16daa606ebb4c6f90b996e5c08aebab7a8d3de3 -SIZE (oneapi-src-oneTBB-v2021.4.0_GH0.tar.gz) = 2452533 +TIMESTAMP = 1641398807 +SHA256 (oneapi-src-oneTBB-v2021.5.0_GH0.tar.gz) = e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a +SIZE (oneapi-src-oneTBB-v2021.5.0_GH0.tar.gz) = 2463218 diff --git a/devel/onetbb/files/patch-cmake-compilers-xxx.cmake b/devel/onetbb/files/patch-cmake-compilers-xxx.cmake deleted file mode 100644 index f40a5530967e..000000000000 --- a/devel/onetbb/files/patch-cmake-compilers-xxx.cmake +++ /dev/null @@ -1,26 +0,0 @@ -Fix build with clang >= 12 or gcc >= 11 - -Backport from upstream, commit c4a42feb5333488360617a9b58f90e479659b744 - ---- cmake/compilers/Clang.cmake.orig 2021-10-04 09:50:18 UTC -+++ cmake/compilers/Clang.cmake -@@ -44,7 +44,7 @@ if (NOT TBB_STRICT AND COMMAND tbb_remove_compile_flag - endif() - - # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and WAITPKG instructions support (-mwaitpkg) on relevant processors --if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)") -+if (CMAKE_SYSTEM_PROCESSOR MATCHES "(AMD64|amd64|i.86|x86)") - set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$>:-mwaitpkg>) - endif() - ---- cmake/compilers/GNU.cmake.orig 2021-10-04 09:50:18 UTC -+++ cmake/compilers/GNU.cmake -@@ -36,7 +36,7 @@ if (NOT CMAKE_GENERATOR MATCHES "Ninja" AND NOT CMAKE_ - endif() - - # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and WAITPKG instructions support (-mwaitpkg) on relevant processors --if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)") -+if (CMAKE_SYSTEM_PROCESSOR MATCHES "(AMD64|amd64|i.86|x86)") - set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$>,$>>:-mwaitpkg>) - endif() - diff --git a/devel/onetbb/pkg-plist b/devel/onetbb/pkg-plist index 045e649bc53e..7b0d81567959 100644 --- a/devel/onetbb/pkg-plist +++ b/devel/onetbb/pkg-plist @@ -1,156 +1,156 @@ 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/_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/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/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.so lib/libtbb.so.12 -lib/libtbb.so.12.4 +lib/libtbb.so.12.5 lib/libtbbbind_2_0.so lib/libtbbbind_2_0.so.3 -lib/libtbbbind_2_0.so.3.4 +lib/libtbbbind_2_0.so.3.5 lib/libtbbmalloc.so lib/libtbbmalloc.so.2 -lib/libtbbmalloc.so.2.4 +lib/libtbbmalloc.so.2.5 lib/libtbbmalloc_proxy.so lib/libtbbmalloc_proxy.so.2 -lib/libtbbmalloc_proxy.so.2.4 +lib/libtbbmalloc_proxy.so.2.5 libdata/pkgconfig/tbb%%PCSUFX%%.pc diff --git a/devel/rkcommon/Makefile b/devel/rkcommon/Makefile index 1f10bae59a9e..77ae62c5c0d8 100644 --- a/devel/rkcommon/Makefile +++ b/devel/rkcommon/Makefile @@ -1,24 +1,25 @@ PORTNAME= rkcommon DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Intel RenderKit common C++/CMake infrastructure LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt 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 .include diff --git a/graphics/blender-lts28/Makefile b/graphics/blender-lts28/Makefile index 8556597978ea..135ad4c9ccc2 100644 --- a/graphics/blender-lts28/Makefile +++ b/graphics/blender-lts28/Makefile @@ -1,211 +1,211 @@ PORTNAME= blender DISTVERSION= 2.83.15 -PORTREVISION= 9 +PORTREVISION= 10 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/ # long term support v2.8x PKGNAMESUFFIX= -lts28 MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package - LTS LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs 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++14-lang gl cpe gnome jpeg python:3.7 shebangfix \ tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew CMAKE_OFF= WITH_IMAGE_OPENJPEG WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY WITH_INSTALL_PORTABLE \ WITH_CYCLES_LOGGING SUB_FILES= blender SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 # prevent conflict with other blender versions DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB+= VER=${DISTVERSION:R} SUFFIX=${PKGNAMESUFFIX} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_IMPLIES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLES_LIB_DEPENDS= libpugixml.so:textproc/pugixml CYCLESEMBR_IMPLIES= CYCLES CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \ -DOSL_ROOT_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/" CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} DDS_CMAKE_BOOL= WITH_IMAGE_DDS DRACO_CMAKE_BOOL= WITH_DRACO FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LDFLAGS= -L${PREFIX}/lib -lflite -lflite_cmu_us_kal -lflite_cmulex -lflite_usenglish FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite_cmu_us_kal.so:audio/flite FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN 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 MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # 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 iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp03.so:devel/yaml-cpp03 \ libtinyxml.so:textproc/tinyxml OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENIMAGEIO_IMPLIES= OPENEXR TIFF OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENVDB_LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libopenvdb.so:misc/openvdb \ libtbb.so:devel/onetbb RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF .endif .if ${LLVM_DEFAULT:M[678]0} LLVM_VER= 90 .else LLVM_VER= ${LLVM_DEFAULT} .endif post-patch-OPENCOLORIO-on: @${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \ ${PATCH_WRKSRC}/build_files/cmake/Modules/FindOpenColorIO.cmake post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ ${INSTALL_WRKSRC}/bin/blender \ ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 # rename files to prevent conflict with other blender versions ${MV} ${STAGEDIR}${PREFIX}/share/blender \ ${STAGEDIR}${PREFIX}/share/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/share/doc/blender \ ${STAGEDIR}${PREFIX}/share/doc/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/bin/blender \ ${STAGEDIR}${PREFIX}/bin/blender-bin${PKGNAMESUFFIX} ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender${PKGNAMESUFFIX} ${MV} ${STAGEDIR}${PREFIX}/bin/blender-thumbnailer.py \ ${STAGEDIR}${PREFIX}/bin/blender${PKGNAMESUFFIX}-thumbnailer.py ${MV} ${STAGEDIR}${PREFIX}/man/man1/blender.1 \ ${STAGEDIR}${PREFIX}/man/man1/blender${PKGNAMESUFFIX}.1 ${MV} ${STAGEDIR}${PREFIX}/share/applications/blender.desktop \ ${STAGEDIR}${PREFIX}/share/applications/blender${PKGNAMESUFFIX}.desktop ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/blender${PKGNAMESUFFIX}.svg ${MV} ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/blender-symbolic.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/blender${PKGNAMESUFFIX}-symbolic.svg 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/blender/Makefile b/graphics/blender/Makefile index df4655533266..bda41e9627a5 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,197 +1,197 @@ # Created by: Jimmy Olgeni PORTNAME= blender DISTVERSION= 2.91.0 -PORTREVISION= 15 +PORTREVISION= 16 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 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= uses 64bit atomic functions BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs 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++14-lang cpe gl gnome jpeg python:3.8 shebangfix \ tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew CMAKE_OFF= WITH_IMAGE_OPENJPEG WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY WITH_INSTALL_PORTABLE \ WITH_CYCLES_LOGGING SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_IMPLIES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COLLADA_USES= gnome COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO TBB CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLES_LIB_DEPENDS= libpugixml.so:textproc/pugixml CYCLESEMBR_IMPLIES= CYCLES CYCLESEMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLESEMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \ -DOSL_ROOT_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/" CYCLESOSL_BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} DDS_CMAKE_BOOL= WITH_IMAGE_DDS DRACO_CMAKE_BOOL= WITH_DRACO DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} EBOOL_CMAKE_BOOL= WITH_GMP EBOOL_LIB_DEPENDS= libgmp.so:math/gmp FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN 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 MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # 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 iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp03.so:devel/yaml-cpp03 \ libtinyxml.so:textproc/tinyxml OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \ libImath.so:math/Imath OPENIMAGEIO_IMPLIES= OPENEXR TIFF OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn # openmp usually works on amd64 OPENMP_CMAKE_BOOL= WITH_OPENMP OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENVDB_IMPLIES= TBB OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENVDB_LIB_DEPENDS= libblosc.so:archivers/c-blosc \ libopenvdb.so:misc/openvdb RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 SDL_USES= sdl SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TRACE_CMAKE_BOOL= WITH_POTRACE TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif .include .if ${ARCH} != amd64 && ${ARCH} != i386 CMAKE_ARGS+= -DWITH_CPU_SSE:BOOL=OFF .endif .if ${LLVM_DEFAULT:M[678]0} LLVM_VER= 90 .else LLVM_VER= ${LLVM_DEFAULT} .endif post-patch-OPENCOLORIO-on: @${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \ ${PATCH_WRKSRC}/build_files/cmake/Modules/FindOpenColorIO.cmake post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ ${INSTALL_WRKSRC}/bin/blender \ ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 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}/${PREFIX}/share/blender/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/embree/Makefile b/graphics/embree/Makefile index b8ef7712f221..b642832bda84 100644 --- a/graphics/embree/Makefile +++ b/graphics/embree/Makefile @@ -1,73 +1,73 @@ # Created by: Alexey Dokuchaev PORTNAME= embree PORTVERSION= 3.13.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= danfe@FreeBSD.org COMMENT= Collection of high-performance ray tracing kernels 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/oidn/Makefile b/graphics/oidn/Makefile index 176194c6ae28..fa6dec2ee17d 100644 --- a/graphics/oidn/Makefile +++ b/graphics/oidn/Makefile @@ -1,68 +1,68 @@ PORTNAME= oidn DISTVERSIONPREFIX= v DISTVERSION= 1.4.1 -PORTREVISION= 2 +PORTREVISION= 3 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 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= 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++11-lang python:build USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= OpenImageDenoise GH_TUPLE= OpenImageDenoise:mkl-dnn:eb3e967:m/mkl-dnn 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 OPTIONS_DEFAULT= APPS OPTIONS_SUB= yes APPS_DESC= Build example and test apps APPS_CMAKE_BOOL= OIDN_APPS DOCSDIR= share/doc/${GH_ACCOUNT} WEIGHTS_GIT_URL= https://github.com/OpenImageDenoise/oidn-weights.git WEIGHTS_GIT_HASH= a34b7641349c5a79e46a617d61709c35df5d6c28 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=bsdtar --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 7985d7fee8c7..eac80b42ffa6 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,136 +1,136 @@ # Created by: Shane Ambler PORTNAME= openimageio DISTVERSIONPREFIX= Release- DISTVERSION= 2.2.16.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?= 4 +PORTREVISION?= 5 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz COMMENT?= OpenImageIO graphics library LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/include/tsl/robin_map.h:devel/robin-map LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libheif.so:graphics/libheif \ libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr \ libpng.so:graphics/png \ libsquish.so:graphics/squish \ libtiff.so:graphics/tiff \ libwebp.so:graphics/webp USES= cmake jpeg compiler:c++11-lib iconv:wchar_t USE_GITHUB= yes GH_ACCOUNT= OpenImageIO GH_PROJECT= oiio CMAKE_OFF= BUILDSTATIC INSTALL_FONTS LINKSTATIC NOTHREADS \ STOP_ON_WARNING USE_OPENSSL OPTIONS_DEFINE= DICOM DOCS FFMPEG FREETYPE GIF IMAGEVIEWER OCIO \ OPENCV OPENJPEG PTEX RAW TBB TEST TOOLS VDB OPTIONS_DEFAULT= DICOM FREETYPE GIF OCIO OPENJPEG PTEX TOOLS OPTIONS_SUB= yes DOCS_CMAKE_BOOL= INSTALL_DOCS DOCS_CMAKE_ON= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} DICOM_DESC= DICOM/MEDICOM support DICOM_CMAKE_BOOL= USE_DICOM DICOM_LIB_DEPENDS= libdcmimage.so:graphics/dcmtk FFMPEG_DESC= Use FFmpeg to support extra file types FFMPEG_CMAKE_BOOL= USE_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FREETYPE_CMAKE_BOOL= USE_FREETYPE FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_RUN_DEPENDS= ${LOCALBASE}/share/fonts/Droid/DroidSans.ttf:x11-fonts/droid-fonts-ttf GIF_CMAKE_BOOL= USE_GIF GIF_LIB_DEPENDS= libgif.so:graphics/giflib IMAGEVIEWER_DESC= Build image viewer (requires Qt) IMAGEVIEWER_USES= gl qt:5 IMAGEVIEWER_IMPLIES= TOOLS IMAGEVIEWER_CMAKE_BOOL= USE_QT USE_OPENGL IMAGEVIEWER_USE= GL=gl,glu,glew \ QT=buildtools,core,gui,opengl,qmake_build,widgets OCIO_DESC= Color management support OCIO_CMAKE_BOOL= USE_OCIO OCIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio OPENCV_CMAKE_BOOL= USE_OPENCV OPENCV_LIB_DEPENDS= libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv \ libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CMAKE_BOOL= USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PTEX_DESC= ptex support PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex RAW_CMAKE_BOOL= USE_LIBRAW RAW_LIB_DEPENDS= libraw_r.so:graphics/libraw TBB_DESC= Intel tbb support TBB_CMAKE_BOOL= USE_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TEST_CMAKE_BOOL= OIIO_BUILD_TESTS TOOLS_DESC= Build CLI tools TOOLS_CMAKE_BOOL= OIIO_BUILD_TOOLS VDB_DESC= OpenVDB support VDB_CMAKE_BOOL= USE_OPENVDB VDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb # DISTVERSION has an extra digit which isn't in the lib name # for LIBVERS we want the first three digits PLIST_SUB+= LIBVERS=${DISTVERSION:C/([0-9]*)\.([0-9]*)\.([0-9]*)(.*)/\1.\2.\3/} 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 PLIST= ${PKGDIR}/pkg-plist-pybind USES+= python:3.6+ USE_PYTHON= flavors CMAKE_ON+= USE_PYTHON # we don't need the apps built - only libs. CMAKE_OFF+= USE_QT USE_OPENGL OIIO_BUILD_TOOLS OIIO_BUILD_TESTS CMAKE_ARGS+= -DPYTHON_VERSION:STRING=${PYTHON_VER} 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.2.2 \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO.so.2 ${LN} -sf libOpenImageIO_Util.so.2.2 \ ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.2 do-test-TEST-on: @cd ${BUILD_WRKSRC} && ${SETENV} ARGS=-V ${MAKE_CMD} test .endif # SLAVE_PORT .include diff --git a/graphics/opensubdiv/Makefile b/graphics/opensubdiv/Makefile index adc8adab6f84..5874f395a725 100644 --- a/graphics/opensubdiv/Makefile +++ b/graphics/opensubdiv/Makefile @@ -1,77 +1,78 @@ PORTNAME= opensubdiv DISTVERSIONPREFIX= v DISTVERSION= 3_4_4 +PORTREVISION= 1 CATEGORIES?= graphics MAINTAINER= FreeBSD@Shaneware.biz COMMENT= High performance subdivision surface libraries LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= glfw>2.7.0:graphics/glfw USES= cmake gl USE_GITHUB= yes GH_ACCOUNT= PixarAnimationStudios GH_PROJECT= OpenSubdiv USE_GL= gl glu glew USE_LDCONFIG= yes CMAKE_ON= NO_CUDA NO_DX NO_OMP OPTIONS_DEFINE= DOCS EXAMPLES OPENCL PTEX TBB TEST TUTORIALS OPTIONS_DEFAULT= TBB OPTIONS_SUB= yes DOCS_CMAKE_BOOL_OFF= NO_DOC DOCS_BUILD_DEPENDS= rst2html.py:textproc/py-docutils \ doxygen>=1.8.4:devel/doxygen DOCS_USES= python:build DOCS_PORTDOCS= * EXAMPLES_CMAKE_BOOL_OFF= NO_EXAMPLES EXAMPLES_USES= xorg EXAMPLES_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw OPENCL_CMAKE_BOOL_OFF= NO_OPENCL OPENCL_CFLAGS= -pthread OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd PTEX_DESC= ptex support PTEX_CMAKE_BOOL_OFF= NO_PTEX PTEX_CMAKE_ON= -DPTEX_LOCATION:STRING=${LOCALBASE} \ -DPTEX_INCLUDE_DIR:STRING=${LOCALBASE}/include/ptex PTEX_LIB_DEPENDS= libPtex.so:graphics/ptex TBB_DESC= Intel threading building blocks TBB_CMAKE_BOOL_OFF= NO_TBB TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TEST_CMAKE_BOOL_OFF= NO_REGRESSION NO_TESTS NO_GL_TESTS TEST_LIB_DEPENDS= libglfw.so:graphics/glfw TEST_USES= xorg TEST_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm # the tutorials and tests include use of deprecated parts of the library # using clang 10 on 32 bit fails to build all tutorials and tests # currently 12.1 still works - 11.4 and current fail # CMake files and pkg-plist are patched to prevent failing builds TUTORIALS_DESC= Install tutorial programs TUTORIALS_CMAKE_BOOL_OFF= NO_TUTORIALS PLIST_SUB+= LIBVERS=${PORTVERSION} 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 d544e96cbca0..26e2f8064c9a 100644 --- a/graphics/openvkl/Makefile +++ b/graphics/openvkl/Makefile @@ -1,38 +1,39 @@ PORTNAME= openvkl DISTVERSIONPREFIX= v DISTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= graphics devel MAINTAINER= yuri@FreeBSD.org COMMENT= Intel Open Volume Kernel Library for graphics applications 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 gl USE_GITHUB= yes USE_GL= gl USE_LDCONFIG= yes CMAKE_OFF= BUILD_TESTING 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 60532cb3756b..2a94e7cdae3b 100644 --- a/graphics/ospray-studio/Makefile +++ b/graphics/ospray-studio/Makefile @@ -1,35 +1,36 @@ PORTNAME= ospray-studio DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Application to showcase OSPRay's rendering capabilities LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= 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_ON= OSPRAY_INSTALL CMAKE_OFF= USE_PYSG PLIST_FILES= bin/ospStudio \ lib/libospray_sg.so do-install: # workaround for https://github.com/ospray/ospray_studio/issues/8 ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ospStudio ${STAGEDIR}${LOCALBASE}/bin ${INSTALL_LIB} ${BUILD_WRKSRC}/libospray_sg.so ${STAGEDIR}${LOCALBASE}/lib .include diff --git a/graphics/ospray/Makefile b/graphics/ospray/Makefile index f1c58f499576..63d261571411 100644 --- a/graphics/ospray/Makefile +++ b/graphics/ospray/Makefile @@ -1,37 +1,38 @@ PORTNAME= ospray DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Ray tracing based rendering engine for high-fidelity visualization 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 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_APPS_TESTING CMAKE_TESTING_ON= OSPRAY_APPS_TESTING 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 a46a8d7f7eef..28761e61939e 100644 --- a/math/curv/Makefile +++ b/math/curv/Makefile @@ -1,43 +1,43 @@ PORTNAME= curv DISTVERSION= 0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math lang graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Language for making art using mathematics LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE 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 ee8f1bfb5c0d..4de44924a23e 100644 --- a/math/dune-alugrid/Makefile +++ b/math/dune-alugrid/Makefile @@ -1,43 +1,43 @@ PORTNAME= dune-alugrid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0rc1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: grid implementation providing simplex or cube grids 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.so:net/openmpi \ 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_COMMIT= 08c6496d4d4a33df6456c3b402182f353dc2e76d 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= * .include diff --git a/math/dune-common/Makefile b/math/dune-common/Makefile index 0a08a46c9faa..080cc383d90c 100644 --- a/math/dune-common/Makefile +++ b/math/dune-common/Makefile @@ -1,45 +1,45 @@ PORTNAME= dune-common DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Build system, infrastructure and foundation classes LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= openmpi>0:net/openmpi \ vc>0:devel/vc 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_COMMIT= 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 bdfd84e274d7..479e7090b8da 100644 --- a/math/dune-fem/Makefile +++ b/math/dune-fem/Makefile @@ -1,67 +1,67 @@ PORTNAME= dune-fem DISTVERSION= 2.8.0rc1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Finite Element Methods, Finite Volume Methods, etc 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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_COMMIT= d1c625e6d51167d0cce57de6adcef21f548a8f82 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 147460e6583c..eedb42b1cc7b 100644 --- a/math/dune-geometry/Makefile +++ b/math/dune-geometry/Makefile @@ -1,39 +1,39 @@ PORTNAME= dune-geometry DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Geometry transformations, reference elements, etc LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= openmpi>0:net/openmpi \ 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_COMMIT= 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 14cec91ffedc..fb9b13315293 100644 --- a/math/dune-grid-glue/Makefile +++ b/math/dune-grid-glue/Makefile @@ -1,45 +1,45 @@ PORTNAME= dune-grid-glue DISTVERSIONPREFIX= v DISTVERSION= 2.7.0.20201113 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: infrastructure for coupling of unrelated Dune grids LICENSE= GPLv2 BUILD_DEPENDS= alberta-fem>0:math/alberta \ openmpi>0:net/openmpi \ 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_COMMIT= 17bd9898df80a52e2c316fc053119d190c149a2e 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 efa9eaeec2f5..5e5f7b923644 100644 --- a/math/dune-grid/Makefile +++ b/math/dune-grid/Makefile @@ -1,45 +1,45 @@ PORTNAME= dune-grid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: Geometry transformations, reference elements, etc LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= alberta-fem>0:math/alberta \ openmpi>0:net/openmpi \ 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_COMMIT= 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 e70cf2c33e17..b8870f60d81f 100644 --- a/math/dune-pdelab/Makefile +++ b/math/dune-pdelab/Makefile @@ -1,65 +1,65 @@ PORTNAME= dune-pdelab DISTVERSIONPREFIX= v DISTVERSION= 2.7.0.20210824 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: PDE solver toolbox 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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_COMMIT= 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 b39154ec4e67..4247c0d0ea67 100644 --- a/math/dune-polygongrid/Makefile +++ b/math/dune-polygongrid/Makefile @@ -1,31 +1,31 @@ PORTNAME= dune-polygongrid DISTVERSION= g20210307 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: 2D polygonal grid LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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_COMMIT= f76933aa51aa3ae3e58a5705f9f7ce7d1f6c012c CMAKE_ON= BUILD_SHARED_LIBS .include diff --git a/math/dune-uggrid/Makefile b/math/dune-uggrid/Makefile index 517302fdee1e..28af733b2221 100644 --- a/math/dune-uggrid/Makefile +++ b/math/dune-uggrid/Makefile @@ -1,31 +1,31 @@ PORTNAME= dune-uggrid DISTVERSIONPREFIX= v DISTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: The UG Grid Manager LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL-2.1 BUILD_DEPENDS= openmpi>0:net/openmpi \ vc>0:devel/vc LIB_DEPENDS= libdunecommon.so:math/dune-common \ libopenblas.so:math/openblas \ libtbb.so:devel/onetbb RUN_DEPENDS= openmpi>0:net/openmpi 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_COMMIT= 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 c96524300e95..0c9282df15b7 100644 --- a/math/dune-vtk/Makefile +++ b/math/dune-vtk/Makefile @@ -1,62 +1,62 @@ PORTNAME= dune-vtk DISTVERSION= g20210623 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= DUNE framework: File reader and writer for the VTK XML format 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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 \ ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi 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_COMMIT= 38f79c23ef8f29210d41353a8380e42b78422f2f 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 f7ce84297944..17acca880c29 100644 --- a/math/heyoka/Makefile +++ b/math/heyoka/Makefile @@ -1,35 +1,36 @@ PORTNAME= heyoka DISTVERSIONPREFIX= v DISTVERSION= 0.16.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for ODE integration via Taylor's method and LLVM LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libmp++.so:math/mppp \ libtbb.so:devel/onetbb \ libsleef.so:math/sleef \ libspdlog.so:devel/spdlog RUN_DEPENDS= llvm${LLVM_VERSION}>0:devel/llvm${LLVM_VERSION} TEST_DEPENDS= xtensor>0:math/xtensor \ xtensor-blas>0:math/xtensor-blas USES= cmake:testing compiler:c++17-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= bluescarni LLVM_VERSION= 12 CMAKE_ON= HEYOKA_WITH_MPPP HEYOKA_WITH_SLEEF CMAKE_ARGS= -DFREEBSD_LLVM_VERSION=${LLVM_VERSION} CMAKE_TESTING_ON= HEYOKA_BUILD_TESTS # tests can't be compiled: xtensor-blas isn't yet ported .include diff --git a/math/obake/Makefile b/math/obake/Makefile index 1ce08da9752a..3456ff1db670 100644 --- a/math/obake/Makefile +++ b/math/obake/Makefile @@ -1,32 +1,32 @@ PORTNAME= obake DISTVERSIONPREFIX= v DISTVERSION= 0.7.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library for the symbolic manipulation of sparse polynomials & co 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++17-lang # need 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 .include diff --git a/math/openturns/Makefile b/math/openturns/Makefile index 1fb8e0c67dda..8be8b004c25d 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -1,88 +1,89 @@ PORTNAME= openturns DISTVERSIONPREFIX= v DISTVERSION= 1.18 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Uncertainty treatment library 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 \ 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 \ libmetis.so:math/metis \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libnauty.so:math/nauty \ libnlopt.so:math/nlopt \ libOsi.so:math/osi \ libpng16.so:graphics/png \ libprimesieve.so:math/primesieve \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libsz.so:science/szip \ libtbb.so:devel/onetbb \ libunwind.so:devel/libunwind USES= bison blaslapack:openblas cmake compiler:c++14-lang eigen:3 gnome jpeg localbase:ldflags pkgconfig sqlite xorg 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 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>0: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= * post-install: @${RM} -r ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/ngraph/Makefile b/misc/ngraph/Makefile index 6ec08b7d4538..3e8b505ce3f5 100644 --- a/misc/ngraph/Makefile +++ b/misc/ngraph/Makefile @@ -1,50 +1,50 @@ PORTNAME= ngraph DISTVERSIONPREFIX= v DISTVERSION= 0.29.0-rc.0-345 DISTVERSIONSUFFIX= -g58b649aa6 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= misc # machine-learning PKGNAMESUFFIX= -machine-learning-library MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library, compiler and runtime for Deep Learning LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= onednn>0:math/onednn LIB_DEPENDS= libtbb.so:devel/onetbb USES= cmake eigen:3 localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= NervanaSystems USE_LDCONFIG= yes CMAKE_OFF= NGRAPH_UNIT_TEST_ENABLE NGRAPH_TEST_UTIL_ENABLE NGRAPH_TBB_ENABLE NGRAPH_JSON_ENABLE NGRAPH_MLIR_ENABLE NGRAPH_CODEGEN_ENABLE NGRAPH_STRICT_ERROR_CHECK CMAKE_ON= NGRAPH_USE_PREBUILT_LLVM CMAKE_ARGS= -DClang_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang \ -DTBB_ROOT=${LOCALBASE} CXXFLAGS+= -I${LOCALBASE}/include/eigen3 BINARY_ALIAS= git=/usr/bin/true # ngraph uses clang from ports in a c++14 mode BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} RUN_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} CPP= clang-cpp${LLVM_DEFAULT} CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} OPTIONS_DEFINE= NATIVE NATIVE_DESC= Build with native optimizations (-march=native) NATIVE_CMAKE_BOOL= NGRAPH_NATIVE_ARCH_ENABLE post-install: @cd ${STAGEDIR}${PREFIX} && \ ${RM} -r licenses && \ ${RM} LICENSE VERSION && \ ${MV} cmake lib/ && \ ${RM} -r include/ngraph/frontend/ATen .include diff --git a/misc/openvdb/Makefile b/misc/openvdb/Makefile index 5b4fe9fde562..1159df26bcd5 100644 --- a/misc/openvdb/Makefile +++ b/misc/openvdb/Makefile @@ -1,57 +1,58 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 9.0.0 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org COMMENT= Tools for storage and manipulation of sparse volumetric data 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++11-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= PYTHON TOOLS #DOCS # TOOLS and PYTHON should be made into subpackages OPTIONS_DEFAULT= PYTHON TOOLS OPTIONS_SUB= yes PYTHON_USES= python PYTHON_CMAKE_BOOL= OPENVDB_BUILD_PYTHON_MODULE PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER} -DUSE_NUMPY:BOOL=ON PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} 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 xpost-patch: # extra fix for OneTBB @cd ${WRKSRC}/openvdb/openvdb && \ ${MKDIR} thread # 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/science/opensph/Makefile b/science/opensph/Makefile index 5fa46883cff3..cfb928b022b3 100644 --- a/science/opensph/Makefile +++ b/science/opensph/Makefile @@ -1,73 +1,73 @@ PORTNAME= OpenSPH DISTVERSION= 0.3.8 -PORTREVISION= 3 # accounts for the upstream moving 0.3.8 release, including bugfixes +PORTREVISION= 4 # accounts for the upstream moving 0.3.8 release, including bugfixes CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Library and graphical tools for running SPH and N-body simulations LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= catch>0:devel/catch USES= compiler:c++14-lang qmake qt:5 USE_GITLAB= yes USE_WX= 3.1 GL_SITE= https://gitlab.com GL_ACCOUNT= sevecekp GL_PROJECT= sph GL_COMMIT= 7de6c044339f649e3d19e61f735a6a24572b792a 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.1-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 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 109752ebf375..6f2b3083627c 100644 --- a/science/pagmo2/Makefile +++ b/science/pagmo2/Makefile @@ -1,33 +1,33 @@ PORTNAME= pagmo2 DISTVERSIONPREFIX= v DISTVERSION= 2.18.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Platform to perform parallel computations of optimization tasks 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