# -*- 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 116037 2014-01-16 20:30:46Z devans@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         Cairo 1.104
license             LGPL-2.1+
maintainers         nomaintainer
description         Perl bindings to the cairo 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.

platforms           darwin

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

checksums           rmd160  1128d4418d43b3011e63152384132149dcb5409a \
                    sha256  bb0a966ff08c1c5a3d78e6699316f188842d6d029e9ac5fc9364bba3cd4e2762

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