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

ruby.branches       3.3 3.2 3.1
ruby.setup          gtksourceview5 4.3.2 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         nomaintainer
description         Ruby/GtkSourceView4 is a Ruby binding of gtksourceview-5.x
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  45a2d714ccb61e09b400218ea0ba64b8a1fa17ef \
                    sha256  d26183166785e4cc95a961eb2f5e1faa2465d97521b691e5a6f6715609941d22 \
                    size    16384

if {${subport} ne ${name}} {
    depends_lib-append \
                    port:gtksourceview5

    depends_run-append \
                    port:rb${ruby.suffix}-gtk4
}
