summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-21 21:58:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-21 21:58:29 +0000
commit9044d325dd8c65057eeea5e38b10897baeaa3e60 (patch)
treec7c22f1a5292e8ab0b1c6e5296470a6d5c6ffb8b /dev-ruby/treetop
parentdidn't completely fix vdpau (diff)
downloadgentoo-2-9044d325dd8c65057eeea5e38b10897baeaa3e60.tar.gz
gentoo-2-9044d325dd8c65057eeea5e38b10897baeaa3e60.tar.bz2
gentoo-2-9044d325dd8c65057eeea5e38b10897baeaa3e60.zip
Simplify ebuild.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/treetop')
-rw-r--r--dev-ruby/treetop/ChangeLog6
-rw-r--r--dev-ruby/treetop/treetop-1.4.3.ebuild16
2 files changed, 12 insertions, 10 deletions
diff --git a/dev-ruby/treetop/ChangeLog b/dev-ruby/treetop/ChangeLog
index d84687cef486..c49cb8338b04 100644
--- a/dev-ruby/treetop/ChangeLog
+++ b/dev-ruby/treetop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/treetop
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/ChangeLog,v 1.6 2009/12/16 18:49:51 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/ChangeLog,v 1.7 2009/12/21 21:58:29 flameeyes Exp $
+
+ 21 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ treetop-1.4.3.ebuild:
+ Simplify ebuild.
*treetop-1.4.3 (16 Dec 2009)
diff --git a/dev-ruby/treetop/treetop-1.4.3.ebuild b/dev-ruby/treetop/treetop-1.4.3.ebuild
index 891ab39b736b..42992dec6677 100644
--- a/dev-ruby/treetop/treetop-1.4.3.ebuild
+++ b/dev-ruby/treetop/treetop-1.4.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.3.ebuild,v 1.1 2009/12/16 18:49:51 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.3.ebuild,v 1.2 2009/12/21 21:58:29 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18"
@@ -8,6 +8,9 @@ USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
inherit ruby-fakegem
DESCRIPTION="Treetop is a language for describing languages."
@@ -16,16 +19,11 @@ LICENSE="Ruby"
KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="doc examples"
+IUSE=""
ruby_add_rdepend ">=dev-ruby/polyglot-0.2.5"
all_ruby_install() {
- dodoc README.md
-
- use doc && dodoc -r doc/*
-
- if use examples; then
- cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
- fi
+ docinto examples
+ dodoc -r examples/* || die "Failed installing example files."
}