blob: 2cf770b664538de97b2b235cd0e8c02509829b82 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/yelp-2.10.0.ebuild,v 1.1 2005/07/13 15:23:18 leonardop Exp $
inherit eutils gnome2
DESCRIPTION="Help browser for GNOME"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
IUSE="firefox"
RDEPEND=">=gnome-base/orbit-2
>=dev-libs/glib-2
>=gnome-base/gconf-2
>=app-text/gnome-doc-utils-0.1.1
>=gnome-base/gnome-vfs-2
>=x11-libs/gtk+-2.5.3
>=gnome-base/libbonobo-1.108
>=gnome-base/libglade-2
>=gnome-base/libgnome-2.0.2
>=gnome-base/libgnomeui-1.103
>=dev-libs/libxml2-2.6.5
>=dev-libs/libxslt-1.1.4
!firefox? ( >=www-client/mozilla-1.7.3 )
firefox? ( >=www-client/mozilla-firefox-1.0.2-r1 )
dev-libs/popt
sys-libs/zlib
app-arch/bzip2"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/intltool
dev-util/pkgconfig"
DOCS="AUTHORS ChangeLog NEWS README TODO"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-2.6.4-makedepfix.patch
}
src_compile() {
local myconf="--enable-man --enable-info"
if use firefox; then
myconf="${myconf} --with-mozilla=firefox"
else
myconf="${myconf} --with-mozilla=mozilla"
fi
G2CONF="${G2CONF} ${myconf}"
gnome2_src_compile
}
|