blob: faa9b936009d968d80f9df43a7d712866d9e215d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/coderay/coderay-0.9.2_pre455.ebuild,v 1.1 2010/02/19 10:32:59 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 jruby"
if [ ${PV/_pre} != ${PV} ]; then
# Instead of the standard X.Y.Z.preT form, coderay is released as
# X.Y.Z.T.pre… since we need something sane for our versioning, we
# have to play with it around… sigh!
inherit versionator
prever=$(get_version_component_range 4)
RUBY_FAKEGEM_VERSION="$(get_version_component_range 1-3).${prever#pre}.pre"
fi
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_EXTRADOC="lib/README"
inherit ruby-fakegem
DESCRIPTION="A Ruby library for syntax highlighting."
HOMEPAGE="http://coderay.rubychan.de/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
all_ruby_prepare() {
# By default coderay seems to bundle an unused copy of
# term-ansicolor; we remove it so that we don't clutter with
# bundled libraries, but we don't depend on it since it's
# otherwise unused.
rm -r lib/term || die
}
|