freebsd-ports/ftp/lftp/Makefile
Emanuel Haupt 183f7b55c0 - Update to 3.3.3 and [1]
- Fix build on 4.x with additional patch [2]

PR:		88021
Submitted by:	Dmitry A. Yanko <fm@cross-road.org.ua> (maintainer) [1],
		pav [2]
2005-10-27 21:40:13 +00:00

73 lines
1.8 KiB
Makefile

# New ports collection makefile for: lftp
# Date created: 11 September 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= lftp
PORTVERSION= 3.3.3
CATEGORIES= ftp ipv6
MASTER_SITES= \
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.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/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= fm@cross-road.org.ua
COMMENT= Shell-like command line ftp client
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
USE_BZIP2= yes
USE_GPG?= yes
SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.asc
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>
.if defined(WITH_GNUTLS)
CONFIGURE_ARGS+= --with-gnutls
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
.endif
.if !defined(WITHOUT_OPENSSL)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+= --with-openssl
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
MAN1= lftp.1
post-install:
@${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/etc/lftp.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for ifile in COPYING FAQ NEWS README README.debug-levels README.modules THANKS TODO FEATURES
@${INSTALL_DATA} ${WRKSRC}/${ifile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>