# $Id: Portfile 49428 2009-04-09 16:27:48Z devans@macports.org $ PortSystem 1.0 name totem-pl-parser version 2.24.4 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome maintainers nomaintainer description Gnome Playlist parser long_description \ totem-pl-parser is a simple GObject-based library to parse \ a host of playlist formats, as well as save those homepage http://live.gnome.org/Totem platforms darwin master_sites gnome:sources/${name}/${branch}/ checksums md5 cff146663fe307a7d929e08ab0e4b3ca \ sha1 7c6650fc9ee2190270e80a00a9afe77629c07700 \ rmd160 af92fc1ccd8b51e16eea4d3b33d3dbace7859fc8 distname totem-pl-parser-${version} use_bzip2 yes depends_build port:pkgconfig \ port:autoconf \ port:automake \ port:libtool depends_lib port:gnome-vfs \ port:evolution-data-server post-patch { # http://bugzilla.gnome.org/show_bug.cgi?id=578358 reinplace "s:libtotem_glibc_la_SOURCES =:libtotem_glibc_la_SOURCES = stub.c:" ${worksrcpath}/lib/Makefile.am copy ${filespath}/stub.c ${worksrcpath}/lib/stub.c } use_autoreconf yes autoreconf.args -fvi livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}