summaryrefslogtreecommitdiff
path: root/net/lftp/Makefile
blob: 8e5ebba163b30adfd82d9a1367b2ba749229e48a (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
# $NetBSD: Makefile,v 1.18 2002/08/25 21:50:01 jlam 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=${SSLBASE} \
			--sysconfdir=${PKG_SYSCONFDIR}
USE_BUILDLINK2=		YES
USE_LIBTOOL=		YES
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

# uses GNU readline internal variables (_rl_mark_modified_lines)
USE_GNU_READLINE=	YES

PLIST_SUBST+=		PKG_SYSCONFDIR=${PKG_SYSCONFDIR}

EGDIR=		${PREFIX}/share/examples/lftp
CONF_FILES=	${EGDIR}/lftp.conf ${PKG_SYSCONFDIR}/lftp.conf
OWN_DIRS=	${PREFIX}/lib/lftp
OWN_DIRS+=	${PREFIX}/lib/lftp/${PKG_VERSION}

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

.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/readline/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"

.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"