# -*- 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
PortGroup           deprecated 1.0

name                py-svnreporter
version             0.4
categories-append   devel
license             GPL-2
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Svn commit hook to generate reports
long_description    SvnReporter generates various reports in response to \
                    commits happening in a Subversion repository. It is \
                    intended to be called from the post-commit hook.

homepage            http://c-space.org/software/SvnReporter.html
master_sites        http://c-space.org/download/SvnReporter
distname            SvnReporter-${version}
checksums           md5 92ce58d3d3c76752f56462df911d0b49 \
                    sha1 d024cd910b9ba7f937c4b212460261ff803465d5 \
                    rmd160 ba0610347c93ab61f161a0088559ec32cc6affbd

deprecated.upstream_support no

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append	\
                    port:subversion-python${python.version}bindings

    livecheck.type  none
} else {
    livecheck.regex  SvnReporter-(\[0-9.\]+)${extract.suffix}
}