summaryrefslogtreecommitdiff
blob: 4180969830d5cc15a8e03a2a05f03b38d8ec7f36 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/podbrowser/podbrowser-0.09.ebuild,v 1.5 2006/08/06 18:16:40 mcummings Exp $

DESCRIPTION="PodBrowser is a documentation browser for Perl."
HOMEPAGE="http://jodrell.net/projects/podbrowser"
SRC_URI="http://jodrell.net/files/podbrowser/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
SRC_TEST="do"

RDEPEND="dev-perl/Gtk2-PodViewer
	dev-perl/gtk2-gladexml
	dev-perl/gtk2-perl
	dev-perl/Locale-gettext
	dev-perl/Pod-Simple
	dev-perl/URI
	dev-perl/Gtk2-Ex-PodViewer
	dev-perl/Gtk2-Ex-PrintDialog
	dev-perl/Gtk2-Ex-Simple-List
	>=dev-lang/perl-5.8.0
	>=x11-libs/gtk+-2.6.0
	>=x11-themes/gnome-icon-theme-2.10.0
	>=gnome-base/libglade-2"

DEPEND="${RDEPEND}
	sys-devel/gettext"

src_unpack() {
	unpack ${A}
	cp ${FILESDIR}/Makefile.new ${S}/Makefile
}
src_compile() {
	 make DESTDIR=${D} PREFIX=/usr  || die "emake failed"
}

src_install() {
	make PREFIX=/usr DESTDIR=${D} install || die
}