blob: 447ddb5841a9b797ceb24bb34b2fed8c43dbba84 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/documancer/documancer-0.2.6.ebuild,v 1.4 2006/05/02 22:25:46 swegener Exp $
inherit eutils
DESCRIPTION="Programmer's documentation reader with very fast fulltext searching"
HOMEPAGE="http://documancer.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
# If pylucene makes it into the tree, we can add it as a dep
# || ( dev-python/pylucene virtual/jre )
RDEPEND=">=x11-libs/wxmozilla-0.5.6
>=virtual/python-2.3
>=dev-python/wxpython-2.6.3
virtual/jre
dev-lang/perl"
pkg_setup () {
# Note: can't use "python_mod_exists wxPython.mozilla" here because
# it doesn't work (some strange import stuff in wxPython)
if ! built_with_use x11-libs/wxmozilla python; then
eerror "you need wxmozilla compiled with Python module:"
eerror "echo \"x11-libs/wxmozilla python\" >> /etc/portage/package.use"
eerror "and then emerge wxmozilla"
die "Need wxMozilla compiled with Python module!"
fi
}
src_install () {
make install DESTDIR=${D} || die
dodoc AUTHORS FAQ NEWS README TODO
}
|