# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-umlgraph
version			0.1.10
revision		1
categories		python devel
platforms		darwin
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}
distname		PyUMLGraph-${version}
checksums		md5 38c10170d92e77f84186f5b7d8fdbf4e
use_bzip2		yes

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/${name}
	xinstall -m 644 -W ${worksrcpath}/examples example1.py simple.py \
		make_example_diagrams \
		${destroot}${prefix}/share/doc/${name}/examples
}
