# -*- 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           github 1.0

github.setup        belgianbeer tzdiff 1.2.1
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
checksums           rmd160  d2e25f4511f5446a4378438026510e934b6bf311 \
                    sha256  ca320c3b3c09dd55d6265045f1dc8d7a06be707cc72e5cf97c081a1bc0122e05 \
                    size    6247

categories          sysutils
platforms           any
supported_archs     noarch
license             BSD
maintainers         {@minmin wide.ad.jp:minmin} openmaintainer

description         displays timezone differences with localtime.
long_description    {*}${description}

use_configure       no

build {}

destroot {
    xinstall -m 755 ${worksrcpath}/tzdiff ${destroot}${prefix}/bin
    xinstall -m 644 ${worksrcpath}/tzdiff.1 ${destroot}${prefix}/share/man/man1
}
