# $Id: Portfile 56544 2009-08-29 22:47:32Z ram@macports.org $

PortSystem         1.0

name               yafc
version            1.1.1
revision           1
categories         net
platforms          darwin
maintainers        nomaintainer

description        yafc is yet another ftp client
long_description   yafc is yet another ftp client featuring cached \
  directory listings, extensive tab completion, aliases, colored ls \
  (ie, ls --color, uses \$LS_COLORS like GNU ls), automatic reconnect \
  on timed out connections, recursive get/put/fxp/ls/rm, nohup mode \
  transfers, multiple connections open simultaneously, tagging \
  (queueing), very configurable, autologin and bookmarks, automagically \
  enters nohup-mode when SIGHUP received (in get and put), redirection \
  to local command or file, proxy support, Kerberos support (version 4 \
  and 5, heimdal, kth-krb or MIT), SSH2 support (sftp).

homepage           http://yafc.sourceforge.net/
master_sites       sourceforge:yafc
use_bzip2          yes

checksums          md5 832d074183a36ee15b47553ed5962fce \
                   sha1 d88132e1b389d74533f9eaa94f1a6d02787c03c8 \
                   rmd160 1a1af7f618e9fada90b23390e64ec0ee4c8ed370

patchfiles         patch-src__syshdr.h.diff

depends_lib        port:readline

configure.args     --mandir=${prefix}/share/man \
                   --infodir=${prefix}/share/info \
                   --with-readline-lib=${prefix}/lib \
                   --with-readline-include=${prefix}/include

platform darwin 8 {
  patchfiles-append patch-lib__gssapi.c.diff \
                    patch-src__input.c.diff
}

platform darwin 9 {
  patchfiles-append patch-lib__gssapi.c-darwin9.diff \
                    patch-src__input.c.diff
}

livecheck.regex    {(\d+(?:\.\d+)*) released}
