# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.1 PortGroup legacysupport 1.1 # Needed for clock_gettime, std::filesystem legacysupport.newest_darwin_requires_legacy 19 legacysupport.use_mp_libcxx yes github.setup rizsotto Bear 3.1.3 revision 4 checksums rmd160 909b90269b3528c4960a634c47b76a534e389a87 \ sha256 389a5251a835cd156fad4f4e598d0bf8c66783a0d5835eba7f113ab5f26637f5 \ size 127777 maintainers {cal @neverpanic} openmaintainer license GPL-3+ platforms darwin categories devel description \ Bear is a tool to generate compilation database for clang tooling. long_description {*}${description} \ The JSON compilation database is used in clang project to provide \ information how a single compilation unit was processed. When that is \ available then it is easy to re-run the compilation with different \ programs. patchfiles patch-spdlog-header-only.diff set port_libfmt libfmt9 cmake.module_path-append \ ${prefix}/lib/${port_libfmt}/cmake # Cxx 2017 needed, as of latest 3.1.x releases compiler.cxx_standard 2017 depends_build-append \ port:pkgconfig \ port:spdlog \ port:nlohmann-json \ depends_lib-append port:abseil \ port:grpc \ port:${port_libfmt} \ port:protobuf3-cpp \ port:re2 configure.args-append \ -DENABLE_UNIT_TESTS=Off \ -DENABLE_FUNC_TESTS=Off