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

PortSystem 1.0
PortGroup python24 1.0

name			py-log4py
version			1.3
revision		1
categories		python devel
maintainers		nomaintainer
platforms		darwin freebsd
description		log4py is a python logging module similar to log4j.
long_description	log4py is a python logging module similar to log4j. It \
				supports logging to files (including logfile rotation) or to \
				stdout/stderr, variable log-levels, configurable output \
				formats and configuration via configuration files.

homepage		http://www.its4you.at/english/log4py.html
master_sites	sourceforge:log4py
distname		log4py-${version}
checksums		md5 dc250a8a899c7e70464d683dfc3bdc4f

post-destroot	{
	xinstall -m 644 -W ${worksrcpath}/doc AUTHORS COPYING ChangeLog \
		LICENSE ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath}/doc/html footer.template \
		header.template index.html indices.html \
		log4py.FileAppender.html log4py.Logger.html log4py.css \
		log4py.html ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} readme.txt database/mysql.readme \
		database/mysql.sql ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} log4py-test.py log4py-classtest.py \
		log4py.conf ${destroot}${prefix}/share/doc/${name}/examples
}
