d43a2cb215
* mirror: improved performance of --scan-all-first for big trees. * mirror: new --flat option to flatten the target directory structure. * mmv: new command for file moving; redirect mv to mmv in certain cases. * fixed compilation with newer openssl (1.1.0 and later). * du: allow multiple --exclude options to be combined. * new setting cmd:nullglob for `glob' command prefix. * http: use proppatch to set last-modified property. * new settings net:connection-limit-timer and ftp:too-many-re. * ftp: dynamically ajust connection limit. * ftp: fixed core dump on LINK/SYMLINK when the command is not supported. * get1: fixed -o option. * sftp,fish: connect-program setting is now passed to the shell for execution. * get/mget/put/mput: add -P option for parallel transfers and long options. * appimage: new make target for making an AppImage file. * fixed "local glob".
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.122 2017/07/12 08:58:18 adam Exp $
|
|
|
|
DISTNAME= lftp-4.8.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://lftp.yar.ru/ftp/
|
|
MASTER_SITES+= ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/
|
|
MASTER_SITES+= http://lftp.cybermirror.org/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pettai@NetBSD.org
|
|
HOMEPAGE= http://lftp.yar.ru/
|
|
COMMENT= Powerful command line file transfer client
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= autoconf bison
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --with-modules
|
|
CONFIGURE_ENV+= readline_prefix=${BUILDLINK_DIR}
|
|
|
|
SUBST_CLASSES+= readline
|
|
SUBST_STAGE.readline= pre-configure
|
|
SUBST_MESSAGE.readline= Detect pkgsrc readline
|
|
SUBST_FILES.readline+= configure
|
|
SUBST_SED.readline+= -e 's,/usr/local,${BUILDLINK_DIR},g'
|
|
|
|
REPLACE_SH= src/xdg-move
|
|
SHLIBTOOL_OVERRIDE= # empty
|
|
|
|
.include "options.mk"
|
|
|
|
EGDIR= ${PREFIX}/share/examples/lftp
|
|
CONF_FILES= ${EGDIR}/lftp.conf.default ${PKG_SYSCONFDIR}/lftp.conf
|
|
|
|
INSTALLATION_DIRS= bin lib/lftp ${PKGMANDIR}/man1
|
|
INSTALLATION_DIRS+= 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"
|
|
# uses _rl_mark_modified_lines and GNU history(3) functions
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|