# $Id: Portfile,v 1.6 2005/04/21 15:58:16 jberry Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-xmldiff
version			0.6.6
revision		1
categories		python textproc
platforms		darwin
maintainers		mww@opendarwin.org
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	ftp://ftp.logilab.org/pub/xmldiff/
distname		xmldiff-${version}
checksums		md5 d640c12e9a9467873b7caaf1379d3fe8

# dep. on py-logilab-common is _only_ because of duplicate logilab/__init__.py
depends_lib-append	port:py-xml \
				port:py-logilab-common

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}
	file delete ${destroot}${python.pkgd}/logilab/__init__.py
}
