# -*- 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

conflicts           protobuf3-cpp protobuf-cpp

# Updates require rev-bump to dependents
github.setup        protocolbuffers protobuf 33.5 v
revision            0
categories          devel
license             BSD
maintainers         nomaintainer

description         protocol buffers

long_description    Protocol Buffers (a.k.a., protobuf) are Google's \
                    language-neutral, platform-neutral, extensible mechanism \
                    for serializing structured data.

homepage            https://protobuf.dev

checksums           rmd160  43779cb37ed371e9c18c0620290b01b61ea97e68 \
                    sha256  c6c7c27fadc19d40ab2eaa23ff35debfe01f6494a8345559b9bb285ce4144dd1 \
                    size    6888461

depends_lib         port:abseil \
                    port:zlib

compiler.cxx_standard   2017

configure.args      -DCMAKE_CXX_STANDARD=17 \
                    -Dprotobuf_BUILD_SHARED_LIBS=ON \
                    -Dprotobuf_BUILD_TESTS=OFF

github.livecheck.regex  {([0-9.]+)}
