# $Id: Portfile 72257 2010-10-09 08:41:01Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-xmldiff
version			0.6.8
categories		python textproc
platforms		darwin
maintainers		nomaintainer
description		diff for xml files as command line tool and python module
long_description	xmldiff is a python tool that figures out the \
				differences between two similar XML files, in the same \
				way the diff utility does it for text files. It can \
				be used as a library or as a command line tool. It can \
				work either with XML files or DOM trees

homepage		http://www.logilab.org/projects/xmldiff/
master_sites	http://ftp.logilab.org/pub/xmldiff/
distname		xmldiff-${version}
checksums		md5 bc1e184e45ce7f9c6beedda76fbeaa16 \
				sha1 eed3a15496df1e892c0363273da67f0532a716a7 \
				rmd160 0ce0e87293f4adc1d801e1bd8f40c32939d6f884

depends_lib-append	port:py-xml

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} ChangeLog README README.xmlrev TODO \
		doc/API.html doc/API.txt doc/HELP.html doc/HELP.txt \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.type	regex
livecheck.url	[lindex ${master_sites} 0]
livecheck.regex	xmldiff-(\[0-9.\]+)${extract.suffix}
