# $Id: Portfile 86277 2011-10-24 09:46:34Z ryandesign@macports.org $

PortSystem			1.0
PortGroup			perl5 1.0

perl5.setup			Cairo 1.081
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  ccbd89212e5b59ab6ccca9c0ceb901b5c43d4d37 \
                    sha256  2ef23a32ecd16c0b4b383accd2452ec324c54fa3498d870e083523ef60871582

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
}
