# -*- 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           python 1.0

name                aniworld
version             4.3.2
revision            0
categories-prepend  www multimedia net anime
platforms           any
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} \
                    openmaintainer
description         AniWorld Downloader is a command-line tool for downloading \
                    and streaming anime, series and movies
long_description    {*}${description}
homepage            https://github.com/phoenixthrush/AniWorld-Downloader
checksums           rmd160  bd48084481a4137d00f454aa79859dde4fc28821 \
                    sha256  2eb6fa0459f52cdfada8cbd31258d64d99e0458e6fd3af99fd714d740f2427cd \
                    size    168849
supported_archs     noarch

python.default_version  313

depends_lib-append  port:py${python.version}-authlib \
                    port:py${python.version}-fake-useragent \
                    port:py${python.version}-ffmpeg-python \
                    port:py${python.version}-flask \
                    port:py${python.version}-flask-wtf \
                    port:py${python.version}-niquests \
                    port:py${python.version}-npyscreen \
                    port:py${python.version}-python-dotenv \
                    port:py${python.version}-requests \
                    port:py${python.version}-rich \
                    port:py${python.version}-waitress

depends_run-append  path:bin/mpv:mpv

# https://github.com/phoenixthrush/AniWorld-Downloader/issues/146
notes "
This app must be used in a modern terminal emulator\;\
on legacy systems mlterm(-minimal) or iTerm2 can be used.
"
