| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubyforge/rubyforge-2.0.4-r2.ebuild,v 1.12 2012/11/06 16:51:16 jer Exp $ |
| 4 |
|
| 5 |
EAPI=2 |
| 6 |
|
| 7 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
| 8 |
|
| 9 |
RUBY_FAKEGEM_TASK_DOC="docs" |
| 10 |
RUBY_FAKEGEM_DOCDIR="doc" |
| 11 |
RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" |
| 12 |
|
| 13 |
inherit ruby-fakegem |
| 14 |
|
| 15 |
DESCRIPTION="Simplistic script which automates a limited set of rubyforge operations" |
| 16 |
HOMEPAGE="http://codeforpeople.rubyforge.org/rubyforge/" |
| 17 |
|
| 18 |
LICENSE="MIT" |
| 19 |
SLOT="0" |
| 20 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
| 21 |
IUSE="" |
| 22 |
|
| 23 |
ruby_add_rdepend '>=dev-ruby/json-1.1.7' |
| 24 |
|
| 25 |
ruby_add_bdepend " |
| 26 |
doc? ( dev-ruby/hoe ) |
| 27 |
test? ( |
| 28 |
virtual/ruby-test-unit |
| 29 |
virtual/ruby-ssl |
| 30 |
dev-ruby/hoe |
| 31 |
)" |
| 32 |
|
| 33 |
all_ruby_prepare() { |
| 34 |
sed -i 's/json_pure/json/' "${WORKDIR}"/all/metadata || die "Unable to fix metadata." |
| 35 |
} |