/[gentoo-x86]/app-office/rabbit/rabbit-0.6.3.ebuild
Gentoo

Contents of /app-office/rabbit/rabbit-0.6.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 12 11:44:42 2011 UTC (3 years, 4 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old versions.

(Portage version: 2.1.9.42/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/rabbit-0.6.3.ebuild,v 1.2 2009/12/26 19:20:29 pva Exp $
4
5 inherit ruby elisp-common eutils
6
7 DESCRIPTION="An application to do presentation with RD document"
8 HOMEPAGE="http://www.cozmixng.org/~rwiki/?cmd=view;name=Rabbit"
9 SRC_URI="http://www.cozmixng.org/~kou/download/${P}.tar.gz"
10
11 LICENSE="Ruby"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="nls gs gnome-print migemo tgif enscript emacs"
15
16 DEPEND="
17 emacs? ( virtual/emacs )"
18 RDEPEND="${DEPEND}
19 dev-ruby/ruby-gnome2
20 >=dev-ruby/ruby-gdkpixbuf2-0.15.0
21 dev-ruby/rdtool
22 nls? ( dev-ruby/ruby-gettext )
23 gs? ( app-text/ghostscript-gpl )
24 gnome-print? ( gnome-base/libgnomeprint )
25 migemo? ( app-text/migemo )
26 enscript? ( app-text/enscript )
27 tgif? ( media-gfx/tgif )"
28
29 src_compile() {
30 ruby_src_compile
31
32 if use emacs; then
33 cd "${S}/misc/emacs"
34 elisp-compile rabbit-mode.el
35 fi
36 }
37
38 src_test() {
39 test/run-test.rb
40 }
41
42 src_install() {
43 ${RUBY} setup.rb install --prefix="${D}"
44 erubydoc
45
46 if use emacs; then
47 cd "${S}/misc/emacs"
48 elisp-install rabbit-mode rabbit-mode.el{,c}
49 elisp-site-file-install "${FILESDIR}/50rabbit-mode-gentoo.el"
50 fi
51 }
52
53 pkg_postinst() {
54 use emacs && elisp-site-regen
55 }
56
57 pkg_postrm() {
58 use emacs && elisp-site-regen
59 }

  ViewVC Help
Powered by ViewVC 1.1.20