# $Id: Portfile 47990 2009-03-12 01:40:10Z ram@macports.org $

PortSystem        1.0

name              ncftp
version           3.2.2
categories        net
platforms         darwin
maintainers       nomaintainer

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
distname          ${name}-${version}-src
worksrcdir        ${name}-${version}
use_bzip2         yes

checksums         md5 b2b4b2fd38c81754b8f13895d784d491 \
                  sha1 2127457f1148ca6847daf40397b8c0237af4902d \
                  rmd160 c24473c4534891dfa6365e87cf1e42a356b98ebc

depends_lib       port:ncurses

configure.args    --disable-universal

destroot.destdir  mandir=${destroot}${prefix}/share/man \
                  prefix=${destroot}${prefix}

pre-destroot {
  xinstall -m 755 -d ${destroot}${prefix}/bin
  xinstall -m 755 -d ${destroot}${prefix}/lib
  xinstall -m 755 -d ${destroot}${prefix}/share/man
}

universal_variant no

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