# -*- 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/FiloSottile/mkcert 1.4.4 v
revision            0

description         A simple zero-config tool to make locally trusted \
                    development certificates with any names you'd like

long_description    mkcert is a simple tool for making locally-trusted \
                    development certificates. It requires no configuration. \
                    Using certificates from real certificate authorities (CAs)\
                    for development can be dangerous or impossible (for hosts \
                    like localhost or 127.0.0.1), but self-signed certificates\
                    cause trust errors. Managing your own CA is the best \
                    solution, but usually involves arcane commands, \
                    specialized knowledge and manual steps. \
                    \
                    mkcert automatically creates and installs a local CA in \
                    the system root store, and generates locally-trusted \
                    certificates.

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

build.args          -ldflags '-X main.Version=${github.tag_prefix}${version}'

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

checksums           ${distname}${extract.suffix} \
                        rmd160  cbc1fca165cad9d61b76db7f05a58958250964ae \
                        sha256  32bd5519581bf0b03f53e5b22721692b99f39ab5b161dc27532c51eafa512ca9 \
                        size    17604

go.vendors          software.sslmate.com/src/go-pkcs12 \
                        repo    github.com/SSLMate/go-pkcs12 \
                        lock    v0.2.0 \
                        rmd160  2752e49c076ca4d4d07c9a660316839a5841d022 \
                        sha256  8c04b6ec06616f6c5c896afd46c79700330acb56938e52ddf88a3d150aa54b1a \
                        size    28464 \
                    howett.net/plist \
                        repo    github.com/DHowett/go-plist \
                        lock    v1.0.0 \
                        rmd160  5566fa84f55c7c4fba17982afcdd00567e453266 \
                        sha256  881f9c6bcb814fdfe2d51da53f75ffd28bd9d2149c9c7cc1e783bc5a54c9f9e8 \
                        size    52994 \
                    golang.org/x/text \
                        lock    v0.3.7 \
                        rmd160  52777fe8a68660aab6e4588322a5949b0ba42e58 \
                        sha256  48971ba6a3123c4fd81b2bdec9fda3cef5815fad76f2407c8a888032462c542d \
                        size    8356115 \
                    golang.org/x/net \
                        lock    1d1ef9303861 \
                        rmd160  56070a5b278ef861d4cffdfc799ddcf28da71324 \
                        sha256  f238af497797e639a43f082835879efc92e19d858c5ea40b36eb7bf7d83c7838 \
                        size    1229692 \
                    golang.org/x/crypto \
                        lock    ae2d96664a29 \
                        rmd160  05b1415dc72cb733adebd0d804424f6238ccc358 \
                        sha256  098f932073e38eec7a09aaf63bd08607d7be76dbf690508294abd595efcda425 \
                        size    1630576