pkgsrc/net/lftp/Makefile
pettai 46b6f7609e Version 4.2.0 - 2011-03-03
* changed ssl:verify-certificate default to yes.
* check certificate common name in openssl case (code from curl).
* disable weak algorithms in openssl.
* new setting xfer:log-file.
* support for netkey pasword in ftp.
* added torrent ipv6 support (new setting torrent:ipv6)
* don't accept new connections when no torrent can accept them.
* allow to specify job numbers in `jobs' command.
* fixed a segfault in pget when an error happens on second chunk.
2011-03-21 11:52:02 +00:00

55 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.95 2011/03/21 11:52:02 pettai Exp $
DISTNAME= lftp-4.2.0
CATEGORIES= net
MASTER_SITES= http://ftp.yars.free.net/pub/source/lftp/ \
ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
http://lftp.cybermirror.org/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://lftp.yar.ru/
COMMENT= Powerful command line file transfer client
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= bison
MAKE_JOBS_SAFE= no
USE_PKGLOCALEDIR= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
USE_GNU_READLINE= YES # uses GNU readline internal _rl_mark_modified_lines
SHLIBTOOL_OVERRIDE= # empty
.include "options.mk"
PLIST_SRC+= ${PKGDIR}/PLIST
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-modules
LDFLAGS.Darwin+= -flat_namespace
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= yes
.endif
EGDIR= ${PREFIX}/share/examples/lftp
CONF_FILES= ${EGDIR}/lftp.conf.default ${PKG_SYSCONFDIR}/lftp.conf
INSTALLATION_DIRS= bin lib/lftp ${PKGMANDIR}/man1 share/examples/lftp share/lftp
post-install: post-install-perl
${INSTALL_DATA} ${WRKSRC}/lftp.conf ${DESTDIR}${EGDIR}/lftp.conf.default
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"