# -*- 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                    svndumptool
version                 0.6.1
revision                3
categories              devel
license                 GPL-2+
platforms               {darwin any}
maintainers             ryandesign openmaintainer
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.default_version  27

livecheck.type          regex
livecheck.url           http://repos.borg.ch/svn/svndumptool/tags
livecheck.regex         ${name}-(\[0-9.\]+)/

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}
}
