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

ruby.branches       3.3 3.2 3.1
ruby.setup          tty-prompt 0.23.1 gem {} rubygems
revision            0
platforms           any
license             MIT
maintainers         nomaintainer
description         Beautiful and powerful interactive command line prompt
long_description    {*}${description} with a robust API for getting \
                    and validating complex inputs.
homepage            https://ttytoolkit.org
checksums           rmd160  7b6cedeaab4db44d7b394e782e98e95f331b21d8 \
                    sha256  fcdbce905238993f27eecfdf67597a636bc839d92192f6a0eef22b8166449ec8 \
                    size    49664
supported_archs     noarch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:rb${ruby.suffix}-pastel \
                    port:rb${ruby.suffix}-tty-reader
}