# -*- 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/go-acme/lego 4.22.2 v
go.offline_build    no
revision            0

homepage            https://go-acme.github.io/lego

description         Let's Encrypt client and ACME library written in Go

long_description    {*}${description}. Supports ACME v2 RFC 8555.  Allows \
                    registering with a CA, obtaining certificates (both from \
                    scratch, or with an existing CSR), renewing certificates, \
                    revoking certificates, SAN certificate support, support \
                    for ACME challenges (HTTP, DNS, TLS), certificate \
                    bundling, and more.

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

build.cmd           make
build.pre_args      VERSION=v${version}
build.args          build

checksums           rmd160  35507654241ac0068d93874289ed33b7e0c8fd44 \
                    sha256  d4d5a3032d1ed99a5cdf551b2555288c3fcd961be536e58f477dce35d22c8702 \
                    size    804158

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