blob: 0f26dc690f7d192de8998caff0a3dbbfb8a9abc8 (
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
41
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/freeride/freeride-0.6.0.ebuild,v 1.5 2005/02/07 21:42:00 citizen428 Exp $
inherit ruby eutils
DESCRIPTION="FreeRIDE is a pure Ruby Integrated Development Environment."
HOMEPAGE="http://freeride.rubyforge.org/"
SRC_URI="http://rubyforge.org/frs/download.php/256/${P}.tgz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
USE_RUBY="any"
DEPEND="virtual/ruby
>=x11-libs/fox-1.0.27
>=dev-ruby/fxruby-1.0.18
>=x11-libs/fxscintilla-1.49"
#RDEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
# This patch fixes a bug which causes FR to use installdir/config
# instead of ~/.freeride for the config-files.
epatch ${FILESDIR}/${P}-gentoo-properties.diff
}
src_install() {
siteruby=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')
insinto "${siteruby}/${PN}"
doins *.rb || "doins *.rb failed"
cp -R config freebase plugins redist so test \
"${D}${siteruby}/${PN}" || die "cp -R failed"
newbin ${FILESDIR}/freeride.sh freeride || die "dobin failed"
erubydoc
}
|