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

name            ncftp
version         3.2.7
categories      net
platforms       darwin
maintainers     {toby @tobypeterson}
license         Artistic-2

description     FTP client with an advanced user interface
long_description \
    NcFTP is a suite of FTP programms. It includes a FTP \
    client with an advanced user interface. The main program is simply \
    called 'ncftp'. There are also separate utility programs for one-shot \
    FTP (i.e. for shell scripts and command line junkies), these include \
    'ncftpget', 'ncftpput', and 'ncftpls'.

homepage        http://www.ncftpd.com/ncftp/
master_sites    ftp://ftp.ncftpd.com/${name}/ \
                ftp://ftp.ncftpd.com/${name}/older_versions \
                https://www.mirrorservice.org/sites/ftp.ncftp.com/ncftp/ \
                https://www.mirrorservice.org/sites/ftp.ncftp.com/ncftp/older_versions/
distname        ${name}-${version}-src
worksrcdir      ${name}-${version}
use_xz          yes

checksums       rmd160  214b4f7d89fe2275a2c378e24ae50c5da59ad704 \
                sha256  d41c5c4d6614a8eae2ed4e4d7ada6b6d3afcc9fb65a4ed9b8711344bef24f7e8 \
                size    422480

patchfiles      patch-configure

depends_lib     port:ncurses

configure.args  --disable-universal --disable-precomp
configure.cflags-append -DHAVE_STDLIB_H

livecheck.type      regex
livecheck.url       http://www.ncftpd.com/download/
livecheck.regex     {ncftp/ncftp-(\d+(?:\.\d+)*)-src.tar.xz}
