# -*- 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-reverend
version             0.3
revision            0
categories-append   textproc
license             LGPL-2.1
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
description         Reverend is a general purpose Bayesian classifier.
long_description    {*}${description}

homepage            https://sourceforge.net/projects/reverend/
master_sites        sourceforge:reverend
distname            Reverend-${version}
checksums           rmd160  6a35e41fbbd6eeb910ca39f34ccc5b63cf250c83 \
                    sha256  a8610d05cf7be266fc3a6c779a4917aebd1f490649e365255e17c7fd9e799d17 \
                    size    11892

deprecated.upstream_support no
python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0644 -W ${worksrcpath} README.txt changelog.txt \
            ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath}/examples emailtrainer.py readme.txt \
            ${destroot}${prefix}/share/doc/${subport}/examples
    }
}
