# -*- 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-timeformat
version             1.1.0
revision            0
categories-append   devel
license             BSD
maintainers         nomaintainer
description         Flexible alternative to time.strftime
long_description \
    TimeFormat implements new time and date formatting codes that provide \
    more flexibility to time.strftime().  The implementation avoids using \
    the C library time.strftime() where possible, so ensuring the same \
    operation across most platforms.

platforms           darwin
supported_archs     noarch

homepage            https://www.owlfish.com/software/TimeFormat/
master_sites        ${homepage}downloads/
distname            TimeFormat-${version}

checksums           rmd160  dfcdd53ecb4082a5a51a259a1632c77e8df73286 \
                    sha256  187141d65765f9e0e876c5fe4ef0d19dbfdf6c2d873cde7ff5a6c244554da5e0 \
                    size    18820

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

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
        file copy {*}[glob ${worksrcpath}/documentation/html/*] \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
