# -*- 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.81 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  fdd38b043e3badd3588e1e723506dfa74f21f10c \
                    sha256  d1766a9c07cd8b47af4f2008e15098ec70729bd232bde73a400724e4467d0e23 \
                    size    9305873

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"
