# -*- 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/github/smimesign 0.2.0 v
revision            0

description         An S/MIME signing utility for use with Git

long_description    \
    Smimesign is an S/MIME signing utility for macOS and Windows that is \
    compatible with Git. This allows developers to sign their Git commits and \
    tags using X.509 certificates issued by public certificate authorities or \
    their organization's internal certificate authority. Smimesign uses keys \
    and certificates already stored in the macOS Keychain or the Windows \
    Certificate Store.

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

build.pre_args-append \
    -ldflags \"-X main.versionString=${version}\"

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

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

checksums           ${distname}${extract.suffix} \
                        rmd160  c73fe69a359ac4051acbd08a087f41de407b06ab \
                        sha256  b5921dc3f3b446743e130d1ee39ab9ed2e256b001bd52cf410d30a0eb087f54e \
                        size    227264

go.vendors          golang.org/x/xerrors \
                        lock    5ec99f83aff1 \
                        rmd160  6e8267f353e153297f205e4be219236d6ae43880 \
                        sha256  9a500a49d83a09e7de6c71b215d1c14b81e315d26884530ef327c95ddf1f2d28 \
                        size    13667 \
                    golang.org/x/crypto \
                        lock    a29dc8fdc734 \
                        rmd160  f8b921a5b7b089a9ff2b715e3a16f4c1b9efb2d5 \
                        sha256  5b6bf51529377b4882ac04d6d4ce26dd2ba60499283cb3a0ebe803ea8e9d2887 \
                        size    1679798 \
                    github.com/stretchr/testify \
                        lock    v1.3.0 \
                        rmd160  80582370443047a1d7020211865d85d54c036eea \
                        sha256  ac782171992e3af1c8ac8384cbf4a39706ec5f9e3c6eed57a246e02dce571762 \
                        size    102899 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/pkg/errors \
                        lock    v0.8.1 \
                        rmd160  a33afa0fbe2e76b7a621d25bdb4bf0b964b18bb5 \
                        sha256  1ec95b0705f5ac6ea502266b4e6bf177041b7832148a4bf090686243b0f9aa59 \
                        size    11018 \
                    github.com/pborman/getopt \
                        lock    2b5b3bfb099b \
                        rmd160  d1148aea5953a715d1464fae45b047773e59fd92 \
                        sha256  a55595a6297edb20cd10cfa3260750c27069e7f4b6b1794177a16344cdf16c4e \
                        size    38220 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/certifi/gocertifi \
                        lock    deb3ae2ef261 \
                        rmd160  603b6012b77cedc16a40e2e4ccc6fbe5d5bf5df9 \
                        sha256  8368aa8cf2de473677fa77c1ef01f8d456d294c2d7cbe6bba7a46a4c54ee9123 \
                        size    147884