# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Oct 2010; Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
+ ruby-gd2-1.1.1-r1.ebuild, +files/ruby-gd2-1.1.1-raketasks-gentoo.patch:
+ Don't install the COPYING (COPYING.html) file with rdoc (by using a
+ Gentoo-specific patch).
+
14 Oct 2010; Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
ruby-gd2-1.1.1-r1.ebuild:
Use RUBY_PATCHES instead of all_ruby_prepare().
--- /dev/null
+Author: Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
+Date: 2010/10/22
+Purpose: Don't install COPYING.html because that duplicates information already available on a Gentoo system.
+
+diff -r b44a10b352b2 -r 381747a63004 Rakefile
+--- a/Rakefile Fri Oct 22 11:59:07 2010 -0400
++++ b/Rakefile Fri Oct 22 11:59:25 2010 -0400
+@@ -35,7 +35,7 @@
+
+ Rake::RDocTask.new do |rd|
+ rd.main = 'README'
+- rd.rdoc_files.include('README', 'COPYING', 'lib/**/*.rb')
++ rd.rdoc_files.include('README', 'lib/**/*.rb')
+ rd.options << '--all'
+ end
ruby_add_bdepend "doc? ( virtual/ruby-rdoc )"
-RUBY_PATCHES=( ${P}-raketasks.patch )
+RUBY_PATCHES=( ${P}-raketasks.patch ${P}-raketasks-gentoo.patch )