2013-02-01 12:29:11 +00:00
|
|
|
# Created by: Andrey Zakhvatov
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2000-04-12 05:31:29 +00:00
|
|
|
PORTNAME= lftp
|
2014-02-04 07:12:12 +00:00
|
|
|
PORTVERSION= 4.4.15
|
2000-01-18 12:54:55 +00:00
|
|
|
CATEGORIES= ftp ipv6
|
2013-12-10 11:52:44 +00:00
|
|
|
MASTER_SITES= http://lftp.yar.ru/ftp/ \
|
|
|
|
http://lftp.yar.ru/ftp/old/ \
|
2008-02-21 09:27:16 +00:00
|
|
|
http://lftp.cybermirror.org/ \
|
2009-02-01 02:20:22 +00:00
|
|
|
http://lftp.cybermirror.org/old/ \
|
2010-10-15 11:30:05 +00:00
|
|
|
http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
|
|
|
|
http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/old/ \
|
|
|
|
http://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2010-09-27 12:08:23 +00:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2003-02-21 12:06:51 +00:00
|
|
|
COMMENT= Shell-like command line ftp client
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2010-10-15 11:30:05 +00:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-11-15 12:42:21 +00:00
|
|
|
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
|
2011-11-10 07:35:16 +00:00
|
|
|
|
2013-11-15 12:42:21 +00:00
|
|
|
USES= iconv shebangfix
|
2002-07-02 17:30:31 +00:00
|
|
|
|
2011-05-23 13:10:06 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2005-09-18 17:53:32 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-05-23 13:10:06 +00:00
|
|
|
# XXX FreeBSD 9.x has posix_fallocate() for OSVERSION > 900035,
|
|
|
|
# but is missing the required POSIX_FADV_* macros
|
|
|
|
CONFIGURE_ENV= i_cv_posix_fallocate_works=no \
|
2005-09-18 17:53:32 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2008-02-21 09:27:16 +00:00
|
|
|
PORTDOCS= AUTHORS BUGS ChangeLog FAQ FEATURES INSTALL \
|
|
|
|
MIRRORS NEWS README README.debug-levels README.modules \
|
|
|
|
THANKS TODO
|
|
|
|
|
2013-11-15 12:42:21 +00:00
|
|
|
SHEBANG_FILES= src/verify-file \
|
|
|
|
src/convert-mozilla-cookies \
|
|
|
|
src/xdg-move
|
|
|
|
|
2012-12-12 08:12:13 +00:00
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
OPTIONS_RADIO= SSL
|
|
|
|
OPTIONS_RADIO_SSL= OPENSSL GNUTLS
|
2012-06-11 07:56:37 +00:00
|
|
|
OPTIONS_DEFAULT= SSL OPENSSL NLS
|
2013-11-15 12:42:21 +00:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
|
|
|
OPENSSL_USE= OPENSSL=yes
|
|
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
|
2014-02-21 10:42:06 +00:00
|
|
|
GNUTLS_USES= pkgconfig
|
1997-11-30 00:24:02 +00:00
|
|
|
|
1998-05-10 16:45:52 +00:00
|
|
|
post-install:
|
2013-11-15 12:42:21 +00:00
|
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/lftp.conf \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/lftp.conf.sample
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2012-12-12 08:12:13 +00:00
|
|
|
.include <bsd.port.mk>
|