# -*- 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 3.3.1 now includes this gem.
ruby.branches       3.2 3.1 3.0
ruby.setup          net-ftp 0.3.8 gem {} rubygems
revision            0
categories-append   net
license             BSD Ruby
maintainers         nomaintainer
platforms           any
description         Support for the File Transfer Protocol
long_description    {*}${description}
homepage            https://github.com/ruby/net-ftp
checksums           rmd160  d7e728d6ab9fdfe68d02d287b92307043b248c84 \
                    sha256  28d63e407a7edb9739c320a4faaec515e43e963815248d06418aba322478874f \
                    size    19968
supported_archs     noarch

if {${name} ne ${subport}} {
    depends_run-append \
                    port:rb${ruby.suffix}-net-protocol \
                    port:rb${ruby.suffix}-timeout
}
