# -*- 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/nektos/act 0.2.89 v
go.offline_build    no
revision            0

description         Run your GitHub Actions locally

long_description    \
    ${name} allows you to run your GitHub Actions locally using Docker.

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

checksums           rmd160  15e799f1db8c082a7648a27749b4b4cbb91a71dc \
                    sha256  649cd5b91cad870871d2283fb3ad95c8fa1d5ced7a1db8d7b346d1a7dcd3ec71 \
                    size    23627341

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

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

notes "${name} requires a running version of Docker Desktop"
