# $Id: Portfile 63036 2010-01-24 10:43:40Z jmr@macports.org $

PortSystem      1.0
PortGroup       python26 1.0

name            py26-pycallgraph
set my_name     pycallgraph
version         0.5.1
revision        1
license         GPLv2
categories-append   devel
platforms       darwin
maintainers     nox openmaintainer
description     A Python module that creates call graphs for Python programs

long_description \
    pycallgraph is a Python module that creates call graphs for Python \
    programs.

homepage        http://pycallgraph.slowchop.com/
master_sites    ${homepage}files/download/
distname        ${my_name}-${version}

checksums       md5     2f57a14f637e87aabc7301e78941026c \
                sha1    898ead71fa2341af9c7f98ef150807ccf2dcdd8c \
                rmd160  bb46a88afa374db4552e6311f897fa50245af314

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}/html
    xinstall -m 644 -W $worksrcpath COPYING ${destroot}${docdir}
}

universal_variant   no

livecheck.type  regex
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
