summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-05-29 17:13:57 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-05-29 17:13:57 +0000
commit3af8ffd2a4a5726659388aad8678b127750ae657 (patch)
tree714073e732663a06defa3216b3778925899a5693 /dev-ruby
parentAdd ~ia64 wrt #313245 (diff)
downloadgentoo-2-3af8ffd2a4a5726659388aad8678b127750ae657.tar.gz
gentoo-2-3af8ffd2a4a5726659388aad8678b127750ae657.tar.bz2
gentoo-2-3af8ffd2a4a5726659388aad8678b127750ae657.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rbbr/ChangeLog9
-rw-r--r--dev-ruby/rbbr/rbbr-0.6.0-r1.ebuild43
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-ruby/rbbr/ChangeLog b/dev-ruby/rbbr/ChangeLog
index 394a337fef29..492c9a0e7714 100644
--- a/dev-ruby/rbbr/ChangeLog
+++ b/dev-ruby/rbbr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rbbr
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rbbr/ChangeLog,v 1.16 2009/08/22 19:47:18 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rbbr/ChangeLog,v 1.17 2010/05/29 17:13:57 matsuu Exp $
+
+*rbbr-0.6.0-r1 (29 May 2010)
+
+ 29 May 2010; MATSUU Takuto <matsuu@gentoo.org> +rbbr-0.6.0-r1.ebuild:
+ Convert to ruby-ng.
13 Jun 2009; Hans de Graaff <graaff@gentoo.org> rbbr-0.6.0.ebuild:
Fix QA issues.
diff --git a/dev-ruby/rbbr/rbbr-0.6.0-r1.ebuild b/dev-ruby/rbbr/rbbr-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..721fff648b61
--- /dev/null
+++ b/dev-ruby/rbbr/rbbr-0.6.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rbbr/rbbr-0.6.0-r1.ebuild,v 1.1 2010/05/29 17:13:57 matsuu Exp $
+
+EAPI="2"
+
+# ruby-gtk2 has only ruby18
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+MY_P="${P}-withapi"
+DESCRIPTION="Ruby Browser for modules/classes hierarchy and their constants and methods"
+HOMEPAGE="http://ruby-gnome2.sourceforge.jp/hiki.cgi?rbbr"
+SRC_URI="mirror://sourceforge/ruby-gnome2/${MY_P}.tar.gz"
+
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+SLOT="0"
+LICENSE="Ruby"
+IUSE="nls cjk"
+
+ruby_add_rdepend ">=dev-ruby/ruby-gtk2-0.9.1"
+ruby_add_rdepend nls ">=dev-ruby/ruby-gettext-0.5.5"
+ruby_add_rdepend cjk ">=dev-ruby/refe-0.8.0"
+
+S="${WORKDIR}/${MY_P}"
+
+all_ruby_prepare() {
+ # bug #59125
+ rm lib/rbbr/doc/ri2.rb || die "failed to remove ri2.rb"
+}
+
+each_ruby_configure() {
+ ${RUBY} install.rb config || die "install.rb config failed"
+}
+
+each_ruby_compile() {
+ ${RUBY} install.rb setup || die "install.rb setup failed"
+}
+
+each_ruby_install() {
+ ${RUBY} install.rb install --prefix="${D}" || die "install.rb install failed"
+}