# -*- 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/MarcoLucidi01/ytcast 1.4.0 v
revision            0

description         Cast YouTube videos to your smart TV from command-line.

long_description    \
    {*}${description} This program does roughly the same thing as the \"Play \
    on TV\" button that appears on the player bar when you visit youtube.com \
    with Chrome or when you use the YouTube smartphone app.

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

checksums           rmd160  923c7b9142f9d547642306ce01133f946483c9f3 \
                    sha256  6358ee3b5415399aad3803b283a09464ed1c78c2b621651e41997f5be32a87f9 \
                    size    32811

build.cmd           make
build.pre_args-append \
                    VERSION=${version}
build.target        build

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