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

name                rb-protobuf
ruby.branches       3.3 3.2 3.1
ruby.setup          google-protobuf 4.26.1 gem {} rubygems
categories-append   devel
license             BSD
maintainers         nomaintainer
description         Protocol Buffers for Ruby
long_description    {*}${description}
homepage            https://rubygems.org/gems/google-protobuf
checksums           rmd160  8326f7f0050154bf8a998ebea38976d786939345 \
                    sha256  52059a231bd6521728f5e278b64f1dea9d9ffecccbde7d53ef719721bb074493 \
                    size    260608

if {${name} ne ${subport}} {
    depends_run-append \
                    port:protobuf-c
}
