# -*- 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
# $Id: Portfile 73260 2010-11-08 04:21:11Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               python26 1.0

name                    svndumptool
version                 0.6.1
revision                2
categories              devel
platforms               darwin
maintainers             ryandesign
supported_archs         noarch

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

python.link_binaries_suffix

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

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