1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/ftp/lftp/Makefile
Ying-Chieh Liao ef2f60cc11 upgrade to 2.5.4
PR:		40114
Submitted by:	maintainer
2002-07-02 17:30:31 +00:00

60 lines
1.5 KiB
Makefile

# New ports collection makefile for: lftp
# Date created: 11 September 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= lftp
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/ \
ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/ \
ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/old/ \
http://the.wiretapped.net/mirrors/lftp/ \
http://the.wiretapped.net/mirrors/lftp/old/ \
ftp://ftp.wiretapped.net/pub/mirrors/lftp/ \
ftp://ftp.wiretapped.net/pub/mirrors/lftp/old/ \
ftp://ftp.ayamura.org/pub/lftp/ \
ftp://ftp.ayamura.org/pub/lftp/old/
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:
@${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in COPYING FAQ NEWS README THANKS TODO
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>