# -*- 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.2.4 gem {} rubygems
categories-append   gnome devel
license             LGPL-2.1+
maintainers         {@barracuda156 gmail.com:vital.had} 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  5d5b2f289edb554a581b9df0b09d51b3d2af5d54 \
                    sha256  a9810643adb196110e52f7a641a7c96eea2de74dac2cfef35f80b977c8eb61ab \
                    size    25088

if {${name} ne ${subport}} {
    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
}
