# -*- 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          gtk3 4.2.4 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Ruby/GTK3 is a Ruby binding of GTK+-3.x
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  b1ba2fcbb821dbe44545e18043853298a710c1bb \
                    sha256  2a81ccb60635162f17e58fdb1438e1129c04ce7358b1b269cbdeaad7393c7ddf \
                    size    866816

if {${name} ne ${subport}} {
    depends_build-append \
                    path:bin/pkg-config:pkgconfig

    depends_lib-append \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3

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