# -*- 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.10.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  6030a752572942f8b4fe8979f2530264e0c431dc \
                    sha256  ae37fe7e52ade753f850ab81c7d5344f8e540ab6886f877bf5b613620c909893 \
                    size    135426

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/
}
