summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/podbrowser/podbrowser-0.12-r1.ebuild')
-rw-r--r--app-doc/podbrowser/podbrowser-0.12-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/app-doc/podbrowser/podbrowser-0.12-r1.ebuild b/app-doc/podbrowser/podbrowser-0.12-r1.ebuild
new file mode 100644
index 000000000000..b03a905a9e37
--- /dev/null
+++ b/app-doc/podbrowser/podbrowser-0.12-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/podbrowser/podbrowser-0.12-r1.ebuild,v 1.1 2011/03/23 08:51:17 tove Exp $
+
+EAPI=3
+
+inherit eutils
+
+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-gladexml
+ dev-perl/gtk2-perl
+ dev-perl/HTML-Parser
+ dev-perl/Locale-gettext
+ virtual/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[-build]
+ >=x11-libs/gtk+-2.6.0:2
+ >=x11-themes/gnome-icon-theme-2.10.0
+ >=gnome-base/libglade-2:2.0"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch "${FILESDIR}"/missing_icon.patch
+ cp "${FILESDIR}"/Makefile.new "${S}"/Makefile
+}
+
+src_compile() {
+ emake DESTDIR="${D}" PREFIX=/usr || die "emake failed"
+}
+
+src_install() {
+ emake PREFIX=/usr DESTDIR="${D}" install || die
+}