summaryrefslogtreecommitdiff
path: root/ftp/lftp/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-02 17:30:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-02 17:30:31 +0000
commitef2f60cc11fcc3a71225ab6b87149a6ab88cbc41 (patch)
tree156aeef91f8f598881217b93b6b8e06db534b069 /ftp/lftp/Makefile
parentAdd missing startup script (diff)
upgrade to 2.5.4
PR: 40114 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=62353
Diffstat (limited to 'ftp/lftp/Makefile')
-rw-r--r--ftp/lftp/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 809cf0d817be..a3d38faa19ab 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lftp
-PORTVERSION= 2.5.2
+PORTVERSION= 2.5.4
CATEGORIES= ftp ipv6
MASTER_SITES= 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/ \
@@ -24,11 +24,27 @@ MAINTAINER= fm@astral.ntu-kpi.kiev.ua
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
USE_BZIP2= yes
+
+.if !defined(WITHOUT_SSL)
USE_OPENSSL= yes
+.else
+CONFIGURE_ARGS+= --without-ssl
+.endif
+
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.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
+
MAN1= lftp.1
post-install: