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

go.setup            github.com/k-saiki/mfa 978c28343ee9f18628541c06cf53206f34e857ec
github.tarball_from archive
version             20210617
revision            0

description         Generate TOTP(Time-based One-time Password) token with CLI.

long_description    {*}${description}

categories          security
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

installs_libs       no

build.env-delete    GO111MODULE=off GOPROXY=off

build.pre_args      -ldflags  \"-X ${go.package}/cmd.version=${version} \
                                -X ${go.package}/cmd.revision=${revision}\"
                        
checksums           rmd160  d3dbedde9e8e90bc047ffc2af7269458e6acb1fb \
                    sha256  c174ab6c1004c2af905b98641a2f2d1450ca219121f817d51ad3554d77328732 \
                    size    28545

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

