# $Id: Portfile 32256 2007-12-23 09:18:47Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python24 1.0
name                py-roundup
version             1.3.3
categories-append   www
maintainers         nomaintainer
description         Issue-tracking system
long_description \
    Roundup is a simple-to-use and -install issue-tracking system with \
    command-line, web and e-mail interfaces. It is based on the winning \
    design from Ka-Ping Yee in the Software Carpentry "Track" design \
    competition. \
    Note: Ping is not responsible for this project. The contact for this \
    project is richard@users.sourceforge.net.

platforms           darwin

homepage            http://roundup.sf.net/
master_sites        http://cheeseshop.python.org/packages/source/r/roundup/
distname            roundup-${version}

checksums           sha1 76242a43974e33ec1fcc711cf3bdd91c18aa46fe


pre-build {
    reinplace "s|man/man1|share/man/man1|" ${worksrcpath}/setup.py
}

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    eval file copy [glob ${worksrcpath}/doc/*] \
        ${destroot}${prefix}/share/doc/${name}
    eval reinplace "s|${destroot}${prefix}|${prefix}|g" \
        [glob ${destroot}${prefix}/bin/*]
}
