summaryrefslogtreecommitdiff
path: root/net/lftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/lftp/Makefile')
-rw-r--r--net/lftp/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/lftp/Makefile b/net/lftp/Makefile
index 62eb04b7003..9d0985390db 100644
--- a/net/lftp/Makefile
+++ b/net/lftp/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.115 2016/03/05 11:29:07 jperkin Exp $
+# $NetBSD: Makefile,v 1.116 2016/05/29 11:25:29 ryoon Exp $
-DISTNAME= lftp-4.6.3a
-PKGREVISION= 2
+DISTNAME= lftp-4.7.2
CATEGORIES= net
MASTER_SITES= http://lftp.yar.ru/ftp/ \
ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/ \
@@ -22,6 +21,13 @@ 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
@@ -36,15 +42,12 @@ CONF_FILES= ${EGDIR}/lftp.conf.default ${PKG_SYSCONFDIR}/lftp.conf
INSTALLATION_DIRS= bin lib/lftp ${PKGMANDIR}/man1
INSTALLATION_DIRS+= share/examples/lftp share/lftp
-pre-configure:
- cd ${WRKSRC} && autoconf
-
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
+# uses _rl_mark_modified_lines and GNU history(3) functions
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"