the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: lftp
Version: 3.7.15
Revision: 3
###
Depends: %N-shlibs (>= %v-%r), expat1-shlibs, readline5-shlibs (>= 5.0-1004)
BuildDepends: expat1, libgettext3-dev, libiconv-dev, libncurses5 (>= 5.4-20041023-1006), readline5 (>= 5.0-1004), system-openssl-dev, fink (>= 0.28)
Replaces: lftp-ssl
###
CustomMirror: <<
Primary: ftp://ftp.yars.free.net/lftp/
Secondary: ftp://ftp.yars.free.net/lftp/old/
<<
###
Source: mirror:custom:lftp-%v.tar.bz2
Source-MD5: bb2e116d2fcf3544805efd4b6463316e
###
PatchScript: <<
### Fix libtool relink
perl -pi -e 's,need_relink=yes,need_relink=no,g' ltmain.sh
### Force configure to not use 10.4's native poll function
sed -i -e 's/poll_works=yes/poll_works=no/' configure
### lftp 3.4.7 redef of srandom
perl -pi -e 's,CDECL void srandom\(unsigned seed\);,,g' src/ResMgr.cc
### 10.5 fix for unsetenv
perl -pi -e 's,if HAVE_UNSETENV,if \!HAVE_UNSETENV,g' src/misc.cc
### don't link against already-installed version
perl -pi -e 's/-L\$\(DESTDIR\)\$\(pkgverlibdir\)//g' src/Makefile.in
<<
###
GCC: 4.0
###
SetCPPFLAGS: -DBIND_8_COMPAT
SetLDFLAGS: -L%p/lib/system-openssl/lib
###
DocFiles: ABOUT-NLS BUGS COPYING ChangeLog FAQ FEATURES INSTALL MIRRORS NEWS README* THANKS TODO lftp.lsm
ConfFiles: %p/etc/lftp.conf
###
ConfigureParams: --with-pic --with-modules --without-socksdante --with-openssl=%p/lib/system-openssl --without-gnutls --with-locale-dir=%p/share/locale --with-included-readline=no --with-included-gettext=no --mandir=%p/share/man --infodir=%p/share/info --libexecdir=%p/lib --disable-dependency-tracking
###
InstallScript: make install DESTDIR=%d
###
SplitOff: <<
Package: lftp-ssl
Depends: lftp (= %v-%r), fink-obsolete-packages
Description: OBSOLETE use package 'lftp' instead
DocFiles: COPYING
<<
###
SplitOff2: <<
Package: %N-shlibs
Depends: libgettext3-shlibs, libiconv, libncurses5-shlibs (>= 5.4-20041023-1006)
Conflicts: %N (<= 3.6.1-1)
Replaces: %N (<= 3.6.1-1)
Files: lib/liblftp-jobs.*.dylib lib/liblftp-tasks.*.dylib
Shlibs: <<
%p/lib/liblftp-jobs.0.dylib 1.0.0 %n (>= 3.6.1-2)
%p/lib/liblftp-tasks.0.dylib 1.0.0 %n (>= 3.6.1-2)
<<
<<
SplitOff3: <<
Package: %N-dev
Depends: %N-shlibs (= %v-%r)
Conflicts: %N (<= 3.6.1-1)
Replaces: %N (<= 3.6.1-1)
Files: lib/liblftp-jobs.dylib lib/liblftp-tasks.dylib
<<
Shlibs: <<
!%p/lib/lftp/%v/liblftp-getdate.dylib
!%p/lib/lftp/%v/liblftp-network.dylib
!%p/lib/lftp/%v/liblftp-pty.dylib
<<
###
Description: Sophisticated command line based FTP client
DescDetail: <<
lftp is a sophisticated command line based FTP client. It has a
multithreaded design allowing you to issue and execute multiple
commands simultaneosly or in the background. It also features
mirroring capabilities and will reconnect and continue transfers
in the event of a disconnection. Also, if you quit the program while
transfers are still in progress, it will switch to nohup mode and
finish the transfers in the background. HTTP protocol and FTP over
HTTP proxy are supported. Version 2.3.0 includes HTTPS and FTP over
SSL support.
<<
###
License: GPL
Maintainer: Justin F. Hallett
Homepage: http://lftp.yar.ru/