# $Id: Portfile,v 1.5 2004/12/28 11:26:42 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-tarfile
version			0.7.5
categories		python
platforms		darwin freebsd
maintainers		mww@opendarwin.org
description		implementation of the tar format as modules for Python
long_description	tarfile is a comprehensive implementation of the tar \
				archive format as a module for the Python Language. It \
				enables read/write access to common tar archives \
				including support for gzip/bzip2 compressed archives. \
				Python 2.4 includes tarfile as part of the Standard \
				Library.

homepage		http://www.gustaebel.de/lars/tarfile/
master_sites	${homepage}
distname		tarfile-${version}
checksums		md5 56b67b2706e27898b2e7434356139701

test.run		yes
test.cmd		${python.bin} test_tarfile.py
test.target

post-destroot	{
	xinstall -m 644 -W ${worksrcpath}/doc lib.css module-tarfile.html \
		tar-examples.html tarfile-objects.html tarinfo-objects.html \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} HISTORY README README.python-2.x \
		TODO ${destroot}${prefix}/share/doc/${name}
}
