# -*- 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           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Gtk2 1.24993
platforms           darwin
maintainers         nomaintainer
license             LGPL-2.1+

description         Bindings to Gtk+ library

long_description    Perl bindings to the 2.x series of the Gtk+ graphical user \
                    interface library. This module allows you to write \
                    graphical user interfaces in a perlish and object-oriented \
                    way, freeing you from the casting and memory management in \
                    C, yet remaining very close in spirit to original API.

checksums           rmd160  7319bf69885aa40c4c3f5288ab7735d099b3994d \
                    sha256  49c443743b2eefe11a768002724f7f6a4c48efc94ff3cd3a559fb7e7b693c967 \
                    size    766708

if {${perl5.major} != ""} {
    depends_lib-append \
                    path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
                    port:p${perl5.major}-extutils-depends \
                    port:p${perl5.major}-extutils-pkgconfig \
                    port:p${perl5.major}-glib \
                    port:p${perl5.major}-cairo \
                    port:p${perl5.major}-pango
}
