# -*- 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          gdk3 4.2.4 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         nomaintainer
description         Ruby/GDK3 is a Ruby binding of GDK-3.x
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  a0ba9e9a126f1d98caae528490f7ad98498e336e \
                    sha256  0666ca56fac9e4387c37093e094f12d0331477a4ced016595c772ceb6c726f46 \
                    size    35840

if {${name} ne ${subport}} {
    depends_lib-append \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3

    depends_run-append \
                    port:rb${ruby.suffix}-cairo-gobject \
                    port:rb${ruby.suffix}-gdk_pixbuf2 \
                    port:rb${ruby.suffix}-pango
}
