| 1 |
# Copyright 1999-2010 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/term-ansicolor/term-ansicolor-1.0.5-r1.ebuild,v 1.3 2010/10/25 00:18:21 jer Exp $ |
| 4 |
|
| 5 |
EAPI=2 |
| 6 |
USE_RUBY="ruby18 ree18" |
| 7 |
|
| 8 |
RUBY_FAKEGEM_TASK_DOC="" |
| 9 |
RUBY_FAKEGEM_TASK_TEST="tests" |
| 10 |
RUBY_FAKEGEM_EXTRADOC="CHANGES README" |
| 11 |
|
| 12 |
# don't install a cdiff wrapper, collides with app-misc/colordiff (bug |
| 13 |
# #310073). |
| 14 |
RUBY_FAKEGEM_BINWRAP="decolor" |
| 15 |
|
| 16 |
inherit ruby-fakegem |
| 17 |
|
| 18 |
DESCRIPTION="Small Ruby library that colors strings using ANSI escape sequences." |
| 19 |
HOMEPAGE="http://term-ansicolor.rubyforge.org/" |
| 20 |
LICENSE="GPL-2" |
| 21 |
|
| 22 |
KEYWORDS="amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
| 23 |
SLOT="0" |
| 24 |
IUSE="examples" |
| 25 |
|
| 26 |
all_ruby_install() { |
| 27 |
all_fakegem_install |
| 28 |
|
| 29 |
use examples && docinto examples && dodoc examples/* |
| 30 |
} |