From 51584c0d397fc736bd314d91f819430136192415 Mon Sep 17 00:00:00 2001 From: Nguyen Thai Ngoc Duy Date: Mon, 18 Dec 2006 00:08:53 +0000 Subject: [PATCH] New ebuild from Atzm Watanabe Package-Manager: portage-2.1.1 --- app-office/rabbit/ChangeLog | 10 ++++ app-office/rabbit/Manifest | 20 +++++++ .../rabbit/files/50rabbit-mode-gentoo.el | 4 ++ app-office/rabbit/files/digest-rabbit-0.5.0 | 3 ++ app-office/rabbit/metadata.xml | 5 ++ app-office/rabbit/rabbit-0.5.0.ebuild | 54 +++++++++++++++++++ 6 files changed, 96 insertions(+) create mode 100644 app-office/rabbit/ChangeLog create mode 100644 app-office/rabbit/Manifest create mode 100644 app-office/rabbit/files/50rabbit-mode-gentoo.el create mode 100644 app-office/rabbit/files/digest-rabbit-0.5.0 create mode 100644 app-office/rabbit/metadata.xml create mode 100644 app-office/rabbit/rabbit-0.5.0.ebuild diff --git a/app-office/rabbit/ChangeLog b/app-office/rabbit/ChangeLog new file mode 100644 index 000000000000..16b2f4518021 --- /dev/null +++ b/app-office/rabbit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-office/rabbit +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/ChangeLog,v 1.1 2006/12/18 00:08:53 pclouds Exp $ + +*rabbit-0.5.0 (18 Dec 2006) + + 18 Dec 2006; Nguyễn Thái Ngọc Duy + +files/50rabbit-mode-gentoo.el, +metadata.xml, +rabbit-0.5.0.ebuild: + New ebuild from Atzm Watanabe + diff --git a/app-office/rabbit/Manifest b/app-office/rabbit/Manifest new file mode 100644 index 000000000000..d6658c7f0d10 --- /dev/null +++ b/app-office/rabbit/Manifest @@ -0,0 +1,20 @@ +AUX 50rabbit-mode-gentoo.el 183 RMD160 fa13b14d5dc5848b382126a39d888c2bad2a8ce7 SHA1 29c81251b5de394a0d329ae84ca64d3a62211ae0 SHA256 336bbe68430a60c07a0ebd5ecbd748ed3879cef7c85fefe9d74db24610f1f65d +MD5 5e557157ba14383610a3ad189d5712b4 files/50rabbit-mode-gentoo.el 183 +RMD160 fa13b14d5dc5848b382126a39d888c2bad2a8ce7 files/50rabbit-mode-gentoo.el 183 +SHA256 336bbe68430a60c07a0ebd5ecbd748ed3879cef7c85fefe9d74db24610f1f65d files/50rabbit-mode-gentoo.el 183 +DIST rabbit-0.5.0.tar.gz 3614189 RMD160 dad07195321508c7c78cfb28ce539d17078d7ac6 SHA1 5a923e1424bd86c6fa6d771cc90b649b3c1d1bbd SHA256 d0734ecfeab94b39e1041c35f97794d407f896422556fe2970c9600ab257801a +EBUILD rabbit-0.5.0.ebuild 1284 RMD160 8e4f38309493bf0d15e2232930d4eb8178078ad8 SHA1 571df37fef563cf6fa7667f723dac5a8d44d78f4 SHA256 65278fbb30e53780c32ed1bb60a52f8b13d3f340e0539f238cf096c8d9be91aa +MD5 459ed9723e0be5725828972268394ea6 rabbit-0.5.0.ebuild 1284 +RMD160 8e4f38309493bf0d15e2232930d4eb8178078ad8 rabbit-0.5.0.ebuild 1284 +SHA256 65278fbb30e53780c32ed1bb60a52f8b13d3f340e0539f238cf096c8d9be91aa rabbit-0.5.0.ebuild 1284 +MISC ChangeLog 427 RMD160 b28619ccdebc5d42e40b37d53c5cd35010795b77 SHA1 893d79d874d6d99de6bfd3751539cdc1cb80e20b SHA256 17df54e83136cce62404c2df15e00408f3c1ac0421a0cb1ede2738b99bca7a1e +MD5 3ddec4da2d0ad26904ae9676bf8e4168 ChangeLog 427 +RMD160 b28619ccdebc5d42e40b37d53c5cd35010795b77 ChangeLog 427 +SHA256 17df54e83136cce62404c2df15e00408f3c1ac0421a0cb1ede2738b99bca7a1e ChangeLog 427 +MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 +MD5 b522b82d2c47bc548a6607f0f577ab5e metadata.xml 158 +RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 metadata.xml 158 +SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 metadata.xml 158 +MD5 02d3f564db4e91840e0e7aa366ac0a5a files/digest-rabbit-0.5.0 241 +RMD160 9bc15c1f00fef7b9992cb5e05b87d88ca16c8063 files/digest-rabbit-0.5.0 241 +SHA256 a18a24d15029a93f75848142469b74047f125a06f98dcf92e77e9b251d86bd46 files/digest-rabbit-0.5.0 241 diff --git a/app-office/rabbit/files/50rabbit-mode-gentoo.el b/app-office/rabbit/files/50rabbit-mode-gentoo.el new file mode 100644 index 000000000000..52d573d67ab2 --- /dev/null +++ b/app-office/rabbit/files/50rabbit-mode-gentoo.el @@ -0,0 +1,4 @@ +;; site-lisp configuration file for rabbit-mode + +(autoload 'rabbit-mode "rabbit-mode" "major mode for Rabbit" t) +(add-to-list 'auto-mode-alist '("\\.\\(rbt\\|rab\\)$" . rabbit-mode)) diff --git a/app-office/rabbit/files/digest-rabbit-0.5.0 b/app-office/rabbit/files/digest-rabbit-0.5.0 new file mode 100644 index 000000000000..79c2e7b07bc5 --- /dev/null +++ b/app-office/rabbit/files/digest-rabbit-0.5.0 @@ -0,0 +1,3 @@ +MD5 043a61155fea4b3d05d5dc9d0453fb9f rabbit-0.5.0.tar.gz 3614189 +RMD160 dad07195321508c7c78cfb28ce539d17078d7ac6 rabbit-0.5.0.tar.gz 3614189 +SHA256 d0734ecfeab94b39e1041c35f97794d407f896422556fe2970c9600ab257801a rabbit-0.5.0.tar.gz 3614189 diff --git a/app-office/rabbit/metadata.xml b/app-office/rabbit/metadata.xml new file mode 100644 index 000000000000..0040b1162894 --- /dev/null +++ b/app-office/rabbit/metadata.xml @@ -0,0 +1,5 @@ + + + + ruby + diff --git a/app-office/rabbit/rabbit-0.5.0.ebuild b/app-office/rabbit/rabbit-0.5.0.ebuild new file mode 100644 index 000000000000..25082e6df631 --- /dev/null +++ b/app-office/rabbit/rabbit-0.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/rabbit/rabbit-0.5.0.ebuild,v 1.1 2006/12/18 00:08:53 pclouds 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="~x86" +IUSE="nls gs gnome-print migemo tgif enscript emacs" + +DEPEND="virtual/ruby + emacs? ( virtual/emacs )" +RDEPEND="${DEPEND} + dev-ruby/ruby-gnome2 + 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_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 +} -- 2.26.2