# -*- 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-simplekml
version             1.3.6
revision            0

categories-append   gis
supported_archs     noarch
platforms           {darwin any}
license             LGPL-3+
maintainers         nomaintainer

description         A Simple KML creator
long_description    {*}${description}

homepage            https://readthedocs.org/projects/simplekml/

checksums           rmd160  9455e10d40c8b53bdb20d92bd9d36746d9d1f2df \
                    sha256  cda687be2754395fcab664e908ebf589facd41e8436d233d2be37a69efb1c536 \
                    size    52999

python.versions     310 311 312

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md \
            ${destroot}${docdir}
    }
}
