# -*- 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 perl5 1.0 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 perl5.default_branch 5.34 perl5.create_variants ${perl5.branches} name youtube-viewer perl5.setup youtube-viewer 3.11.3 revision 0 categories multimedia net platforms {darwin any} supported_archs noarch maintainers {@TheKevJames thekev.in:macports} openmaintainer license {Artistic-1 GPL} description A very easy interface to YouTube. long_description Lightweight app for searching and streaming videos from YouTube homepage https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html master_sites https://github.com/trizen/youtube-viewer/archive/ distfiles ${version}.tar.gz checksums rmd160 a7bc884aa545f9056a67c0bfc9fbe3f3ba805b81 \ sha256 f750637f8ce71648e8f0fe44ba34c3b944f46b2cc499ba5a19e773fe6b9ce7f2 \ size 269693 perl5.use_module_build perl5.link_binaries_suffix depends_build-append \ port:p${perl5.major}-cpan-meta \ port:p${perl5.major}-inc-latest \ port:p${perl5.major}-test-harness depends_lib-append \ port:p${perl5.major}-module-build \ port:p${perl5.major}-data-dump \ port:p${perl5.major}-encode \ port:p${perl5.major}-file-path \ port:p${perl5.major}-getopt-long \ port:p${perl5.major}-http-message \ port:p${perl5.major}-json \ port:p${perl5.major}-json-xs \ port:p${perl5.major}-libwww-perl \ port:p${perl5.major}-lwp-protocol-https \ port:p${perl5.major}-lwp-useragent-cached \ port:p${perl5.major}-mime-base64 \ port:p${perl5.major}-pathtools \ port:p${perl5.major}-scalar-list-utils \ port:p${perl5.major}-term-ansicolor \ port:p${perl5.major}-term-readline \ port:p${perl5.major}-term-readline-gnu \ port:p${perl5.major}-text-parsewords \ port:p${perl5.major}-text-tabsxwrap \ port:p${perl5.major}-uri depends_run-append \ port:p${perl5.major}-common-sense \ port:p${perl5.major}-mozilla-ca if {${os.platform} eq "darwin" && ${os.major} < 19} { depends_run-append \ port:mpv-legacy } else { depends_run-append \ port:mpv } variant gtk description "Enable GTK-based GUI" { depends_lib-append \ port:p${perl5.major}-file-sharedir \ port:p${perl5.major}-gtk2 configure.pre_args-append \ --gtk }