# -*- 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-htmlcalendar
version             1.1.1

platforms           darwin
supported_archs     noarch
license             LGPL-2.1+
maintainers         nomaintainer

description         python module for creating calendars in HTML format
long_description    python module for creating calendars in HTML format. \
                    HTMLCalendar generates one- and twelve-month calendars \
                    in HTML format with optional links.

homepage            http://freespace.virgin.net/hamish.sanderson/htmlcalendar.html
master_sites        macports_distfiles
distname            HTMLCalendar-${version}

checksums           md5     f6a1203b90d2d272eb37c48e7b020a98 \
                    sha1    f1b5836f933bf5569912d555bd13923402bcf111 \
                    rmd160  05a1fcf1a8f5385c7d7219b8c9905bdbdf459391 \
                    sha256  a3e3d39e7d90d22aa0f84a714001ac06fb43605897ddc00957394984ffea3636 \
                    size    13078

deprecated.upstream_support no
livecheck.type      none
python.versions     27

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

    post-destroot {
        xinstall -m 644 -W ${worksrcpath} License.txt Manual.txt README.txt \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
