# -*- 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
# $Id: Portfile 91483 2012-04-02 23:50:48Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Gtk2 1.242
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.

homepage            http://gtk2-perl.sourceforge.net/
master_sites        sourceforge:project/gtk2-perl/Gtk2/${perl5.moduleversion}

checksums           rmd160  4f5ec154fe0e397acd33cc7ac709ed55a1758ec2 \
                    sha256  8c3ebd2d0bce82f421166fe2c2345b048214f6a83791a0e5cdd90eac0d756281

if {${perl5.major} != ""} {
    depends_lib-append \
                    port: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
}
