# -*- 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                py-django-extensions
version             2.2.8
revision            0

categories-append   www
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Global custom management extensions for the Django Framework.
long_description    {*}${description}

homepage            https://github.com/django-extensions/django-extensions

checksums           rmd160  3a294a805f713a57e60c9002c92e50a63f5e1659 \
                    sha256  2699cc1d6fb4bd393c0b5832fea4bc685f2ace5800b3c9ff222b2080f161ac04 \
                    size    585391

python.versions     38

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

    post-destroot {
        xinstall -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
             ${destroot}${prefix}/share/doc/${subport}
    }
}