# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $ PortSystem 1.0 name libcroco version 0.6.1 set branch [join [lrange [split ${version} .] 0 1] .] revision 1 categories gnome platforms darwin maintainers nomaintainer description A CSS parsing and manipulation toolkit for GNOME long_description \ A generic Cascading Style Sheet (CSS) parsing and manipulation \ toolkit for GNOME applications that need CSS support. homepage http://www.freespiders.org/projects/libcroco/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 b0975bd01eb11964f1b3f254f267a43d \ sha1 fdb1d0ab7082836c570f98b1846e4ddcc0b37607 \ rmd160 ed823fa815f8fcb6a87b1637db6df2561e92425d depends_lib port:gettext \ path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \ port:libiconv \ port:libxml2 \ port:zlib configure.args --mandir=${prefix}/share/man configure.cppflags-append -L${prefix}/lib test.run yes test.env DYLD_LIBRARY_PATH=${worksrcpath}/src/.libs post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS AUTHORS COPYING COPYING.LIB ChangeLog \ NEWS README TODO ${destroot}${docdir} } livecheck.check regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}