summaryrefslogtreecommitdiff
blob: 1393400cd9004356ecfa7b52202c211623a13bad (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
# Copyright 2000-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Michael Nazaroff <newandcreative@yahoo.com>
# net-ftp/ftp/lukemftp-1.5-r1.ebuild,v 1

P=lukemftp-1.5
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="NetBSD FTP client"
SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/${A}"

DEPEND="virtual/glibc
        >=sys-libs/ncurses-5.1"


src_compile() {
    try ./configure --host=$${CHOST} --prefix=/usr \
        --enable-editcomplete --program-prefix=lukemftp

    try make
}

src_install() {
    newbin src/ftp lukemftp
    newman src/ftp.1 lukemftp.1
    dodoc COPYING ChangeLog README* THANKS NEWS

    if [ ! -e /usr/bin/ftp ]; then
        cd ${D}/usr/bin
        ln -s lukemftp ftp
    fi
}