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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 30 06:41:32 2009 UTC (5 years, 6 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.1.6.13/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2006 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.5.0.ebuild,v 1.1 2006/12/18 00:08:53 pclouds 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="~x86"
14 IUSE="nls gs gnome-print migemo tgif enscript emacs"
15
16 DEPEND="virtual/ruby
17 emacs? ( virtual/emacs )"
18 RDEPEND="${DEPEND}
19 dev-ruby/ruby-gnome2
20 dev-ruby/rdtool
21 nls? ( dev-ruby/ruby-gettext )
22 gs? ( virtual/ghostscript )
23 gnome-print? ( gnome-base/libgnomeprint )
24 migemo? ( app-text/migemo )
25 enscript? ( app-text/enscript )
26 tgif? ( media-gfx/tgif )"
27
28 src_compile() {
29 ruby_src_compile
30
31 if use emacs; then
32 cd "${S}/misc/emacs"
33 elisp-compile rabbit-mode.el
34 fi
35 }
36
37 src_install() {
38 ${RUBY} setup.rb install --prefix="${D}"
39 erubydoc
40
41 if use emacs; then
42 cd "${S}/misc/emacs"
43 elisp-install rabbit-mode rabbit-mode.el{,c}
44 elisp-site-file-install "${FILESDIR}/50rabbit-mode-gentoo.el"
45 fi
46 }
47
48 pkg_postinst() {
49 use emacs && elisp-site-regen
50 }
51
52 pkg_postrm() {
53 use emacs && elisp-site-regen
54 }

  ViewVC Help
Powered by ViewVC 1.1.20