# -*- 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          gobject-introspection 4.3.2 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Ruby/GObjectIntrospection provides bindings \
                    of GObject Introspection
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  eea49ddfbcec08e7d01d1692020644cb8a628385 \
                    sha256  45f1444d3eadbfb5e615eca96ff659dc59b8143bd1b30bb0fb566aeb3e9c82cf \
                    size    75264

if {${subport} ne ${name}} {
    depends_build-append \
                    port:gettext

    depends_lib-append \
                    port:gettext-runtime \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection

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