summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-05 18:39:21 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-05 18:39:21 +0000
commit7a4a73f6b497d34c021271b2335694e14fd19857 (patch)
tree36f69202bdf2ea0887cf16e5e37073322ba67024 /dev-ruby/rubymail
parentVersion bump with translation updates and fixes. Remove old. (diff)
downloadgentoo-2-7a4a73f6b497d34c021271b2335694e14fd19857.tar.gz
gentoo-2-7a4a73f6b497d34c021271b2335694e14fd19857.tar.bz2
gentoo-2-7a4a73f6b497d34c021271b2335694e14fd19857.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rubymail')
-rw-r--r--dev-ruby/rubymail/ChangeLog9
-rw-r--r--dev-ruby/rubymail/rubymail-1.0.0-r1.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-ruby/rubymail/ChangeLog b/dev-ruby/rubymail/ChangeLog
index 29c5bdbf9ec7..2d35125683ff 100644
--- a/dev-ruby/rubymail/ChangeLog
+++ b/dev-ruby/rubymail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rubymail
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubymail/ChangeLog,v 1.39 2009/12/20 14:15:14 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubymail/ChangeLog,v 1.40 2010/07/05 18:39:21 graaff Exp $
+
+*rubymail-1.0.0-r1 (04 Jul 2010)
+
+ 04 Jul 2010; Hans de Graaff <graaff@gentoo.org> +rubymail-1.0.0-r1.ebuild:
+ Convert to ruby-ng
20 Dec 2009; Hans de Graaff <graaff@gentoo.org> rubymail-1.0.0.ebuild:
Remove obsolete virtual/ruby dependency.
diff --git a/dev-ruby/rubymail/rubymail-1.0.0-r1.ebuild b/dev-ruby/rubymail/rubymail-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..43d1ec726d14
--- /dev/null
+++ b/dev-ruby/rubymail/rubymail-1.0.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubymail/rubymail-1.0.0-r1.ebuild,v 1.1 2010/07/05 18:39:21 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="A mail handling library for Ruby"
+HOMEPAGE="http://raa.ruby-lang.org/project/rubymail/"
+SRC_URI="http://rubyforge.org/frs/download.php/30221/rmail-${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+S="${WORKDIR}/rmail-${PV}"
+
+ruby_add_bdepend "doc? ( dev-ruby/rake )"
+
+each_ruby_configure() {
+ ${RUBY} install.rb config --prefix=/usr || die
+}
+
+each_ruby_compile() {
+ ${RUBY} install.rb setup || die
+}
+
+all_ruby_compile() {
+ rake rdoc || die
+}
+
+each_ruby_test() {
+ ${RUBY} test/runtests.rb || die "runtests.rb failed."
+}
+
+each_ruby_install() {
+ ${RUBY} install.rb config --prefix="${D}/usr" || die
+ ${RUBY} install.rb install || die
+}
+
+all_ruby_install() {
+ dodoc NEWS NOTES README THANKS TODO || die
+ dohtml -r html/* || die
+ cp -r guide "${D}/usr/share/doc/${PF}" || die
+}