blob: 3156cf4260850b529ea21c02a09e3fbaff063cec (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.11-r1.ebuild,v 1.3 2003/09/07 03:11:16 agriffis Exp $
DESCRIPTION="A multipurpose documentation format for Ruby"
HOMEPAGE="http://www2.pos.to/~tosh/ruby/rdtool/en/index.html"
SRC_URI="http://www2.pos.to/~tosh/ruby/rdtool/archive/${P}.tar.gz"
LICENSE="Ruby GPL-1"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=dev-lang/ruby-1.8.0
>=dev-ruby/racc-1.3
dev-ruby/amstd"
# These are part of ruby as of 1.8.0 (06 Sep 2003 agriffis)
# dev-ruby/optparse
# dev-ruby/strscan
src_compile() {
ruby rdtoolconf.rb || die
mv Makefile Makefile.orig
sed -e "s:^\(BIN_DIR = \)\(.*\):\\1${D}\\2:" \
-e "s:^\(SITE_RUBY = \)\(.*\):\\1${D}\\2:" \
Makefile.orig > Makefile
make || die
}
src_install() {
install -m 755 -d ${D}/usr/bin
DESTDIR=${D} make install || die
dodoc HISTORY README.*
}
|