summaryrefslogtreecommitdiff
path: root/net/lftp/Makefile
blob: 3756c8524a4134d961435ed2d89b933cf2b8c68d (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
# $NetBSD: Makefile,v 1.17 2002/07/25 00:49:07 grant Exp $

DISTNAME=	lftp-2.5.2
CATEGORIES=	net
MASTER_SITES=	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=	michal@pasternak.w.lub.pl
HOMEPAGE=	http://lftp.yar.ru/
COMMENT=	powerful command line ftp client

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-ssl=${BUILDLINK_DIR} \
			--sysconfdir=${PKG_SYSCONFDIR}
USE_BUILDLINK_ONLY=	YES
# uses GNU readline internal variables (_rl_mark_modified_lines)
USE_GNU_READLINE=	YES
USE_LIBTOOL=		YES
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

PLIST_SUBST+=		PKG_SYSCONFDIR=${PKG_SYSCONFDIR}

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lftp
	${INSTALL_DATA} ${WRKSRC}/lftp.conf ${PREFIX}/share/examples/lftp

.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"