| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coderay/coderay-0.9.8.ebuild,v 1.8 2012/03/08 15:19:24 ranger Exp $ |
| 4 |
|
| 5 |
EAPI=2 |
| 6 |
|
| 7 |
USE_RUBY="ruby18 ree18 jruby" |
| 8 |
|
| 9 |
RUBY_FAKEGEM_TASK_DOC="doc" |
| 10 |
RUBY_FAKEGEM_DOCDIR="doc" |
| 11 |
|
| 12 |
RUBY_FAKEGEM_EXTRADOC="lib/README" |
| 13 |
|
| 14 |
inherit ruby-fakegem |
| 15 |
|
| 16 |
DESCRIPTION="A Ruby library for syntax highlighting." |
| 17 |
HOMEPAGE="http://coderay.rubychan.de/" |
| 18 |
|
| 19 |
LICENSE="LGPL-2.1" |
| 20 |
SLOT="0" |
| 21 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
| 22 |
IUSE="" |
| 23 |
|
| 24 |
# Redcloth is optional but automagically tested, so we add this |
| 25 |
# dependency to ensure that we get at least a version that works: bug |
| 26 |
# 330621. We use this convoluted way because redcloth isn't available |
| 27 |
# yet for jruby. |
| 28 |
USE_RUBY="${USE_RUBY/jruby/}" ruby_add_bdepend "test? ( >=dev-ruby/redcloth-4.2.2 )" |