Lftp version 3.7.6 - How to Download and Install on Mac OS X
Friday the 9th of January, 2009

    version 3.7.6

      View the most recent changes for the lftp port at: lftp.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for lftp.
      The raw portfile for lftp 3.7.6 is located here:
      http://lftp.darwinports.com/dports/net/lftp/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/lftp


      # $Id: Portfile 42613 2008-11-26 17:04:34Z macsforever2000 macports.org $

      PortSystem 1.0

      Name: lftp
      Version: 3.7.6
      revision 1
      Category: net
      Platform: darwin
      Maintainers: yunzheng.hu gmail.com

      Description: Sophisticated file transfer program
      Long Description: Lftp is a shell-like command line ftp client. It is reliable, can retry operations and does reget automatically. It can do several transfers simultaneously in background. You can start a transfer in background and continue browsing the ftp site or another one. This all is done in one process. Background jobs will be completed in nohup mode if you exit or close modem connection. Lftp has reput, mirror, reverse mirror among its features.

      Homepage: http://lftp.yar.ru/
      master_sites http://ftp.yars.free.net/pub/source/${name}/ http://ftp.yars.free.net/pub/source/${name}/old ftp://ftp.cs.tu-berlin.de/pub/net/ftp/${name}/
      use_bzip2 yes
      checksums md5 eed9891b8c2d034f296af5eb86898935 sha1 522396db61839d6726aaab3a152243573da9c1fe rmd160 8f8f9fd34592295ed5c07a1bf27fb28cbbcce608

      depends_lib port:expat port:libiconv port:ncurses port:openssl port:readline

      configure.args --with-openssl --without-gnutls --disable-nls

      pre-configure {
      # look for ncurses first
      reinplace "s|curses ncurses|ncurses curses|g" ${worksrcpath}/configure
      }

      post-destroot {
      set docdir ${destroot}${prefix}/share/doc/${name}-${version}
      xinstall -d ${docdir}
      xinstall -W ${worksrcpath} AUTHORS BUGS ChangeLog COPYING FAQ FEATURES NEWS README README.debug-levels README.modules MIRRORS THANKS TODO ${docdir}
      file delete -force "${destroot}${prefix}/lib/charset.alias"
      }

      Variant: tls description {Use GnuTLS instead of OpenSSL} {
      configure.args-append --without-openssl --with-gnutls
      configure.args-delete --with-openssl --without-gnutls
      depends_lib-append port:gnutls
      depends_lib-delete port:openssl
      }

      Variant: nls description {Add internationalization support} {
      configure.args-append --enable-nls
      configure.args-delete --disable-nls
      depends_lib-append port:gettext
      }

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) released

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/lftp
      % sudo port install lftp
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching lftp
      ---> Verifying checksum for lftp
      ---> Extracting lftp
      ---> Configuring lftp
      ---> Building lftp with target all
      ---> Staging lftp into destroot
      ---> Installing lftp
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using lftp with these commands:
      %  man lftp
      % apropos lftp
      % which lftp
      % locate lftp

     Where to find more information:

    Darwin Ports



    Lightbox this page.