# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-umlgraph
version			0.1.10
revision		1
categories-append	devel
license			GPL-2
platforms		darwin
supported_archs	noarch
maintainers		nomaintainer
description		debugger that produces UML by inspecting running python programs
long_description	PyUMLGraph is a Python debugger that produces UML \
				diagrams by inspecting running Python programs. The \
				output is in Graphviz's dot language, and dot can \
				produce pictures in many popular formats, such as PNG, \
				PDF, SVG, and others. The UML diagrams can contain \
				information about class inheritance relationships, \
				references to other classes, class methods and return \
				types, as well as class attributes and types.

homepage		http://adamfeuer.com/~adamf/software/PyUMLGraph/
master_sites	${homepage} fink:md5/38c10170d92e77f84186f5b7d8fdbf4e
distname		PyUMLGraph-${version}
checksums		md5 38c10170d92e77f84186f5b7d8fdbf4e
use_bzip2		yes

python.versions	24

if {${name} ne ${subport}} {
    post-destroot	{
        xinstall -m 644 -W ${worksrcpath}/docs PyUMLGraph.css TODO index.html \
            example1.png example1.py simple.dot simple.png \
            ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath}/examples example1.py simple.py \
            make_example_diagrams \
            ${destroot}${prefix}/share/doc/${subport}/examples
    }
}
