# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-ftp/tnftp/tnftp-20050625-r1.ebuild,v 1.6 2008/01/01 19:20:17 swegener Exp $ WANT_AUTOCONF="2.1" WANT_AUTOMAKE="none" inherit eutils autotools 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="alpha ~amd64 ppc ~ppc-macos sparc x86 ~x86-fbsd" IUSE="ipv6" DEPEND=">=sys-libs/ncurses-5.1" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-libedit.patch eautoconf } 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" dodoc ChangeLog README THANKS || die "dodoc failed" }