diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 1319fc706f80..5afc99bbf360 100644 --- a/chinese/librime/Makefile +++ b/chinese/librime/Makefile @@ -1,40 +1,41 @@ # Created by: Zhihao Yuan PORTNAME= librime PORTVERSION= 1.7.3 +PORTREVISION= 1 CATEGORIES= chinese textproc MAINTAINER= khng@FreeBSD.org COMMENT= Rime Input Method Engine, the core library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libcapnp.so:devel/capnproto \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libleveldb.so:databases/leveldb \ libmarisa.so:devel/marisa-trie \ libopencc.so:chinese/opencc \ libyaml-cpp.so:devel/yaml-cpp \ USES= cmake compiler:c++14-lang gettext pathfix perl5 pkgconfig xorg USE_PERL5= build patch CMAKE_OFF= BUILD_TEST USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_XORG= xorgproto LDFLAGS+= -lintl USE_GITHUB= yes GH_ACCOUNT= rime PLIST_SUB= VER=${PORTVERSION} post-patch: @${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \ -exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' {} \; .include diff --git a/devel/fbthrift/Makefile b/devel/fbthrift/Makefile index 597b1c7827d9..95f2b2c1abc8 100644 --- a/devel/fbthrift/Makefile +++ b/devel/fbthrift/Makefile @@ -1,42 +1,42 @@ PORTNAME= fbthrift DISTVERSIONPREFIX= v DISTVERSION= 2022.03.28.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= Facebook's branch of Apache Thrift, including a new C++ server LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= range-v3>0:devel/range-v3 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfizz.so:security/fizz \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicui18n.so:devel/icu \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind \ libwangle.so:net/wangle \ libzstd.so:archivers/zstd USES= bison cmake compiler:c++17-lang ssl USE_GITHUB= yes GH_ACCOUNT= facebook USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CXXFLAGS+= -fPIC # https://github.com/facebook/fbthrift/issues/399 post-install: # https://github.com/facebook/fbthrift/issues/393 ${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete .include diff --git a/devel/folly/Makefile b/devel/folly/Makefile index ccb4c5bfd669..3ccfe3e3e8ef 100644 --- a/devel/folly/Makefile +++ b/devel/folly/Makefile @@ -1,49 +1,49 @@ PORTNAME= folly DISTVERSIONPREFIX= v DISTVERSION= 2022.03.28.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C++ library developed and used at Facebook LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= error: use of undeclared identifier 'DCHECK': https://github.com/facebook/folly/issues/1168 BUILD_DEPENDS= elfutils>0:devel/elfutils # workaround for missing symbols like DW_UT_compile: https://github.com/facebook/folly/issues/1654 LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfmt.so:devel/libfmt \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicui18n.so:devel/icu \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind \ libzstd.so:archivers/zstd RUN_DEPENDS= elfutils>0:devel/elfutils # workaround for missing symbols like DW_UT_compile: https://github.com/facebook/folly/issues/1654 TEST_DEPENDS= googletest>0:devel/googletest USES= cmake compiler:c++17-lang cpe ssl CPE_VENDOR= facebook USE_GITHUB= yes GH_ACCOUNT= facebook USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= FREEBSD_BUILD_EXAMPLES FREEBSD_FOLLY_USE_SYMBOLIZER # enabling symbolizer causes undefined symbol _r_debug, see https://github.com/facebook/folly/issues/1373 CXXFLAGS+= -fPIC CXXFLAGS_powerpc64= -DFOLLY_QUOTIENT_MULTI_SET_SUPPORTED=0 do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_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/devel/glog/Makefile b/devel/glog/Makefile index de9bf320b662..d6a6e999cc6b 100644 --- a/devel/glog/Makefile +++ b/devel/glog/Makefile @@ -1,30 +1,32 @@ # Created by: Cheng-Lung Sung PORTNAME= glog -PORTVERSION= 0.5.0 +PORTVERSION= 0.6.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library of C++ classes for flexible logging LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgflags.so:devel/gflags \ libunwind.so:devel/libunwind USES= cmake compiler:c++11-lang pkgconfig -CMAKE_ON= BUILD_SHARED_LIBS WITH_GFLAGS WITH_PKGCONFIG WITH_SYMBOLIZE WITH_THREADS WITH_TLS WITH_UNWIND -CMAKE_OFF= PRINT_UNSYMBOLIZED_STACK_TRACES WITH_CUSTOM_PREFIX WITH_GTEST +CMAKE_ON= BUILD_SHARED_LIBS WITH_CUSTOM_PREFIX WITH_GFLAGS WITH_PKGCONFIG WITH_SYMBOLIZE WITH_THREADS WITH_TLS WITH_UNWIND +CMAKE_OFF= PRINT_UNSYMBOLIZED_STACK_TRACES WITH_GTEST LDFLAGS+= -lexecinfo TEST_TARGET= test USE_CXXSTD= c++11 USE_LDCONFIG= yes +PLIST_SUB= PORTVERSION=${PORTVERSION} + GH_ACCOUNT= google USE_GITHUB= yes .include diff --git a/devel/glog/distinfo b/devel/glog/distinfo index f6d91a549e07..fbf79f12bee4 100644 --- a/devel/glog/distinfo +++ b/devel/glog/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620928565 -SHA256 (google-glog-v0.5.0_GH0.tar.gz) = eede71f28371bf39aa69b45de23b329d37214016e2055269b3b5e7cfd40b59f5 -SIZE (google-glog-v0.5.0_GH0.tar.gz) = 183346 +TIMESTAMP = 1650084662 +SHA256 (google-glog-v0.6.0_GH0.tar.gz) = 8a83bf982f37bb70825df71a9709fa90ea9f4447fb3c099e1d720a439d88bad6 +SIZE (google-glog-v0.6.0_GH0.tar.gz) = 193267 diff --git a/devel/glog/files/patch-cmake_FindUnwind.cmake b/devel/glog/files/patch-cmake_FindUnwind.cmake deleted file mode 100644 index 55c3ac4ee483..000000000000 --- a/devel/glog/files/patch-cmake_FindUnwind.cmake +++ /dev/null @@ -1,12 +0,0 @@ ---- cmake/FindUnwind.cmake.orig 2021-05-28 14:02:50 UTC -+++ cmake/FindUnwind.cmake -@@ -19,7 +19,8 @@ elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR - set (Unwind_ARCH "x86_64") - elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^i.86$") - set (Unwind_ARCH "x86") --elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64") -+elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64" OR -+ CMAKE_SYSTEM_PROCESSOR MATCHES "^powerpc64") - set (Unwind_ARCH "ppc64") - elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc") - set (Unwind_ARCH "ppc32") diff --git a/devel/glog/pkg-plist b/devel/glog/pkg-plist index 037ad2ac8b49..88328a610726 100644 --- a/devel/glog/pkg-plist +++ b/devel/glog/pkg-plist @@ -1,16 +1,17 @@ include/glog/export.h include/glog/log_severity.h include/glog/logging.h +include/glog/platform.h include/glog/raw_logging.h include/glog/stl_logging.h include/glog/vlog_is_on.h lib/cmake/glog/glog-config-version.cmake lib/cmake/glog/glog-config.cmake lib/cmake/glog/glog-modules.cmake lib/cmake/glog/glog-targets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/glog/glog-targets.cmake lib/libglog.so -lib/libglog.so.0 -lib/libglog.so.0.5.0 +lib/libglog.so.1 +lib/libglog.so.%%PORTVERSION%% libdata/pkgconfig/libglog.pc %%DATADIR%%/cmake/FindUnwind.cmake diff --git a/graphics/colmap/Makefile b/graphics/colmap/Makefile index 77e82760f5fe..14c13592dee6 100644 --- a/graphics/colmap/Makefile +++ b/graphics/colmap/Makefile @@ -1,88 +1,88 @@ PORTNAME= colmap DISTVERSION= 3.6 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= Structure from motion and multi-view stereo LICENSE= BSD2CLAUSE BSD3CLAUSE CC-BY-3.0 GPLv3+ MIT SIFTGPU LICENSE_COMB= multi LICENSE_NAME_SIFTGPU= SiftGPU non-commercial license LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/lib/VLFeat/LICENSE LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.txt # also FLANN LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/src/ui/media/LICENSE LICENSE_FILE_GPLv3+ = ${WRKSRC}/lib/PBA/LICENSE # also Graclus, LSD LICENSE_FILE_MIT= ${WRKSRC}/lib/PoissonRecon/LICENSE LICENSE_FILE_SIFTGPU= ${WRKSRC}/lib/SiftGPU/LICENSE LICENSE_PERMS_SIFTGPU= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libglog.so:devel/glog \ libfreeimage.so:graphics/freeimage \ libceres.so:math/ceres-solver USES= cmake compiler:${OPENMP}c++11-lib eigen:3 gl localbase qt:5 \ sqlite USE_GITHUB= yes USE_GL= gl glew USE_QT= qmake_build buildtools_build core gui opengl_build widgets EXCLUDE= SQLite EXTRACT_AFTER_ARGS= ${EXCLUDE:S,^,--exclude lib/,} CMAKE_OFF= BOOST_STATIC CUDA_ENABLED LDFLAGS+= -Wl,--as-needed # gflags, glu, xi, xmu TEST_TARGET= test OPTIONS_DEFINE= CGAL DOCS OPENMP SIMD TEST OPTIONS_DEFAULT= CGAL OPENMP SIMD CGAL_DESC= Graph-cut on Delaunay triangulation based meshing algorithm CGAL_BUILD_DEPENDS= cgal>0:math/cgal CGAL_CMAKE_BOOL= CGAL_ENABLED DOCS_BUILD_DEPENDS= gmake:devel/gmake \ sphinx-build:textproc/py-sphinx \ ${NONEXISTENT}:textproc/py-sphinx_rtd_theme DOCS_PORTDOCS= * OPENMP_CMAKE_BOOL= OPENMP_ENABLED .if !exists(/usr/include/omp.h) # XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet OPENMP_VARS= OPENMP=gcc- .endif SIMD_CMAKE_BOOL= SIMD_ENABLED TEST_CMAKE_BOOL= TESTS_ENABLED post-patch: # XXX math/flann has -DUSE_OPENMP=OFF and lacks tunning: # https://github.com/colmap/colmap/commit/4b594eb85c13 # https://github.com/colmap/colmap/commit/1e9f1f3324cd @${REINPLACE_CMD} -e '/SQLite/d' \ ${WRKSRC}/lib/CMakeLists.txt @${REINPLACE_CMD} -e 's,SQLite/,,' \ ${WRKSRC}/src/base/database.h \ ${WRKSRC}/src/util/sqlite3_utils.h .if !defined(DISPLAY) # QApplication @${REINPLACE_CMD} -e '/feature_matching_test/d' \ -e '/feature_extraction_test/d' \ ${WRKSRC}/src/base/CMakeLists.txt @${REINPLACE_CMD} -e '/opengl_utils_test/d' \ ${WRKSRC}/src/util/CMakeLists.txt .endif post-build-DOCS-on: @${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} html -C${WRKSRC}/doc pre-install-TEST-on: do-test post-install: # XXX Clean up garbage after install(DIRECTORY) @${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete post-install-DOCS-on: (cd ${WRKSRC}/doc/_build/html && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/hiptext/Makefile b/graphics/hiptext/Makefile index 71433b35fa2d..4f02d3165b46 100644 --- a/graphics/hiptext/Makefile +++ b/graphics/hiptext/Makefile @@ -1,44 +1,44 @@ # Created by: Yuri Victorovich PORTNAME= hiptext PORTVERSION= 0.0.s20160621 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Tool for rendering images and videos inside terminals LICENSE= NONE BUILD_DEPENDS= ragel:devel/ragel LIB_DEPENDS= libgflags.so:devel/gflags \ libglog.so:devel/glog \ libpng.so:graphics/png \ libswscale.so:multimedia/ffmpeg \ libfreetype.so:print/freetype2 TEST_DEPENDS= googletest>=1.7.0:devel/googletest RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu USE_GITHUB= yes GH_ACCOUNT= jart GH_TAGNAME= f89b44f USES= compiler:c++11-lib gmake jpeg localbase CPPFLAGS+= -I${LOCALBASE}/include/freetype2 MAKE_ENV= GTEST_DIR="${LOCALBASE}" \ TARGET_ARCH="" TEST_TARGET= check PLIST_FILES= bin/hiptext post-extract: @${RM} -r ${WRKSRC}/gtest post-patch: @${REINPLACE_CMD} -e 's|"DejaVuSansMono.ttf"|"${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf"|' \ ${WRKSRC}/font.cc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hiptext ${STAGEDIR}${PREFIX}/bin .include diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 621a9ec4b41e..ad8d26e9aa0a 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,237 +1,237 @@ PORTNAME= opencv DISTVERSION= 4.5.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MAINTAINER= desktop@FreeBSD.org COMMENT= Open Source Computer Vision library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libharfbuzz.so:print/harfbuzz \ libhdf5.so:science/hdf5 USES= cmake compiler:c++14-lang cpe localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= WeChatCV:wechat GH_PROJECT= opencv_contrib:contrib \ ade:ade \ opencv_3rdparty:extra_mod_3rdparty_boost_descr \ opencv_3rdparty:extra_mod_3rdparty_vgg \ opencv_3rdparty:wechat \ opencv_3rdparty:face \ opencv_3rdparty:ippicv GH_TAGNAME= v0.1.1f:ade \ 34e4206aef44d50e6bbcd0ab06354b52e7466d26:extra_mod_3rdparty_boost_descr \ fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d:extra_mod_3rdparty_vgg \ a8b69ccc738421293254aec5ddb38bd523503252:wechat \ 8afa57abc8229d611c4937165d20e2a2d9fc5a12:face \ a56b6ac6f030c312b2dce17430eef13aed9af274:ippicv CMAKE_ON= OPENCV_GENERATE_PKGCONFIG CMAKE_OFF= OPENCV_GENERATE_SETUPVARS \ BUILD_opencv_python2 \ BUILD_TESTS CMAKE_ARGS= -DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" DATADIR= ${PREFIX}/share/${PORTNAME}4 PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL \ PATENTED PROTOBUF PYTHON TBB TESSERACT OPTIONS_GROUP= GUI IMAGE VIDEO OPTIONS_GROUP_GUI= GTK3 VTK OPTIONS_GROUP_IMAGE= GPHOTO2 JPEG OPENEXR PNG TIFF OPTIONS_GROUP_VIDEO= DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE OPTIONS_SINGLE= BLAS OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS NOBLAS OPTIONS_RADIO= JPEG2K OPTIONS_RADIO_JPEG2K= JASPER OPENJPEG OPTIONS_DEFAULT= EIGEN GDAL GDCM OPENCL PROTOBUF PYTHON \ DC1394 GSTREAMER V4L VULKAN WEBP \ GPHOTO2 JPEG OPENEXR PNG TIFF \ OPENBLAS \ OPENJPEG OPTIONS_SUB= yes # Normal options (EIGEN GDAL GDCM HARDENING JAVA LTO OPENCL PATENTED PROTOBUF PYTHON TBB) EIGEN_DESC= Add Eigen v3 Support, builds sfm modules EIGEN_CMAKE_BOOL= WITH_EIGEN EIGEN_USES= eigen:3 GDAL_DESC= Add Geospatial Data Abstraction Library Support GDAL_CMAKE_BOOL= WITH_GDAL GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal GDCM_DESC= Add Open source DICOM library Support GDCM_CMAKE_BOOL= WITH_GDCM GDCM_LIB_DEPENDS= libgdcmMSFF.so:devel/gdcm HARDENING_DESC= Enables Build Hardening HARDENING_CMAKE_BOOL= ENABLE_BUILD_HARDENING JAVA_DESC= Enable Java Support JAVA_BUILD_DEPENDS= ant:devel/apache-ant JAVA_CMAKE_BOOL= BUILD_opencv_java BUILD_opencv_java_bindings_generator BUILD_JAVA JAVA_MAKE_ENV= JAVACMD=${JAVA} JAVA_USE= JAVA=yes LTO_DESC= Enables Link Time Optimizations LTO_CMAKE_BOOL= ENABLE_THIN_LTO OPENCL_DESC= Add OpenCL Support OPENCL_CMAKE_BOOL= WITH_OPENCL OPENCL_BUILD_DEPENDS= opencl>=0:devel/opencl OPENCL_RUN_DEPENDS= opencl>=0:devel/opencl PATENTED_DESC= Enable patented 2d feature detection USE AT OWN RISK PATENTED_CMAKE_BOOL= OPENCV_ENABLE_NONFREE PROTOBUF_DESC= Enable protobuf support, builds dnn modules PROTOBUF_CMAKE_BOOL= WITH_PROTOBUF PROTOBUF_LIB_DEPENDS= libprotobuf.so:devel/protobuf PYTHON_DESC= Enable Python Support 3.6 or greater PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_USES= python:3.6+ PYTHON_CMAKE_BOOL= BUILD_opencv_python3 PYTHON_CMAKE_ON= -DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} TBB_DESC= Add Intel Threading Building Blocks Support TBB_CMAKE_BOOL= WITH_TBB TBB_LIB_DEPENDS= libtbb.so:devel/tbb TESSERACT_DESC= Add Tesseract-based OCR TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CMAKE_BOOL= WITH_TESSERACT ### # GUI group options (GTK3 VTK) GTK3_USES= gnome GTK3_USE= gnome=gtk30 GTK3_CMAKE_BOOL= WITH_GTK VTK_DESC= Include VTK library support (build opencv_viz module) VTK_CMAKE_BOOL= WITH_VTK VTK_LIB_DEPENDS= libvtkCommonCore-9.1.so:math/vtk9 VTK_USES= qt:5 VTK_USE= QT=buildtools_build,qmake_build ### # IMAGE group options (GPHOTO2 JPEG OPENEXR PNG TIFF) GPHOTO2_DESC= Add Gphoto2 Support GPHOTO2_CMAKE_BOOL= WITH_GPHOTO2 GPHOTO2_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 JPEG_DESC= Add LibJpeg Support JPEG_CMAKE_BOOL= WITH_JPEG JPEG_USES= jpeg OPENEXR_DESC= Add OpenEXR Support OPENEXR_CMAKE_BOOL= WITH_OPENEXR OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr PNG_DESC= Add LibPNG Support PNG_CMAKE_BOOL= WITH_PNG PNG_LIB_DEPENDS= libpng16.so:graphics/png TIFF_DESC= Add LibTIFF Support TIFF_CMAKE_BOOL= WITH_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff ### # VIDEO group options (DC1394 FFMPEG GSTREAMER V4L VULKAN WEBP XINE) DC1394_DESC= IEEE 1394 camera support DC1394_CMAKE_BOOL= WITH_1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 FFMPEG_DESC= Link with ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GSTREAMER_DESC= Add GSTREAMER Support GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER GSTREAMER_USE= GSTREAMER1=yes V4L_DESC= Enable support for Video for Linux V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l VULKAN_DESC= Add Vulkan Support VULKAN_CMAKE_BOOL= WITH_VULKAN VULKAN_CMAKE_ON= -DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers WEBP_DESC= Add Webp Support WEBP_CMAKE_BOOL= WITH_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XINE_DESC= Add Xine Support XINE_CMAKE_BOOL= WITH_XINE XINE_LIB_DEPENDS= libxine.so:multimedia/libxine ### # BLAS group options (ATLAS OPENBLAS NOBLAS) ATLAS_DESC= ATLAS blas implementation with lapacke ATLAS_USES= blaslapack:atlas ATLAS_LIB_DEPENDS= liblapacke.so:math/lapacke OPENBLAS_DESC= OpenBLAS blas implementation with lapacke OPENBLAS_USES= blaslapack:openblas OPENBLAS_LIB_DEPENDS= liblapacke.so:math/lapacke NOBLAS_DESC= Disable support for lapack/blas NOBLAS_CMAKE_BOOL_OFF= WITH_LAPACK ### # JPEG2K group options (JASPER OPENJPEG) JASPER_DESC= Add Jasper Support for JPEG2000 JASPER_CMAKE_BOOL= WITH_JASPER JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_DESC= Add OpenJPEG Support for JPEG2000, OpenCV preferred OPENJPEG_CMAKE_BOOL= WITH_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg ### _IPPICV_i386= ippicv/ippicv_2020_lnx_ia32_20191018_general.tgz _IPPICV_amd64= ippicv/ippicv_2020_lnx_intel64_20191018_general.tgz post-extract: # Handle contrib ${MV} ${WRKSRC_contrib} ${WRKSRC}/contrib # Handle prefetched ade modul ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ade ${MV} ${WRKSRC_ade} ${BUILD_WRKSRC}/3rdparty/ade # Handle prefetched xfeatures2d ${MKDIR} ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_boost_descr}/* ${BUILD_WRKSRC}/downloads/xfeatures2d ${CP} ${WRKSRC_extra_mod_3rdparty_vgg}/* ${BUILD_WRKSRC}/downloads/xfeatures2d # Handle prefetched wechat ${MKDIR} ${BUILD_WRKSRC}/downloads/wechat_qrcode ${CP} ${WRKSRC_wechat}/* ${BUILD_WRKSRC}/downloads/wechat_qrcode/ # Handle Face ${MKDIR} ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face ${CP} ${WRKSRC_face}/* ${BUILD_WRKSRC}/share/opencv4/testdata/cv/face # Handle ippicv .if defined(_IPPICV_${ARCH}) ${MKDIR} ${BUILD_WRKSRC}/3rdparty/ippicv (cd ${BUILD_WRKSRC}/3rdparty/ippicv && ${EXTRACT_CMD} -xf ${WRKSRC_ippicv}/${_IPPICV_${ARCH}}) .endif post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/atlas-base|${LOCALBASE}/lib|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake ${REINPLACE_CMD} -e 's|/usr/include/atlas|${LOCALBASE}/include|g' ${WRKSRC}/cmake/OpenCVFindAtlas.cmake .include diff --git a/math/ceres-solver/Makefile b/math/ceres-solver/Makefile index af23f75a9712..e3c7468eafa6 100644 --- a/math/ceres-solver/Makefile +++ b/math/ceres-solver/Makefile @@ -1,112 +1,112 @@ PORTNAME= ceres-solver DISTVERSION= 2.0.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MAINTAINER= ports@FreeBSD.org COMMENT= Nonlinear least squares minimizer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glog>=0.5.0:devel/glog LIB_DEPENDS= libglog.so:devel/glog RUN_DEPENDS:= ${BUILD_DEPENDS:Meigen*} USES= cmake compiler:${OPENMP}c++11-lib eigen:3 localbase shebangfix USE_GITHUB= yes USE_LDCONFIG= yes SHEBANG_FILES= examples/slam/pose_graph_*/plot_results.py \ scripts/make_docs.py CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_BENCHMARKS LDFLAGS+= -Wl,--as-needed # -lccolamd -lcholmod -lrt from suitesparse PLIST_SUB= VERSION=${DISTVERSION:C/rc.*//} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:S/-solver//} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-solver//} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= CUSTOM_BLAS EXAMPLES DOCS GFLAGS LAPACK OPENMP SCHUR TEST OPTIONS_DEFAULT=CUSTOM_BLAS CXSPARSE OPENBLAS OPENMP SCHUR SUITESPARSE OPTIONS_RADIO= LAPACK THREADS OPTIONS_RADIO_LAPACK= ATLAS GOTOBLAS NETLIB OPENBLAS OPTIONS_GROUP= SPARSE OPTIONS_GROUP_SPARSE= CXSPARSE EIGENSPARSE SUITESPARSE CUSTOM_BLAS_DESC= Handcoded BLAS routines instead of Eigen CUSTOM_BLAS_CMAKE_BOOL= CUSTOM_BLAS DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} DOCS_USES= python:build DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES EXAMPLES_IMPLIES= GFLAGS GFLAGS_DESC= Google Flags support GFLAGS_LIB_DEPENDS= libgflags.so:devel/gflags GFLAGS_CMAKE_BOOL= GFLAGS OPENMP_CMAKE_ON= -DCERES_THREADING_MODEL:STRING="OPENMP" .if !exists(/usr/include/omp.h) # XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet OPENMP_VARS= OPENMP=gcc- .endif SCHUR_DESC= Fixed-size schur specializations SCHUR_CMAKE_BOOL= SCHUR_SPECIALIZATIONS # XXX Unbundle googletest/googlemock TEST_CMAKE_BOOL= BUILD_TESTING TEST_TEST_TARGET= test TEST_IMPLIES= GFLAGS LAPACK_DESC= Linear Algebra PACKage LAPACK_CMAKE_BOOL= LAPACK ATLAS_USES= blaslapack:atlas ATLAS_CMAKE_ON= -DBLA_VENDOR:STRING="ATLAS" \ -DBLAS_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libcblas.so" \ -DLAPACK_LIBRARIES:FILEPATH="${LOCALBASE}/lib/libalapack.so" ATLAS_IMPLIES= LAPACK GOTOBLAS_DESC= Goto blas implementation GOTOBLAS_USES= blaslapack:gotoblas GOTOBLAS_CMAKE_ON= -DBLA_VENDOR:STRING="Goto" GOTOBLAS_IMPLIES= LAPACK NETLIB_USES= blaslapack:netlib NETLIB_CMAKE_ON= -DBLA_VENDOR:STRING="Generic" NETLIB_IMPLIES= LAPACK OPENBLAS_USES= blaslapack:openblas OPENBLAS_CMAKE_ON= -DBLA_VENDOR:STRING="OpenBLAS" OPENBLAS_IMPLIES= LAPACK SPARSE_DESC= Sparse linear algebra library CXSPARSE_DESC= CXSparse support CXSPARSE_LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse CXSPARSE_CMAKE_ON= -DCXSPARSE_INCLUDE_DIR:PATH="${LOCALBASE}/include/suitesparse" CXSPARSE_CMAKE_BOOL= CXSPARSE EIGENSPARSE_DESC= Simplicial Cholesky factorization in Eigen EIGENSPARSE_CMAKE_BOOL= EIGENSPARSE EIGENSPARSE_VARS= LICENSE+=LGPL21+ LICENSE_COMB=multi \ LICENSE_FILE_BSD3CLAUSE="${LICENSE_FILE}" SUITESPARSE_DESC= SuiteSparse support SUITESPARSE_LIB_DEPENDS=libspqr.so:math/suitesparse-spqr \ libcholmod.so:math/suitesparse-cholmod SUITESPARSE_CMAKE_BOOL= SUITESPARSE post-patch-DOCS-on: @${REINPLACE_CMD} -e 's,python,${PYTHON_CMD:T},' \ ${WRKSRC}/docs/source/CMakeLists.txt pre-install-TEST-on: do-test post-install-EXAMPLES-on: # Copy examples (stripped), their source and sample data but not tests programs (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${EXAMPLESDIR}) (cd ${BUILD_WRKSRC} && ${COPYTREE_SHARE} bin ${STAGEDIR}${EXAMPLESDIR}) @${RM} -r ${STAGEDIR}${EXAMPLESDIR}/bin/*_test -@${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/bin/* # may fail for non-root .include diff --git a/math/openturns/Makefile b/math/openturns/Makefile index a8f86943fb6d..ce56e02f2d3d 100644 --- a/math/openturns/Makefile +++ b/math/openturns/Makefile @@ -1,98 +1,98 @@ PORTNAME= openturns DISTVERSIONPREFIX= v DISTVERSION= 1.18 -PORTREVISION= 5 +PORTREVISION= 6 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 eigen:3 gnome jpeg localbase:ldflags pkgconfig sqlite xorg # compiler:c++14-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 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= * 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/or-tools/Makefile b/math/or-tools/Makefile index fbed84bbd39b..d3cd9f9f56de 100644 --- a/math/or-tools/Makefile +++ b/math/or-tools/Makefile @@ -1,58 +1,58 @@ PORTNAME= or-tools DISTVERSIONPREFIX= v DISTVERSION= 9.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Google's Operations Research tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE-2.0.txt PATCH_DEPENDS= gsed:textproc/gsed LIB_DEPENDS= libabsl_base.so:devel/abseil \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libcoinmumps.so:math/coin-or-mumps \ libCoinUtils.so:math/coinutils \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libOsiClp.so:math/clp \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf USES= blaslapack cmake:testing compiler:c++17-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= google USE_LDCONFIG= yes CMAKE_OFF= BUILD_PYTHON BUILD_DEPS INSTALL_BUILD_DEPS BUILD_EXAMPLES BUILD_SAMPLES CMAKE_ON= BUILD_CXX CMAKE_TESTING_ON= BUILD_EXAMPLES BUILD_CXX_EXAMPLES CONFIGURE_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} OPTIONS_DEFINE= FLATZINC SCIP OPTIONS_DEFAULT= FLATZINC #SCIP OPTIONS_SUB= yes FLATZINC_DESC= Build FlatZinc - MiniZinc interface FLATZINC_CMAKE_BOOL= BUILD_FLATZINC SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing restrictions SCIP_CMAKE_BOOL= USE_SCIP SCIP_LIB_DEPENDS= libscip.so:math/SCIP post-patch: # fix for https://github.com/google/or-tools/issues/2526 suggested there @gsed -i '11i \ \ LINKER_LANGUAGE Cxx' \ ${WRKSRC}/ortools/init/CMakeLists.txt post-install: @${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete .include diff --git a/math/py-or-tools/Makefile b/math/py-or-tools/Makefile index c8fc874b198e..f86d5fcb3bcf 100644 --- a/math/py-or-tools/Makefile +++ b/math/py-or-tools/Makefile @@ -1,80 +1,80 @@ PORTNAME= or-tools DISTVERSIONPREFIX= v DISTVERSION= 9.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Google's Operations Research tools (Python binding) LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE-2.0.txt BROKEN_i386= SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32 # see https://github.com/google/or-tools/issues/2130 PY_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}absl-py>0:devel/py-absl-py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ protoc-gen-mypy:devel/py-mypy-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}virtualenv>0:devel/py-virtualenv@${PY_FLAVOR} \ swig:devel/swig LIB_DEPENDS= libabsl_base.so:devel/abseil \ libCbc.so:math/cbc \ libCgl.so:math/cgl \ libcoinasl.so:math/asl \ libcoinmumps.so:math/ipopt \ libCoinUtils.so:math/coinutils \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libOsiClp.so:math/clp \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf RUN_DEPENDS= ${PY_DEPENDS} USES= blaslapack cmake:insource compiler:c++17-lang pkgconfig python:3.6+ USE_PYTHON= flavors USE_GITHUB= yes GH_ACCOUNT= google CMAKE_OFF= BUILD_DEPS INSTALL_BUILD_DEPS BUILD_TESTING BUILD_EXAMPLES CMAKE_ON= BUILD_PYTHON CMAKE_ARGS= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig -DFREEBSD_PYTHON_VER=${PYTHON_VER} CONFIGURE_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} BUILD_ENV= UNIX_CBC_DIR=${LOCALBASE} UNIX_CLP_DIR=${LOCALBASE} OPTIONS_DEFINE= SCIP SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing restrictions SCIP_CMAKE_BOOL= USE_SCIP SCIP_LIB_DEPENDS= libscip.so:math/SCIP post-patch: @${REINPLACE_CMD} -e '/absl::container/s,^,#,' \ ${WRKSRC}/ortools/constraint_solver/CMakeLists.txt \ ${WRKSRC}/ortools/glop/CMakeLists.txt \ ${WRKSRC}/ortools/linear_solver/CMakeLists.txt \ ${WRKSRC}/ortools/sat/CMakeLists.txt do-install: # by default cmake installs the whole or-tools project without the python part, so extract the wheel and install python files manually here ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \ unzip ${BUILD_WRKSRC}/python/dist/ortools-${DISTVERSION}*.whl && \ ${RM} -rf ortools-*.dist-info ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name "*.so" -o -name "*.so.*" | ${XARGS} ${STRIP_CMD} do-test: install .for e in arc_flow_cutting_stock_sat.py bus_driver_scheduling_sat.py cover_rectangle_sat.py cvrptw_plot.py qubo_sat.py # list is from examples/python/CMakeLists.txt @cd ${WRKSRC}/examples/python && \ ${ECHO} "==> Running ${PORTNAME} test ${e} ..." && \ ${PYTHON_CMD} ${e} && \ ${ECHO} "... test ${e} succeeded" .endfor .include diff --git a/misc/glow/Makefile b/misc/glow/Makefile index 4c2c646fef18..d14165bbd726 100644 --- a/misc/glow/Makefile +++ b/misc/glow/Makefile @@ -1,56 +1,56 @@ PORTNAME= glow DISTVERSION= g20200721 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= misc # machine-learning PKGNAMESUFFIX= -nn-compiler MAINTAINER= yuri@FreeBSD.org COMMENT= Machine learning compiler and execution engine LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= non-constant-expression cannot be narrowed from type 'dim_t', see https://github.com/pytorch/glow/issues/4024 BROKEN= does not link: undefined reference to typeinfo for snappy::Source LIB_DEPENDS= libLLVM-${LLVM_VER:R}.so:devel/llvm${LLVM_VER:S/.//} \ libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfolly.so:devel/folly \ libglog.so:devel/glog \ libpng.so:graphics/png \ libprotobuf.so:devel/protobuf \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium USES= cmake compiler:c++14-lang python:build USE_GITHUB= yes GH_ACCOUNT= pytorch GH_TAGNAME= f24d960e3cc80db95ac0bc17b1900dbf60ca044a GH_TUPLE= \ google:benchmark:090faec:googlebenchmark/tests/googlebenchmark \ houseroad:foxi:8015abb:foxi/thirdparty/foxi \ Maratyszcza:FP16:34d4bf0:fp16/thirdparty/fp16 \ onnx:onnx:50dc186:onnx/thirdparty/onnx \ stp:OutputCheck:eab62a5:OutputCheck/tests/OutputCheck CMAKE_ARGS= -DFREEBSD_LLVM_VERSION:STRING=${LLVM_VER} -DGIT_SHA1:STRING="\"${GH_TAGNAME}\"" -DGIT_DATE:STRING="\"${DISTVERSION:S/g//}\"" #CMAKE_ON= BUILD_SHARED_LIBS # this causes build failure: undefined reference to llvm::cfg::Update::dump() const CMAKE_OFF= GLOW_BUILD_EXAMPLES GLOW_BUILD_TESTS BINARY_ALIAS= python=${PYTHON_CMD} BINARY_ALIAS+= c++=${LOCALBASE}/bin/clang++${LLVM_VER:S/.//} # workaround for the llvm version mixup: https://github.com/pytorch/glow/issues/4910 LLVM_VER= ${LLVM_DEFAULT:C/(.)(.)/\1.\2/} post-configure: # not sure what causes -lgflags_shared to appear in build.ninja @${REINPLACE_CMD} -e 's|-lgflags_shared|-L${LOCALBASE}/lib -lgflags|g' ${BUILD_WRKSRC}/build.ninja do-install: # https://github.com/pytorch/glow/issues/3461 cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} cd ${BUILD_WRKSRC} && ${COPYTREE_SHARE} glow ${STAGEDIR}${PREFIX}/include cd ${WRKSRC}/thirdparty/foxi/foxi && ${MKDIR} ${STAGEDIR}${PREFIX}/include/foxi && (for f in `${LS} *.h`; do ${INSTALL_DATA} $$f ${STAGEDIR}${PREFIX}/include/foxi; done;) (for lib in `${FIND} ${BUILD_WRKSRC} -name "*.a"`; do ${INSTALL_DATA} $$lib ${STAGEDIR}${PREFIX}/lib/; done;) .include diff --git a/misc/openmvg/Makefile b/misc/openmvg/Makefile index 0474a735553e..71ae00c1712e 100644 --- a/misc/openmvg/Makefile +++ b/misc/openmvg/Makefile @@ -1,95 +1,95 @@ PORTNAME= openmvg DISTVERSIONPREFIX= v DISTVERSION= 2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc science MAINTAINER= yuri@FreeBSD.org COMMENT= Multiple View Geometry (MVG) library LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/../LICENSE ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= need to figure out which TARGET_ARCHITECTURE values correspond to other architectures, plus "generic" is broken #HPP_DEPENDS= cereal>0:devel/cereal # external cereal is currently broken, see https://github.com/openMVG/openMVG/issues/1963 #BUILD_DEPENDS= ${HPP_DEPENDS} LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libblas.so:math/blas \ libcamd.so:math/suitesparse-camd \ libCbc.so:math/cbc \ libccolamd.so:math/suitesparse-ccolamd \ libceres.so:math/ceres-solver \ libCgl.so:math/cgl \ libcholmod.so:math/suitesparse-cholmod \ libClp.so:math/clp \ libcoinasl.so:math/asl \ libCoinUtils.so:math/coinutils \ libcolamd.so:math/suitesparse-colamd \ libcoinmumps.so:math/ipopt \ libcxsparse.so:math/suitesparse-cxsparse \ libemon.so:math/lemon \ libflann_cpp.so:math/flann \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libjbig.so:graphics/jbigkit \ libmetis.so:math/metis \ libnauty.so:math/nauty \ libopenblas.so:math/openblas \ libOsi.so:math/osi \ libpng.so:graphics/png \ libspqr.so:math/suitesparse-spqr \ libsuitesparseconfig.so:math/suitesparse-config \ libtiff.so:graphics/tiff \ libunwind.so:devel/libunwind LIB_DEPENDS+= liblz4.so:archivers/liblz4 # workaround for https://github.com/openMVG/openMVG/issues/1798 #RUN_DEPENDS= ${HPP_DEPENDS} USES= cmake compiler:c++11-lang eigen:3 jpeg qt:5 USE_GITHUB= yes GH_ACCOUNT= openMVG GH_PROJECT= openMVG GH_TUPLE= openMVG-thirdparty:cereal:ac168fe:cereal/dependencies/cereal WRKSRC_SUBDIR= src USE_QT= core gui opengl svg widgets buildtools_build qmake_build USE_LDCONFIG= yes CMAKE_ARGS= -DEIGEN_INCLUDE_DIR_HINTS=${LOCALBASE}/include/eigen3 \ -DFLANN_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DLEMON_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DOSI_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DCOINUTILS_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DCLP_INCLUDE_DIR_HINTS=${LOCALBASE}/include \ -DCERES_DIR_HINTS=${LOCALBASE}/include CMAKE_ON= OpenMVG_BUILD_SHARED CMAKE_OFF= OpenMVG_BUILD_TESTS OpenMVG_BUILD_EXAMPLES CXXFLAGS+= -fPIC \ -I${LOCALBASE}/include # because flann is looked for in a wrong directiory: https://github.com/openMVG/openMVG/issues/1284 LDFLAGS+= -L${LOCALBASE}/lib -llz4 # workaround for https://github.com/openMVG/openMVG/issues/1798 OPTIONS_SINGLE= SIMD_${ARCH:tu} OPTIONS_SINGLE_SIMD_AMD64= K8 CORE MEROM NEHALEM OPTIONS_SINGLE_SIMD_I386= ${OPTIONS_SINGLE_SIMD_AMD64} OPTIONS_DEFAULT_amd64= K8 OPTIONS_DEFAULT_i386= K8 SIMD_AMD64_DESC= Use SSE SIMD optimizations for SIMD_I386_DESC= ${SIMD_AMD64_DESC} K8_DESC= K8 architecture (SSE2) CORE_DESC= Core architecture (up to SSE3) MEROM_DESC= Merom architecture (up to SSSE3) NEHALEM_DESC= Nehalem architecture (up to SSE4.2) K8_CMAKE_ON= -DTARGET_ARCHITECTURE=k8 CORE_CMAKE_ON= -DTARGET_ARCHITECTURE=core MEROM_CMAKE_ON= -DTARGET_ARCHITECTURE=merom NEHALEM_CMAKE_ON= -DTARGET_ARCHITECTURE=nehalem post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include/openMVG_dependencies/osi_clp .include diff --git a/net/eternalterminal/Makefile b/net/eternalterminal/Makefile index bf10c62fd3c5..c5273b648eb4 100644 --- a/net/eternalterminal/Makefile +++ b/net/eternalterminal/Makefile @@ -1,40 +1,40 @@ PORTNAME= eternalterminal DISTVERSIONPREFIX= et-v DISTVERSION= 6.1.11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MAINTAINER= willtisdale@gmail.com COMMENT= Remote shell that reconnects without interrupting session LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind USES= cmake compiler:c++11-lang ncurses USE_GITHUB= yes GH_ACCOUNT= MisterTea GH_PROJECT= EternalTerminal CMAKE_ON= DISABLE_VCPKG MAKE_JOBS_UNSAFE= yes # temporarily set due to weird races resulting in build failures CONFLICTS_INSTALL= linux-enemyterritory # bin/et post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/rc.d/etserver post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/etserver ${INSTALL_DATA} ${WRKSRC}/etc/et.cfg \ ${STAGEDIR}${PREFIX}/etc/etserver/et.cfg.sample ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/etserver \ ${STAGEDIR}${PREFIX}/etc/rc.d .include diff --git a/net/fb303/Makefile b/net/fb303/Makefile index 34ccc3056ef6..d8ea80342cca 100644 --- a/net/fb303/Makefile +++ b/net/fb303/Makefile @@ -1,43 +1,43 @@ PORTNAME= fb303 DISTVERSION= g20210709 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Base Thrift service and a common set of functionality LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfizz.so:security/fizz \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libthriftcpp2.so:devel/fbthrift \ libunwind.so:devel/libunwind \ libwangle.so:net/wangle \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang ssl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= facebook GH_TAGNAME= 83ae662219660d30b49ad8474f5c63bbfc6d5f6f CXXFLAGS+= -fPIC CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= PYTHON_EXTENSIONS post-install: @${RMDIR} ${STAGEDIR}${PREFIX}/include/fb303/test .include diff --git a/net/fbzmq/Makefile b/net/fbzmq/Makefile index 95e976795f3f..e098ea6b1a3f 100644 --- a/net/fbzmq/Makefile +++ b/net/fbzmq/Makefile @@ -1,40 +1,41 @@ PORTNAME= fbzmq DISTVERSIONPREFIX= v DISTVERSION= 2022.03.28.00 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for writing services in C++ while leveraging libzmq LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= libepoll-shim>0:devel/libepoll-shim LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfizz.so:security/fizz \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libthriftcpp2.so:devel/fbthrift \ libunwind.so:devel/libunwind \ libwangle.so:net/wangle \ libzmq.so:net/libzmq4 \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang ssl USE_GITHUB= yes GH_ACCOUNT= facebook USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTS CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim -fPIC .include diff --git a/net/mvfst/Makefile b/net/mvfst/Makefile index 5faccfed982f..4b6df0199a13 100644 --- a/net/mvfst/Makefile +++ b/net/mvfst/Makefile @@ -1,47 +1,47 @@ PORTNAME= mvfst DISTVERSION= g20220328 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Implementation of the QUIC transport protocol LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfizz.so:security/fizz \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicui18n.so:devel/icu \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang cpe USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= facebookincubator GH_TAGNAME= 31cadb557c903355e1ea04261f52e89098a68f99 CPE_VENDOR= facebook CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTS CXXFLAGS+= -fPIC do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_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/net/rsocket-cpp/Makefile b/net/rsocket-cpp/Makefile index 9bfbe9ebdaa2..283097f3ed1c 100644 --- a/net/rsocket-cpp/Makefile +++ b/net/rsocket-cpp/Makefile @@ -1,40 +1,41 @@ PORTNAME= rsocket-cpp DISTVERSIONPREFIX= v DISTVERSION= 2021.08.30.00 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= C++ implementation of RSocket LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN= build fails with latest devel/folly, no upstream support provided: https://github.com/rsocket/rsocket-cpp/issues/906 BUILD_DEPENDS= libfmt>0:devel/libfmt LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind \ libzstd.so:archivers/zstd USES= cmake compiler:c++14-lang ssl USE_GITHUB= yes GH_ACCOUNT= rsocket USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_BENCHMARKS BUILD_EXAMPLES BUILD_TESTS BUILD_EXAMPLES PORTSCOUT= limit:^[0-9\.]*$$ post-install: # https://github.com/rsocket/rsocket-cpp/issues/890 @cd ${STAGEDIR}${LOCALBASE} && ${RM} -r include/rsocket/examples include/rsocket/test include/yarpl/cmake include/yarpl/perf include/yarpl/test .include diff --git a/net/wangle/Makefile b/net/wangle/Makefile index e6d57292cb51..3713510cb7ca 100644 --- a/net/wangle/Makefile +++ b/net/wangle/Makefile @@ -1,46 +1,46 @@ PORTNAME= wangle DISTVERSIONPREFIX= v DISTVERSION= 2022.03.28.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for building services in a consistent/modular/composable way LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfizz.so:security/fizz \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicui18n.so:devel/icu \ liblz4.so:archivers/liblz4 \ libunwind.so:devel/libunwind \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang cpe ssl USE_GITHUB= yes GH_ACCOUNT= facebook USE_LDCONFIG= yes CPE_VENDOR= facebook WRKSRC_SUBDIR= ${PORTNAME} CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTS post-install: # https://github.com/facebook/wangle/issues/179 cd ${STAGEDIR}${PREFIX} && \ ${RMDIR} \ include/wangle/service/test \ include/wangle/ssl/test/certs \ include/wangle/util/test .include diff --git a/security/fizz/Makefile b/security/fizz/Makefile index 885e1bfa3a92..4a296a2ddd7b 100644 --- a/security/fizz/Makefile +++ b/security/fizz/Makefile @@ -1,41 +1,41 @@ PORTNAME= fizz DISTVERSIONPREFIX= v DISTVERSION= 2022.03.28.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= yuri@FreeBSD.org COMMENT= C++14 implementation of the TLS-1.3 standard LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicui18n.so:devel/icu \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind \ libzstd.so:archivers/zstd USES= cmake compiler:c++14-lang ssl cpe CPE_VENDOR= facebook USE_GITHUB= yes GH_ACCOUNT= facebookincubator USE_LDCONFIG= yes WRKSRC_SUBDIR= ${PORTNAME} CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_TESTS BUILD_EXAMPLES post-install: # https://github.com/facebookincubator/fizz/issues/55 cd ${STAGEDIR}${PREFIX} && ${RMDIR} include/fizz/tool/test include/fizz/util/test .include diff --git a/sysutils/apache-mesos/Makefile b/sysutils/apache-mesos/Makefile index 447f0d108d3c..f40649f78923 100644 --- a/sysutils/apache-mesos/Makefile +++ b/sysutils/apache-mesos/Makefile @@ -1,107 +1,107 @@ PORTNAME= mesos PORTVERSION= 1.11.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils MASTER_SITES= APACHE/mesos/${PORTVERSION}:mesos PKGNAMEPREFIX= apache- DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:mesos DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME} MAINTAINER= james.wright@digital-chaos.com COMMENT= Cluster manager providing resource isolation and sharing LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ elfio>0:devel/elfio \ http-parser>0:www/http-parser \ leveldb>0:databases/leveldb \ picojson>0:devel/picojson \ protobuf>0:devel/protobuf \ rapidjson>0:devel/rapidjson \ libzookeeper>0:devel/libzookeeper LIB_DEPENDS= libapr-1.so:devel/apr1 \ libcurl.so:ftp/curl \ libgpr.so:devel/grpc \ libglog.so:devel/glog \ libhttp_parser.so:www/http-parser \ libev.so:devel/libev \ libleveldb.so:databases/leveldb \ libprotobuf.so:devel/protobuf \ libsasl2.so:security/cyrus-sasl2 \ libsvn_delta-1.so:devel/subversion \ libsvn_subr-1.so:devel/subversion \ libzookeeper_mt.so:devel/libzookeeper USES= cpe gmake libarchive libtool python:run shebangfix CPE_VENDOR= apache USE_LDCONFIG= yes SHEBANG_FILES= src/cli/mesos-cat \ src/cli/mesos-ps \ src/cli/mesos-scp \ src/cli/mesos-tail GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-java \ --disable-python \ --disable-werror \ --with-apr=${LOCALBASE} \ --with-boost=${LOCALBASE} \ --with-elfio=${LOCALBASE} \ --with-glog=${LOCALBASE} \ --with-grpc=${LOCALBASE} \ --with-http_parser=${LOCALBASE} \ --with-leveldb=${LOCALBASE} \ --with-libarchive=${LOCALBASE} \ --with-libev=${LOCALBASE} \ --with-protobuf=${LOCALBASE} \ --with-picojson=${LOCALBASE} \ --with-rapidjson=${LOCALBASE} \ --with-sasl=${LOCALBASE} \ --with-svn=${LOCALBASE} \ --with-zookeeper=${LOCALBASE} INSTALL_TARGET= install-strip OPTIONS_DEFINE= DEPLOY JAVA OPTIONS_SUB= yes DEPLOY_DESC= Install deploy scripts JAVA_DESC= Enable Java bindings JAVA_CONFIGURE_ENABLE= java JAVA_USE= java=yes JAVA_BUILD_DEPENDS= mvn:devel/maven JAVA_FETCH_DEPENDS= mvn:devel/maven JAVA_CONFIGURE_ENV= PROTOBUF_JAR="${MAVEN_REPO}/com/google/protobuf/protobuf-java/${PROTOBUF_VERSION}/protobuf-java-${PROTOBUF_VERSION}.jar" JAVA_MAKE_ENV= MAVEN_OPTS="${MAVEN_OPTS}" JAVA_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_java_mesos.pom.in # REVIEW: Can we figure out the current Protobuf version in ports instead of hardcoding??? PROTOBUF_VERSION= 3.14.0 MAVEN_CMD= mvn MAVEN_REPO= ${WRKDIR}/mesos-maven-deps-${PORTVERSION} MAVEN_OPTS= -Dmaven.repo.local=${MAVEN_REPO} MAVEN_ENV= PROTOBUF_VERSION="${PROTOBUF_VERSION}" MAVEN_OPTS="${MAVEN_OPTS}" MAVEN_POM= ${FILESDIR}/maven-deps.pom DEV_BUILD_MODE= no .if (${DEV_BUILD_MODE} == "yes") # Fetch Maven build dependencies upfront into local Maven Repo # Needs to be after extract (as WRKDIR gets wiped) but before Configure post-extract-JAVA-on: @${SETENV} ${MAVEN_ENV} \ ${MAVEN_CMD} -f ${MAVEN_POM} dependency:go-offline .else MASTER_SITES+= https://github.com/Digital-Chaos/mesos-maven-deps/archive/${DISTVERSION}/:maven DISTFILES+= mesos-maven-deps-${DISTVERSION}${EXTRACT_SUFX}:maven .endif # Replace Protobuf version in src/java/mesos.pom.in do-patch-JAVA-on: @${REINPLACE_CMD} -e 's|@PROTOBUF_VERSION@|${PROTOBUF_VERSION}|g' ${WRKSRC}/src/java/mesos.pom.in .include diff --git a/www/proxygen/Makefile b/www/proxygen/Makefile index 4e5a1e404fe9..085972c6f03b 100644 --- a/www/proxygen/Makefile +++ b/www/proxygen/Makefile @@ -1,45 +1,45 @@ PORTNAME= proxygen DISTVERSIONPREFIX= v DISTVERSION= 2022.03.28.00 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of C++ HTTP libraries including easy way to use HTTP server LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash:shells/bash \ ${LOCALBASE}/lib/libmvfst_server.a:net/mvfst \ gperf>0:devel/gperf LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfizz.so:security/fizz \ libfmt.so:devel/libfmt \ libfolly.so:devel/folly \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicui18n.so:devel/icu \ liblz4.so:archivers/liblz4 \ libsnappy.so:archivers/snappy \ libsodium.so:security/libsodium \ libunwind.so:devel/libunwind \ libwangle.so:net/wangle \ libzstd.so:archivers/zstd USES= cmake compiler:c++14-lang cpe perl5 python:3.6+,build ssl CPE_VENDOR= facebook USE_GITHUB= yes GH_ACCOUNT= facebook USE_LDCONFIG= yes CXXFLAGS+= -fPIC LDFLAGS+= -lexecinfo CMAKE_ON= BUILD_SHARED_LIBS BINARY_ALIAS= python3=${PYTHON_CMD} .include