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

PortSystem 1.0
PortGroup python24 1.0

name			py-ansistyle
version			0.4
revision		2
categories		python
platforms		darwin freebsd
maintainers		nomaintainer
description		Python module adding ANSI color capability to the output stream
long_description	ANSIStyle is a module that adds ANSI color capability \
				to an output stream. This is done by wrapping an \
				output stream in a Stream object.

homepage		http://www.livinglogic.de/Python/ansistyle/
master_sites	http://ftp.livinglogic.de/ansistyle/
distname		ll-ansistyle-${version}
checksums		md5 b6779a12cdc05786e66729531b0be0d3
use_bzip2		yes

depends_lib-append	port:py-url

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README \
		${destroot}${prefix}/share/doc/${name}
	file delete \
		${destroot}${prefix}/lib/python2.4/site-packages/ll/__init__.py \
		${destroot}${prefix}/lib/python2.4/site-packages/ll/__init__.pyc
}
