blob: faabce4dd2b002fb189b0d8ada1bd8cd17da2669 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/refe/refe-0.8.0-r1.ebuild,v 1.4 2013/07/13 19:09:50 ago Exp $
EAPI="2"
USE_RUBY="ruby18 ruby19 ree18 jruby"
inherit ruby-ng
DESCRIPTION="ReFe is an interactive reference for Japanese Ruby manual"
HOMEPAGE="http://www.loveruby.net/ja/prog/refe.html"
SRC_URI="http://www.loveruby.net/archive/refe/${P}-withdoc.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ppc64 x86"
IUSE=""
RUBY_PATCHES=( "${FILESDIR}/${P}-ruby19.patch" )
each_ruby_configure() {
${RUBY} setup.rb config --data-dir="/usr/share" || die
}
each_ruby_compile() {
${RUBY} setup.rb setup || die
}
each_ruby_install() {
${RUBY} setup.rb install --prefix="${D}" || die
}
all_ruby_install() {
dodoc ChangeLog NEWS README* TODO || die
}
|