# -*- 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$

PortSystem 1.0
PortGroup           python 1.0

name			py-epydoc
version			3.0.1
revision		    3
python.versions     26 27
python.default_version 27
platforms		darwin freebsd
maintainers		    dh snc openmaintainer
license             MIT
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}

if {${name} ne ${subport}} {
    checksums           rmd160  7630a4f6e4ef5f1e2b033f38316ed992306cb951 \
                        sha256  d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1

    patchfiles              patch-restructuredtext.py.diff

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