summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-22 20:11:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-22 20:11:44 +0000
commite118367c941876485c6253128ffdb304d2fcc7d5 (patch)
tree05bb3a1cfa67c01b1df0f9c17f76603ea05bc5cc /games-util
parentRemove old version, drop non-ruby18 support from stable candidate -r1 and add... (diff)
downloadgentoo-2-e118367c941876485c6253128ffdb304d2fcc7d5.tar.gz
gentoo-2-e118367c941876485c6253128ffdb304d2fcc7d5.tar.bz2
gentoo-2-e118367c941876485c6253128ffdb304d2fcc7d5.zip
Add a rough-but-working port to ruby-ng of the ebuild.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/rubygfe/ChangeLog10
-rw-r--r--games-util/rubygfe/rubygfe-0.3.4-r1.ebuild32
-rw-r--r--games-util/rubygfe/rubygfe-0.3.4.ebuild19
3 files changed, 40 insertions, 21 deletions
diff --git a/games-util/rubygfe/ChangeLog b/games-util/rubygfe/ChangeLog
index b3116ca23e5c..671a4aed420f 100644
--- a/games-util/rubygfe/ChangeLog
+++ b/games-util/rubygfe/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-util/rubygfe
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/rubygfe/ChangeLog,v 1.3 2008/02/23 10:12:30 pclouds Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/rubygfe/ChangeLog,v 1.4 2010/05/22 20:11:44 flameeyes Exp $
+
+*rubygfe-0.3.4-r1 (22 May 2010)
+
+ 22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -rubygfe-0.3.4.ebuild, +rubygfe-0.3.4-r1.ebuild:
+ Add a rough-but-working port to ruby-ng of the ebuild.
*rubygfe-0.3.4 (23 Feb 2008)
diff --git a/games-util/rubygfe/rubygfe-0.3.4-r1.ebuild b/games-util/rubygfe/rubygfe-0.3.4-r1.ebuild
new file mode 100644
index 000000000000..af29eeadad95
--- /dev/null
+++ b/games-util/rubygfe/rubygfe-0.3.4-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/rubygfe/rubygfe-0.3.4-r1.ebuild,v 1.1 2010/05/22 20:11:44 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="RubyGFE - A Game File Extractor"
+HOMEPAGE="http://rubyforge.org/projects/rubygfe/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="nls gtk"
+
+ruby_add_rdepend "
+ gtk? ( >=dev-ruby/ruby-gtk2-0.12.0 )
+ nls? ( >=dev-ruby/ruby-gettext-0.8.0 )
+ >=dev-ruby/rubyzip-0.5.7"
+
+each_ruby_install() {
+ ${RUBY} setup.rb install --prefix="${D}" || die
+}
+
+all_ruby_install() {
+ dodoc README HACKING ChangeLog TODO || die
+}
diff --git a/games-util/rubygfe/rubygfe-0.3.4.ebuild b/games-util/rubygfe/rubygfe-0.3.4.ebuild
deleted file mode 100644
index 7283e22f04d2..000000000000
--- a/games-util/rubygfe/rubygfe-0.3.4.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/rubygfe/rubygfe-0.3.4.ebuild,v 1.2 2009/11/23 17:45:56 mr_bones_ Exp $
-
-inherit ruby
-
-DESCRIPTION="RubyGFE -- A Game File Extractor"
-HOMEPAGE="http://rubyforge.org/projects/rubygfe/"
-SRC_URI="http://rubyforge.org/frs/download.php/29936/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="nls gtk"
-
-DEPEND="gtk? ( >=dev-ruby/ruby-gtk2-0.12.0 )
- nls? ( >=dev-ruby/ruby-gettext-0.8.0 )
- >=dev-ruby/rubyzip-0.5.7"