# -*- 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/mozilla/sops 3.13.1 v
go.package          go.mozilla.org/sops/v3
go.offline_build    no
revision            0

description         Simple and flexible tool for managing secrets

long_description    {*}${description}. sops is an editor of encrypted files \
                    that supports YAML, JSON, ENV, INI and BINARY formats and \
                    encrypts with AWS KMS, GCP KMS, Azure Key Vault and PGP.

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

checksums           rmd160  3a15a6b15235f8fb9e9de6442096e547da3d989e \
                    sha256  60408fa04a024328e6142c7dc67d08810a470aaa440b9f6cb7b3a358359636e9 \
                    size    264464

build.target        ./cmd/sops

pre-build {
    system -W ${worksrcpath} "${go.bin} mod tidy"
}

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

github.livecheck.regex {([0-9.]+)}
