# -*- 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/charmbracelet/vhs 0.11.0 v
go.offline_build    no
revision            0

description         Your CLI home video recorder

long_description    \
    {*}${description}. Write terminal GIFs as code for integration testing \
    and demoing your CLI tools.

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

checksums           rmd160  bea958d598ee80c438a72fd18b8169b60b488547 \
                    sha256  c08b8502989fe7e9626c02938f3fc512c2a4ba21f839f455d20d7eb1da7bc39f \
                    size    136991

depends_run-append  path:bin/ffmpeg:ffmpeg \
                    path:bin/ttyd:ttyd

build.pre_args-append \
    -ldflags \" -s -w -X main.Version=v${version} \"

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