summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-06-20 05:27:55 +0000
committerHans de Graaff <graaff@gentoo.org>2012-06-20 05:27:55 +0000
commit24c53ef08e022aeb37d4cc98face0e2171ddf949 (patch)
treee6a76ce66cf0d065c3ef0dc99670691630f13865 /net-news
parentStop using custom pam.d files from $FILESDIR and use pamd_mimic to properly u... (diff)
downloadgentoo-2-24c53ef08e022aeb37d4cc98face0e2171ddf949.tar.gz
gentoo-2-24c53ef08e022aeb37d4cc98face0e2171ddf949.tar.bz2
gentoo-2-24c53ef08e022aeb37d4cc98face0e2171ddf949.zip
Convert to ruby-ng. Fix documentation warnings, bug 421945.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/raggle/ChangeLog7
-rw-r--r--net-news/raggle/raggle-0.4.4-r2.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/net-news/raggle/ChangeLog b/net-news/raggle/ChangeLog
index dedb7413191c..19072ca2ad63 100644
--- a/net-news/raggle/ChangeLog
+++ b/net-news/raggle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-news/raggle
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/raggle/ChangeLog,v 1.17 2012/04/18 19:04:37 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/raggle/ChangeLog,v 1.18 2012/06/20 05:27:55 graaff Exp $
+
+*raggle-0.4.4-r2 (20 Jun 2012)
+
+ 20 Jun 2012; Hans de Graaff <graaff@gentoo.org> +raggle-0.4.4-r2.ebuild:
+ Convert to ruby-ng. Fix documentation warnings, bug 421945.
18 Apr 2012; Raúl Porcel <armin76@gentoo.org> raggle-0.4.4-r1.ebuild:
Drop sparc keywords
diff --git a/net-news/raggle/raggle-0.4.4-r2.ebuild b/net-news/raggle/raggle-0.4.4-r2.ebuild
new file mode 100644
index 000000000000..8885df7b21eb
--- /dev/null
+++ b/net-news/raggle/raggle-0.4.4-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/raggle/raggle-0.4.4-r2.ebuild,v 1.1 2012/06/20 05:27:55 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+IUSE=""
+
+DESCRIPTION="A console RSS aggregator, written in Ruby"
+HOMEPAGE="http://www.raggle.org/"
+SRC_URI="http://www.raggle.org/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~x86"
+
+ruby_add_rdepend ">=dev-ruby/ncurses-ruby-0.8"
+
+all_ruby_prepare() {
+ sed -i -e 's~/usr/local~${D}/usr~' \
+ -e '/cp -r \${DOCS}/d' \
+ -e "/^DOCDIR/ s/raggle/${PF}/" \
+ Makefile || die "sed failed"
+
+ sed -i -e 's:#!/usr/bin/env ruby:#!/usr/bin/env ruby18:' raggle \
+ || die "sed failed"
+}
+
+each_ruby_install() {
+ DESTDIR="${D}" emake install || die
+}
+
+all_ruby_install() {
+ dodoc AUTHORS BUGS ChangeLog README TODO || die
+}