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

name                tailor
version             0.9.35
revision			2
categories          devel python
platforms           darwin
maintainers         nomaintainer

description         Tailor is a tool to migrate changesets between \
                    different source control management systems.
long_description    Tailor is a tool to migrate changesets between \
                    ArX, Bazaar, Bazaar-NG, CVS, Codeville, Darcs, \
                    Git, Mercurial, Monotone, Subversion and Tla \
                    repositories. It is implemented in Python.
homepage            http://wiki.darcs.net/DarcsWiki/Tailor

master_sites        http://darcs.arstecnica.it/
checksums           md5     58a6bc1c1d922b0b1e4579c6440448d1 \
                    sha1    442d1d11bf4ba5d54684f78783f94f753a02292e \
                    rmd160  a3fc4339c6e7ce1397584363d127ae1219ee3888

python.default_version 27

post-destroot {
    # install docs
    xinstall -m 644 -W ${worksrcpath} \
            README.rst README.html \
            ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "current version is (\\d+(\\.\\d+)+)"