summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office')
-rw-r--r--app-office/rabbit/ChangeLog7
-rw-r--r--app-office/rabbit/rabbit-0.6.3.ebuild59
2 files changed, 65 insertions, 1 deletions
diff --git a/app-office/rabbit/ChangeLog b/app-office/rabbit/ChangeLog
index aa39658417bd..a95826be93d0 100644
--- a/app-office/rabbit/ChangeLog
+++ b/app-office/rabbit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/rabbit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/ChangeLog,v 1.6 2009/09/14 17:50:11 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/ChangeLog,v 1.7 2009/12/20 11:10:12 graaff Exp $
+
+*rabbit-0.6.3 (20 Dec 2009)
+
+ 20 Dec 2009; Hans de Graaff <graaff@gentoo.org> +rabbit-0.6.3.ebuild:
+ Version bump. Remove obsolete virtual/ruby dependency.
14 Sep 2009; Hans de Graaff <graaff@gentoo.org> -rabbit-0.5.2.ebuild:
Remove old version.
diff --git a/app-office/rabbit/rabbit-0.6.3.ebuild b/app-office/rabbit/rabbit-0.6.3.ebuild
new file mode 100644
index 000000000000..f9137a7c0fde
--- /dev/null
+++ b/app-office/rabbit/rabbit-0.6.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/rabbit-0.6.3.ebuild,v 1.1 2009/12/20 11:10:12 graaff Exp $
+
+inherit ruby elisp-common eutils
+
+DESCRIPTION="An application to do presentation with RD document"
+HOMEPAGE="http://www.cozmixng.org/~rwiki/?cmd=view;name=Rabbit"
+SRC_URI="http://www.cozmixng.org/~kou/download/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls gs gnome-print migemo tgif enscript emacs"
+
+DEPEND="
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}
+ dev-ruby/ruby-gnome2
+ >=dev-ruby/ruby-gdkpixbuf2-0.15.0
+ dev-ruby/rdtool
+ nls? ( dev-ruby/ruby-gettext )
+ gs? ( virtual/ghostscript )
+ gnome-print? ( gnome-base/libgnomeprint )
+ migemo? ( app-text/migemo )
+ enscript? ( app-text/enscript )
+ tgif? ( media-gfx/tgif )"
+
+src_compile() {
+ ruby_src_compile
+
+ if use emacs; then
+ cd "${S}/misc/emacs"
+ elisp-compile rabbit-mode.el
+ fi
+}
+
+src_test() {
+ test/run-test.rb
+}
+
+src_install() {
+ ${RUBY} setup.rb install --prefix="${D}"
+ erubydoc
+
+ if use emacs; then
+ cd "${S}/misc/emacs"
+ elisp-install rabbit-mode rabbit-mode.el{,c}
+ elisp-site-file-install "${FILESDIR}/50rabbit-mode-gentoo.el"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}