1997-11-17 13:18:37 +00:00
|
|
|
# New ports collection makefile for: lftp
|
|
|
|
# Date created: 11 September 1997
|
|
|
|
# Whom: 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
|
2007-04-11 20:17:20 +00:00
|
|
|
PORTVERSION= 3.5.10
|
|
|
|
PORTREVISION= 1
|
2000-01-18 12:54:55 +00:00
|
|
|
CATEGORIES= ftp ipv6
|
2006-01-09 13:06:13 +00:00
|
|
|
MASTER_SITES= ftp://ftp.wiretapped.net/pub/mirrors/lftp/ \
|
2005-12-06 15:40:13 +00:00
|
|
|
ftp://ftp.wiretapped.net/pub/mirrors/lftp/old/ \
|
2002-11-07 18:13:45 +00:00
|
|
|
ftp://ftp.130th.net/pub/mirror/lftp/ \
|
|
|
|
ftp://ftp.130th.net/pub/mirror/lftp/old/ \
|
2005-10-27 21:40:13 +00:00
|
|
|
ftp://ftp.iasi.roedu.net/pub/os/Linux/network/ftp/lftp/ \
|
|
|
|
ftp://ftp.iasi.roedu.net/pub/os/Linux/network/ftp/lftp/old/ \
|
|
|
|
ftp://ftp.yars.free.net/pub/source/lftp/ \
|
|
|
|
ftp://ftp.yars.free.net/pub/source/lftp/old/ \
|
|
|
|
ftp://lftp.yar.ru/lftp/ \
|
|
|
|
ftp://lftp.yar.ru/lftp/old/
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2004-05-28 12:56:00 +00:00
|
|
|
MAINTAINER= fm@cross-road.org.ua
|
2003-02-21 12:06:51 +00:00
|
|
|
COMMENT= Shell-like command line ftp client
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2006-09-13 20:07:40 +00:00
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2005-09-18 17:53:32 +00:00
|
|
|
|
2006-01-25 11:09:14 +00:00
|
|
|
USE_ICONV= yes
|
2000-04-01 20:10:34 +00:00
|
|
|
USE_BZIP2= yes
|
2002-07-02 17:30:31 +00:00
|
|
|
|
2005-09-18 17:53:32 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
OPTIONS= GNUTLS "With GnutTLS support" off \
|
|
|
|
OPENSSL "With OpenSSL support" on \
|
|
|
|
NLS "With i18n support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-05-30 20:32:06 +00:00
|
|
|
.if defined(WITH_GNUTLS)
|
|
|
|
CONFIGURE_ARGS+= --with-gnutls
|
|
|
|
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
|
|
|
|
.endif
|
|
|
|
|
2005-09-18 18:47:28 +00:00
|
|
|
.if !defined(WITHOUT_OPENSSL)
|
2005-09-18 17:53:32 +00:00
|
|
|
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
|
2005-05-30 20:32:06 +00:00
|
|
|
CONFIGURE_ARGS+= --with-openssl
|
2002-07-02 17:30:31 +00:00
|
|
|
.endif
|
|
|
|
|
2004-05-28 14:18:38 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-07-31 18:27:47 +00:00
|
|
|
CONFIGURE_ARGS+=--mandir="${MAN1PREFIX}/man"
|
|
|
|
|
2006-01-09 13:06:13 +00:00
|
|
|
MAN1= lftp.1 lftpget.1
|
1997-11-30 00:24:02 +00:00
|
|
|
|
1998-05-10 16:45:52 +00:00
|
|
|
post-install:
|
2001-11-22 00:30:26 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
|
1998-05-10 16:45:52 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-11-22 00:30:26 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-04 10:01:05 +00:00
|
|
|
.for ifile in COPYING FAQ NEWS README README.debug-levels README.modules THANKS TODO FEATURES
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${ifile} ${DOCSDIR}
|
1997-11-17 13:18:37 +00:00
|
|
|
.endfor
|
1998-05-10 16:45:52 +00:00
|
|
|
.endif
|
1997-11-17 13:18:37 +00:00
|
|
|
|
2005-09-18 17:53:32 +00:00
|
|
|
.include <bsd.port.post.mk>
|