# -*- 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-pedal
version             2.0.3
revision            0
license             LGPL
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
description         python module for pedigree analysis
long_description    PyPedal is a Python language application for pedigree \
                    analysis.

homepage            http://pypedal.sourceforge.net/
master_sites        sourceforge:pypedal
distname            PyPedal-${version}
checksums           rmd160  84ed62353955ecee3d44ecc3e52f8320c33fe8d1 \
                    sha256  c2f66af3f858279f06cb72da11c8620311abca405fc5292bdc782ee12de2362a \
                    size    15492385

deprecated.upstream_support no

python.versions     27

if {${name} ne ${subport}} {
    depends_build-append	\
                    port:py${python.version}-setuptools

    depends_lib-append	\
                    port:py${python.version}-numeric

    post-destroot {
        xinstall -m 0644 -W ${worksrcpath}/PyPedal/doc pypedal.pdf \
            ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
}
