# -*- 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          pango 4.3.2 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Ruby/Pango is a Ruby binding of pango-1.x \
                    based on GObject-Introspection
long_description    {*}${description}
homepage            https://ruby-gnome2.osdn.jp
checksums           rmd160  65c3f6499969d445ed2b13ba0f894ead5b748ffb \
                    sha256  17f729096fe9438f3c5b9e9c477706da9808695d9f6ef8e468845510d45df6db \
                    size    25088

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

    depends_lib-append \
                    path:lib/pkgconfig/pango.pc:pango

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