summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-11-16 22:12:08 +0000
committerMamoru Komachi <usata@gentoo.org>2003-11-16 22:12:08 +0000
commit2c3e90d89fa92373f98a8481c873b202a5a5b277 (patch)
tree7675381bde1246f5ef085294bd75e9213a1d19dd /dev-ruby
parentAdded emacs IUSE flag. Added shim-ruby18 and amstd to DEPEND. Closing #33558. (diff)
downloadgentoo-2-2c3e90d89fa92373f98a8481c873b202a5a5b277.tar.gz
gentoo-2-2c3e90d89fa92373f98a8481c873b202a5a5b277.tar.bz2
gentoo-2-2c3e90d89fa92373f98a8481c873b202a5a5b277.zip
Added emacs IUSE flag. Added shim-ruby18 and amstd to DEPEND. Closing #33558.
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rdtool/ChangeLog10
-rw-r--r--dev-ruby/rdtool/Manifest7
-rw-r--r--dev-ruby/rdtool/files/50rdtool-gentoo.el5
-rw-r--r--dev-ruby/rdtool/files/digest-rdtool-0.6.14-r11
-rw-r--r--dev-ruby/rdtool/rdtool-0.6.14-r1.ebuild50
-rw-r--r--dev-ruby/rdtool/rdtool-0.6.14.ebuild7
6 files changed, 73 insertions, 7 deletions
diff --git a/dev-ruby/rdtool/ChangeLog b/dev-ruby/rdtool/ChangeLog
index 4b893166c8ef..554f7f2af021 100644
--- a/dev-ruby/rdtool/ChangeLog
+++ b/dev-ruby/rdtool/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/rdtool
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.8 2003/09/07 03:11:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/ChangeLog,v 1.9 2003/11/16 22:12:03 usata Exp $
+
+*rdtool-0.6.14-r1 (17 Nov 2003)
+
+ 17 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> rdtool-0.6.14-r1.ebuild,
+ rdtool-0.6.14.ebuild, files/50rdtool-gentoo.el:
+ Added emacs IUSE flag. DEPENDs on either ruby18 or shim-ruby18 (if you
+ are using shim-ruby18 with ruby16, you don't have to install ruby18).
+ Added amstd DEPEND back. Closing bug #33558.
*rdtool-0.6.14 (06 Sep 2003)
diff --git a/dev-ruby/rdtool/Manifest b/dev-ruby/rdtool/Manifest
index ac23b00e4d64..86dd6ebfdc03 100644
--- a/dev-ruby/rdtool/Manifest
+++ b/dev-ruby/rdtool/Manifest
@@ -1,10 +1,11 @@
-MD5 b5cd0bd65db2bcc9b205486ffabf1723 ChangeLog 1682
+MD5 62c84a9475ef25779112575728ea7405 ChangeLog 2030
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
MD5 6a749792ec96af2e4d6323da7ee97474 rdtool-0.6.11-r1.ebuild 962
MD5 63c5295bebd331bfc3c99fd5aa7767fa rdtool-0.6.11.ebuild 809
-MD5 12f6d75e0abfb009e2949545064c5a9f rdtool-0.6.14.ebuild 763
-MD5 16e9280df1fb3ed918d165eb4a072a24 rdtool-0.6.14-r1.ebuild 791
+MD5 10faafd5c81c055816f254fdc4fb7b85 rdtool-0.6.14.ebuild 775
+MD5 59b2c7d334ee2a317acf9298b70acc59 rdtool-0.6.14-r1.ebuild 1121
MD5 e4ac155f69c7403d52b2a491e8888147 files/digest-rdtool-0.6.11 64
MD5 e4ac155f69c7403d52b2a491e8888147 files/digest-rdtool-0.6.11-r1 64
MD5 41064cf5f81f7c2640dd70e4792df30b files/digest-rdtool-0.6.14 64
MD5 41064cf5f81f7c2640dd70e4792df30b files/digest-rdtool-0.6.14-r1 64
+MD5 a289d9c3c2372213817cc6502ea49a95 files/50rdtool-gentoo.el 174
diff --git a/dev-ruby/rdtool/files/50rdtool-gentoo.el b/dev-ruby/rdtool/files/50rdtool-gentoo.el
new file mode 100644
index 000000000000..cce968bacb70
--- /dev/null
+++ b/dev-ruby/rdtool/files/50rdtool-gentoo.el
@@ -0,0 +1,5 @@
+
+;; site-lisp configuration file for rdtool
+
+(autoload 'rd-mode "rd-mode" "major mode for ruby document formatter RD" t)
+(add-to-list 'auto-mode-alist '("\\.rd$" . rd-mode))
diff --git a/dev-ruby/rdtool/files/digest-rdtool-0.6.14-r1 b/dev-ruby/rdtool/files/digest-rdtool-0.6.14-r1
new file mode 100644
index 000000000000..3ab99459e4f7
--- /dev/null
+++ b/dev-ruby/rdtool/files/digest-rdtool-0.6.14-r1
@@ -0,0 +1 @@
+MD5 908e750737c628e060dfb1468ac8ae62 rdtool-0.6.14.tar.gz 58750
diff --git a/dev-ruby/rdtool/rdtool-0.6.14-r1.ebuild b/dev-ruby/rdtool/rdtool-0.6.14-r1.ebuild
new file mode 100644
index 000000000000..67771e12d08a
--- /dev/null
+++ b/dev-ruby/rdtool/rdtool-0.6.14-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.14-r1.ebuild,v 1.1 2003/11/16 22:12:03 usata Exp $
+
+IUSE="emacs"
+
+inherit ruby elisp-common
+
+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="~x86"
+
+USE_RUBY="any"
+
+DEPEND="|| ( >=dev-lang/ruby-1.8.0
+ ( ~dev-lang/ruby-1.6.8 dev-ruby/shim-ruby18 ) )
+ dev-ruby/amstd
+ emacs? ( virtual/emacs )"
+
+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 [ -n "`use emacs`" ] ; then
+ elisp-install . utils/rd-mode.el
+ elisp-site-file-install ${FILESDIR}/50rdtool-gentoo.el
+ fi
+}
+
+pkg_postinst() {
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+
+ use emacs && elisp-site-regen
+}
diff --git a/dev-ruby/rdtool/rdtool-0.6.14.ebuild b/dev-ruby/rdtool/rdtool-0.6.14.ebuild
index 74c8baa8103c..3e8fba86a54d 100644
--- a/dev-ruby/rdtool/rdtool-0.6.14.ebuild
+++ b/dev-ruby/rdtool/rdtool-0.6.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.14.ebuild,v 1.1 2003/09/07 03:11:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.14.ebuild,v 1.2 2003/11/16 22:12:03 usata Exp $
IUSE=""
@@ -11,9 +11,10 @@ HOMEPAGE="http://www2.pos.to/~tosh/ruby/rdtool/en/index.html"
SRC_URI="http://www2.pos.to/~tosh/ruby/rdtool/archive/${P}.tar.gz"
LICENSE="Ruby GPL-1"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
-DEPEND=">=dev-lang/ruby-1.8.0"
+DEPEND=">=dev-lang/ruby-1.8.0
+ dev-ruby/amstd"
src_unpack() {
unpack ${A}