blob: 6fee67686734c5043dbe4eac417a9ac2e5d1fdb5 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20050625.ebuild,v 1.3 2005/09/01 13:51:44 gustavoz Exp $
DESCRIPTION="NetBSD FTP client with several advanced features"
SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/${P}.tar.gz
ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/old/${P}.tar.gz"
HOMEPAGE="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 sparc ~ppc ~alpha ~amd64"
IUSE="ipv6"
DEPEND=">=sys-libs/ncurses-5.1"
src_compile() {
econf \
--enable-editcomplete \
$(use_enable ipv6) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
newbin src/ftp tnftp || die "newbin failed"
newman src/ftp.1 tnftp.1 || die "newman failed"
for x in ftp lukemftp
do
if [ ! -e "${ROOT}"/usr/bin/${x} ]
then
dosym tnftp /usr/bin/${x} || die "dosym failed"
fi
done
dodoc COPYING ChangeLog README THANKS || die "dodoc failed"
}
|