summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-07-07 20:54:42 +0000
committerHans de Graaff <graaff@gentoo.org>2007-07-07 20:54:42 +0000
commit9fe1bd521cf0f5c1a72bbbd01ad604c08be26679 (patch)
treed460b5c102665d6e1d6ac22d01946f94fd8905e0 /dev-ruby/rdtool
parentFix elog messages wrt bug #183689. Add MANPATH to /etc/env.d/90opera. (diff)
downloadgentoo-2-9fe1bd521cf0f5c1a72bbbd01ad604c08be26679.tar.gz
gentoo-2-9fe1bd521cf0f5c1a72bbbd01ad604c08be26679.tar.bz2
gentoo-2-9fe1bd521cf0f5c1a72bbbd01ad604c08be26679.zip
Fix some QA issues and emacs installation as per bug 184348
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-ruby/rdtool')
-rw-r--r--dev-ruby/rdtool/ChangeLog7
-rw-r--r--dev-ruby/rdtool/files/digest-rdtool-0.6.14-r23
-rw-r--r--dev-ruby/rdtool/rdtool-0.6.14-r2.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/dev-ruby/rdtool/ChangeLog b/dev-ruby/rdtool/ChangeLog
index d31a9984eac8..5570e1e7aabb 100644
--- a/dev-ruby/rdtool/ChangeLog
+++ b/dev-ruby/rdtool/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rdtool
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.27 2007/04/14 06:13:10 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.28 2007/07/07 20:54:42 graaff Exp $
+
+*rdtool-0.6.14-r2 (07 Jul 2007)
+
+ 07 Jul 2007; Hans de Graaff <graaff@gentoo.org> +rdtool-0.6.14-r2.ebuild:
+ Fix some QA issues and emacs installation as per bug 184348
14 Apr 2007; Hans de Graaff <graaff@gentoo.org> rdtool-0.6.14-r1.ebuild:
Remove ruby-cvs from dependencies.
diff --git a/dev-ruby/rdtool/files/digest-rdtool-0.6.14-r2 b/dev-ruby/rdtool/files/digest-rdtool-0.6.14-r2
new file mode 100644
index 000000000000..12a2d5f82d83
--- /dev/null
+++ b/dev-ruby/rdtool/files/digest-rdtool-0.6.14-r2
@@ -0,0 +1,3 @@
+MD5 908e750737c628e060dfb1468ac8ae62 rdtool-0.6.14.tar.gz 58750
+RMD160 7522709925a7ff08b4e602dfed8bda88dbda6e77 rdtool-0.6.14.tar.gz 58750
+SHA256 93fc57b50dc0b9a91d434a678870592bb268f746654d9acc7935d20db524a045 rdtool-0.6.14.tar.gz 58750
diff --git a/dev-ruby/rdtool/rdtool-0.6.14-r2.ebuild b/dev-ruby/rdtool/rdtool-0.6.14-r2.ebuild
new file mode 100644
index 000000000000..237d73782c13
--- /dev/null
+++ b/dev-ruby/rdtool/rdtool-0.6.14-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.14-r2.ebuild,v 1.1 2007/07/07 20:54:42 graaff Exp $
+
+inherit elisp-common ruby
+
+DESCRIPTION="A multipurpose documentation format for Ruby"
+HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=rdtool"
+SRC_URI="http://www2.pos.to/~tosh/ruby/rdtool/archive/${P}.tar.gz"
+LICENSE="Ruby GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="emacs"
+
+USE_RUBY="ruby18"
+
+DEPEND=">=dev-lang/ruby-1.8.0
+ dev-ruby/amstd
+ emacs? ( virtual/emacs )"
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:^BIN_DIR = :&$(DESTDIR):' \
+ -e 's:^SITE_RUBY = :&$(DESTDIR):' rdtoolconf.rb \
+ || die "sed failed"
+ mv rdtoolconf.rb extconf.rb
+}
+
+src_install() {
+ dodir /usr/bin
+ ruby_src_install
+
+ if use emacs ; then
+ elisp-install ${PN} utils/rd-mode.el
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}