blob: babdc2945598bbd05baa4d379fd37e033fa97131 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.119 2017/01/19 18:52:20 agc Exp $
DISTNAME= lftp-4.7.2
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://lftp.yar.ru/ftp/
MASTER_SITES+= ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/
MASTER_SITES+= ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/
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"
LDFLAGS.Darwin+= -flat_namespace
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 "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|