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

PortSystem          1.0
PortGroup           python 1.0
PortGroup           deprecated 1.0

name                py-umlgraph
version             0.1.10
revision            1
categories-append   devel
license	            GPL-2
platforms           {darwin any}
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            https://pypi.org/project/PyUMLGraph/
master_sites        macports_distfiles
distname            PyUMLGraph-${version}
checksums           md5 38c10170d92e77f84186f5b7d8fdbf4e
use_bzip2           yes

deprecated.upstream_support no
livecheck.type      none

python.versions     27

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