summaryrefslogtreecommitdiff
blob: dee0aa7748a2551116a9954e60ee682640ecea89 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Authors Achim Gottinger <achim@gentoo.org>, Bart Verwilst <verwilst@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-ftp/gftp/gftp-2.0.10.ebuild,v 1.1 2001/12/23 13:44:15 verwilst Exp $


S=${WORKDIR}/${P}
DESCRIPTION="Gnome based FTP Client"
SRC_URI="http://www.gftp.org/${P}.tar.gz"
HOMEPAGE="http://www.gftp.org"

DEPEND=">=x11-libs/gtk+-1.2.10-r4
	>=dev-libs/glib-1.2.10-r1
        >=x11-base/xfree-4.1.0
	nls? ( sys-devel/gettext )"


src_compile() {
  local myconf
  if [ -z "`use nls`" ] ; then
     myconf="--disable-nls"
  fi
  ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man ${myconf} || die
  emake || die
}

src_install() {

  make prefix=${D}/usr mandir=${D}/usr/share/man install || die

  dodoc COPYING ChangeLog README* THANKS TODO
  dodoc docs/USERS-GUIDE

}