# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 40185 2008-09-24 05:49:52Z dh@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-epydoc
version			3.0.1
revision		2
categories		python
platforms		darwin freebsd
maintainers		dh
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

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}
}
