# $Id: Portfile,v 1.9 2004/12/31 14:16:09 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-log4py
version			1.3
revision		1
categories		python devel
maintainers		mww@opendarwin.org
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
}
