# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-xmltramp
version			2.16
revision		1
categories		python
platforms		darwin
maintainers		nomaintainer
description		easy-to-use python API for XML documents
long_description	${description}

homepage		http://www.aaronsw.com/2002/xmltramp/
master_sites	${homepage}
distfiles		xmltramp-${version}.py
checksums		md5 1492bd99a119a24d58da5d2849d1e31b

depends_run		port:py-xml

extract	{
	file mkdir ${worksrcpath}
	file copy ${distpath}/${distfiles} ${worksrcpath}/xmltramp.py
	file copy ${filespath}/setup.py ${worksrcpath}
	reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
}
