/[gentoo-x86]/dev-ruby/coderay/coderay-0.9.2_pre455.ebuild
Gentoo

Contents of /dev-ruby/coderay/coderay-0.9.2_pre455.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jun 14 19:41:07 2010 UTC (4 years, 4 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20