# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               python25 1.0

name                    svndumptool
version                 0.6.1
categories              devel
platforms               darwin
maintainers             ryandesign
homepage                http://svn.borg.ch/svndumptool/
master_sites            ${homepage}${version}

description \
    tool for processing Subversion dumpfiles

long_description \
    With svndumptool you can check dumpfiles for correctness\; fix some \
    broken dumpfiles including those made by cvs2svn\; show differences \
    between dumpfiles\; edit files inside dumpfiles including replacing \
    their contents or fixing their end-of-line style\; export files from \
    dumpfiles\; split and join dumpfiles\; merge dumpfiles interleaved so \
    that revisions remain in chronological order\; show logs\; list files \
    of given revisions\; and transform revision and node properties with \
    regular expressions

checksums \
    md5     8b99ca96557859404c271c076dc313d5 \
    sha1    fc49a209f4de6daaa115e1a945e55b68dfb511df \
    rmd160  f14e2d5c2313f92b6c55e5d059efe222daf0863e

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        CHANGELOG.txt \
        CONTRIBUTORS.txt \
        README.txt \
        TODO.txt \
        ${docdir}
}
