# -*- 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-FTPServer 1.125
license             GPL-2+
maintainers         nomaintainer
description         A secure, extensible and configurable Perl FTP server
long_description    Net::FTPServer is a secure, extensible and configurable \
                    FTP server written in Perl. \
                    \nCurrent features include: \
                    \n  * Authenticated FTP access. \
                    \n  * Anonymous FTP access. \
                    \n  * Complete implementation of current RFCs. \
                    \n  * ASCII or binary type file transfers. \
                    \n  * Active or passive mode file transfers. \
                    \n  * Run standalone or from inetd(8). \
                    \n  * Security features: chroot, resource limits, tainting, protection against buffer overflows. \
                    \n  * IP-based and/or IP-less virtual hosts. \
                    \n  * Complete access control system. \
                    \n  * Anonymous read-only FTP personality. \
                    \n  * Virtual filesystem allows files to be served from a database. \
                    \n  * Directory aliases and CDPATH support. \
                    \n  * Extensible command set. \
                    \n  * Generate archives on the fly.

platforms           {darwin any}

checksums           rmd160  1fbf3c8ec4f21eebfb8c4979f00b31ea111608b3 \
                    sha256  1683d717e75d79cd663308d51cef28e12d2c52496cb6ef50f5709192ac90e0c5

if {${perl5.major} != ""} {
    depends_lib-append      \
                    port:p${perl5.major}-archive-zip \
                    port:p${perl5.major}-bsd-resource \
                    port:p${perl5.major}-dbi \
                    port:p${perl5.major}-io-stringy

    supported_archs noarch
}
