# -*- 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/beringresearch/macpine 1.1.5 v
revision            0

homepage            https://beringresearch.github.io/macpine

description         Lightweight Linux VMs on MacOS

long_description    \
    Create and manage lightweight Alpine VMs on MacOS with seamless port \
    forwarding, automatic file sharing, bridged networking, and aarch64 or \
    x86_64 emulation.

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

depends_run-append  port:qemu

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

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

checksums           ${distname}${extract.suffix} \
                        rmd160  da0c7725a1294894e00eafa9e624a2d3eac97049 \
                        sha256  59dab9df872adffe0f2b5032d1dce086048551041289c08662280ae5b6407f2f \
                        size    64336

go.vendors          gopkg.in/yaml.v3 \
                        lock    v3.0.1 \
                        rmd160  e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \
                        sha256  f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \
                        size    91208 \
                    gopkg.in/check.v1 \
                        lock    20d25e280405 \
                        rmd160  412aa0d109919182ff84259e9b5bbc9f24d78117 \
                        sha256  233f8faf427ce6701ac3427f85c28bc6b6ae7cdc97a303a52873c69999223325 \
                        size    30360 \
                    golang.org/x/term \
                        lock    v0.29.0 \
                        rmd160  8897b8f4c7a32f6801b376eab03bc4d98970bb45 \
                        sha256  584aae20390fd14d70c64dfa2c4a35ee53b53526fd2175f02177cd391d8733ef \
                        size    14690 \
                    golang.org/x/sys \
                        lock    v0.30.0 \
                        rmd160  4cd711df5da2e159b6efbb7fa42ae0a3a3f6eb53 \
                        sha256  76cfe40018bfa5418c1d19d47d8353c3375594013e2b2feea49f06018d2a3102 \
                        size    1523466 \
                    golang.org/x/crypto \
                        lock    v0.35.0 \
                        rmd160  f214b243199a3034e9572f5f2d6b2a7bf0aecc66 \
                        sha256  4b8920471d87d64778bae10a69ab6df2e118aefccca8082a77efe23cf0d9b5e4 \
                        size    1841259 \
                    github.com/spf13/pflag \
                        lock    v1.0.5 \
                        rmd160  2ce81608a38c6f383a35bccd24d64361df5828c9 \
                        sha256  7f41acdcba65b1fab5b9b633947a139f9915b60f94bdab486cdbe9d90c54f61e \
                        size    50815 \
                    github.com/spf13/cobra \
                        lock    v1.4.0 \
                        rmd160  ea96b88322059844913843eaa69706c803ee3342 \
                        sha256  25ba6ae9400f887d94d8019df69e6b47bbedfc9a1fd00225d8b22cfc3df52421 \
                        size    94575 \
                    github.com/inconshreveable/mousetrap \
                        lock    v1.0.0 \
                        rmd160  5c617a09f1432fc543672a0e0c1e13d3752030c2 \
                        sha256  0e6bae2849f13d12fe361ecac087728e4e97f3482f4cec44f6e7a2c53bb9cd0c \
                        size    2291 \
                    filippo.io/age \
                        repo    github.com/FiloSottile/age \
                        lock    v1.2.1 \
                        rmd160  3b32aa99aeadcf9a4d9bf970b8ea503b51b6bf5d \
                        sha256  ac5040ba3aae7cbaa9d0d8ed72ec8bb46ea769ae836d623f4aee7b60760ff601 \
                        size    207265 \
                    c2sp.org/CCTV/age \
                        repo    github.com/C2SP/CCTV \
                        lock    3ec4d716e805 \
                        rmd160  90453ef2a0124ea96c2277e2958714c017848b9e \
                        sha256  bfcb2271eb2494be4ccf0eb6f634ccd43dedee8aca92005c4c4fc57c343dbe7b \
                        size    1651565
