# -*- 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.1 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  a5dd597a7b53c608315dfba5822f3f0fa3828fd0 \
                    sha256  0e00acd92c834ab64f7fb0b1bb682c0f62d781a0e74e0034135fe6b2330e4570 \
                    size    33007

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

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