838053b91b
Changes: - convert to PKG_OPTIONS framework - make gnutls default option, ssl optional 3.2.1: ====== - fixed handling of file names starting with a tilde in sftp protocol. - fixed minor problem with `lftp -u user --help'. - fixed compilation with modules. - fixed compilation without OpenSSL and GnuTLS. - fixed compilation with certain compiler versions. - relaxed version requirement on GnuTLS. 3.2.0: ====== - added support for gnutls library. Now OpenSSL is only used if explicitly configured with option --with-openssl, and by default gnutls is used. - added parser for AS/400 ftp listing. - fixed a coredump in mirror when symbolic link target is unknown.
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.57 2005/05/30 16:01:40 salo Exp $
|
|
#
|
|
|
|
DISTNAME= lftp-3.2.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
|
|
ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
|
|
http://tactical.wiretapped.net/mirrors/lftp/ \
|
|
ftp://ftp.130th.net/pub/mirror/lftp/ \
|
|
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/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= salo@NetBSD.org
|
|
HOMEPAGE= http://lftp.yar.ru/
|
|
COMMENT= Powerful command line file transfer client
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_PKGINSTALL= YES
|
|
USE_PKGLOCALEDIR= YES
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= YES
|
|
GNU_CONFIGURE= YES
|
|
USE_GNU_READLINE= # uses GNU readline internal _rl_mark_modified_lines
|
|
|
|
SHLIBTOOL_OVERRIDE= libtool
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-modules
|
|
|
|
CONFIGURE_ENV+= F77=${FALSE}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/lftp
|
|
CONF_FILES= ${EGDIR}/lftp.conf.default ${PKG_SYSCONFDIR}/lftp.conf
|
|
|
|
INSTALLATION_DIRS= bin lib/lftp man/man1 share/examples/lftp share/lftp
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/lftp.conf ${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"
|