1997-11-17 14:18:37 +01:00
|
|
|
# New ports collection makefile for: lftp
|
|
|
|
# Date created: 11 September 1997
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-11-17 14:18:37 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 07:31:29 +02:00
|
|
|
PORTNAME= lftp
|
2004-12-24 12:51:29 +01:00
|
|
|
PORTVERSION= 3.0.13
|
2000-01-18 13:54:55 +01:00
|
|
|
CATEGORIES= ftp ipv6
|
2004-10-12 11:33:39 +02:00
|
|
|
MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
|
|
|
|
ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/ \
|
2001-11-22 01:30:26 +01:00
|
|
|
ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/old/ \
|
|
|
|
http://the.wiretapped.net/mirrors/lftp/ \
|
2001-12-06 02:23:37 +01:00
|
|
|
http://the.wiretapped.net/mirrors/lftp/old/ \
|
2001-11-22 01:30:26 +01:00
|
|
|
ftp://ftp.ayamura.org/pub/lftp/ \
|
2002-11-07 19:13:45 +01:00
|
|
|
ftp://ftp.ayamura.org/pub/lftp/old/ \
|
|
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
|
|
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/old/ \
|
|
|
|
ftp://the.ausmac.net/pub/mirrors/lftp/ \
|
|
|
|
ftp://the.ausmac.net/pub/mirrors/lftp/old/ \
|
|
|
|
ftp://ftp.bme.hu/packages/lftp/ \
|
|
|
|
ftp://ftp.bme.hu/packages/lftp/old/ \
|
|
|
|
ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
|
|
|
|
ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/old/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/old/ \
|
|
|
|
ftp://mirror.widexs.nl/pub/lftp/ \
|
|
|
|
ftp://mirror.widexs.nl/pub/lftp/old/ \
|
|
|
|
ftp://ftp.130th.net/pub/mirror/lftp/ \
|
|
|
|
ftp://ftp.130th.net/pub/mirror/lftp/old/ \
|
|
|
|
ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/ \
|
|
|
|
ftp://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/old/
|
2004-02-04 11:01:05 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1997-11-17 14:18:37 +01:00
|
|
|
|
2004-05-28 14:56:00 +02:00
|
|
|
MAINTAINER= fm@cross-road.org.ua
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Shell-like command line ftp client
|
1997-11-17 14:18:37 +01:00
|
|
|
|
2000-04-01 22:10:34 +02:00
|
|
|
USE_BZIP2= yes
|
2004-02-04 11:01:05 +01:00
|
|
|
USE_GPG?= yes
|
|
|
|
SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc
|
2002-07-02 19:30:31 +02:00
|
|
|
|
|
|
|
.if !defined(WITHOUT_SSL)
|
2000-09-29 17:52:42 +02:00
|
|
|
USE_OPENSSL= yes
|
2002-07-02 19:30:31 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
|
|
.endif
|
|
|
|
|
2000-10-01 11:33:41 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-11-22 01:30:26 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
2000-10-01 11:33:41 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-16 14:07:53 +02:00
|
|
|
|
2002-07-02 19:30:31 +02:00
|
|
|
.if defined(WITH_SOCKS4)
|
|
|
|
CONFIGURE_ARGS+= --with-socks
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_SOCKS5)
|
|
|
|
CONFIGURE_ARGS+= --with-socks5
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_SOCKS_DANTE)
|
|
|
|
CONFIGURE_ARGS+= --with-socksdante
|
|
|
|
.endif
|
|
|
|
|
2004-05-28 16:18:38 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2000-04-01 22:10:34 +02:00
|
|
|
MAN1= lftp.1
|
1997-11-30 01:24:02 +01:00
|
|
|
|
1998-05-10 18:45:52 +02:00
|
|
|
post-install:
|
2001-11-22 01:30:26 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
|
1998-05-10 18:45:52 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-11-22 01:30:26 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-04 11:01:05 +01:00
|
|
|
.for ifile in COPYING FAQ NEWS README README.debug-levels README.modules THANKS TODO FEATURES
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${ifile} ${DOCSDIR}
|
1997-11-17 14:18:37 +01:00
|
|
|
.endfor
|
1998-05-10 18:45:52 +02:00
|
|
|
.endif
|
1997-11-17 14:18:37 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|