# -*- 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.branches      5.28 5.30 5.32 5.34
perl5.setup         Net-Appliance-Session 4.300005 ../../authors/id/O/OL/OLIVER
license             {Artistic-1 GPL}
maintainers         nomaintainer

description         Run command-line sessions to network appliances
long_description    Use this module to establish an interactive command-line session with a \
                    network appliance. There is special support for moving into "privileged" \
                    mode and "configure" mode, with all other commands being sent through a \
                    generic call to your session object.

checksums           rmd160  a8c0dc485522a701b6076e060cee651d761376ca \
                    sha256  a2073aaa56827518174c3e9b0c7fba8c39d5a4d876b67a9fc0bb18729186c2cf \
                    size    24708

platforms           {darwin any}

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-io-prompt-tiny \
                    port:p${perl5.major}-file-sharedir \
                    port:p${perl5.major}-moo \
                    port:p${perl5.major}-moox-types-mooselike \
                    port:p${perl5.major}-net-cli-interact \
                    port:p${perl5.major}-term-readpassword \
                    port:p${perl5.major}-text-glob \
                    port:p${perl5.major}-try-tiny

    perl5.use_module_build
    supported_archs noarch
}
