# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name			py25-epydoc
version			3.0.1
revision		1
categories		python
platforms		darwin freebsd
maintainers		stechert
description		API documentation generator for Python modules
long_description	Epydoc is a tool for generating API documentation for \
				Python modules, based on their docstrings. A \
				lightweight markup language called epytext can be used \
				to format docstrings, and to add information about \
				specific fields, such as parameters and instance \
				variables. Epydoc also understands docstrings written \
				in ReStructuredText, Javadoc, and plaintext.

homepage		http://epydoc.sourceforge.net/
master_sites	sourceforge:epydoc
distname		epydoc-${version}
checksums		md5 cdd6f6c76dd8bab5e653a343a0544294 \
			sha1 ccd5cb602cbf8df1a6c61670793d0122fc569523 \
			rmd160 7630a4f6e4ef5f1e2b033f38316ed992306cb951

post-destroot	{
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
		${destroot}${prefix}/share/doc/${name}
}
