# $Id: Portfile 40334 2008-09-29 17:31:45Z macsforever2000@macports.org $ PortSystem 1.0 name libgnomecanvas version 2.20.1.1 set branch [join [lrange [split ${version} .] 0 1] .] revision 1 description A graphics library for GNOME. long_description The GNOMECanvas library provides a number \ of features: \ Image loading facilities. Rendering of a \ GdkPixBuf into various formats: drawables \ (windows, pixmaps), GdkRGB buffers. \ A cache interface. maintainers nomaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ checksums md5 948ed771d2957d24a0c9a414e9581055 \ sha1 302a4762b658244828ad1c9f291ffb972b8274c9 \ rmd160 fe5333c31f385313b2e90deb9710275d61bbc15b depends_build port:pkgconfig \ port:perl5.8 \ port:p5-xml-parser \ port:intltool depends_lib \ path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \ port:gtk2 \ path:${prefix}/lib/pkgconfig/pango.pc:pango \ port:gettext \ port:libiconv \ port:libart_lgpl \ port:libglade2 use_bzip2 yes configure.cppflags-append "-L${prefix}/lib" test.run yes test.target check pre-test { set libdirs {} fs-traverse {dir} ${worksrcpath} { if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} { lappend libdirs ${dir} continue } } test.env DYLD_LIBRARY_PATH=[join ${libdirs} :] } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}