summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-11 08:58:19 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-11 08:58:19 +0000
commita575e6a0da2e1f8725b659a731945e89819a5917 (patch)
tree8bad0c8cb8f7849b5c08bcfe0a9d336935eff352
parentset apache herd in metadata.xml (diff)
downloadhistorical-a575e6a0da2e1f8725b659a731945e89819a5917.tar.gz
historical-a575e6a0da2e1f8725b659a731945e89819a5917.tar.bz2
historical-a575e6a0da2e1f8725b659a731945e89819a5917.zip
Convert to ruby-ng. Add USE=doc to make dev-ruby/rdtool dependency optional.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
-rw-r--r--dev-ruby/ruby-svg/ChangeLog10
-rw-r--r--dev-ruby/ruby-svg/Manifest13
-rw-r--r--dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild45
3 files changed, 60 insertions, 8 deletions
diff --git a/dev-ruby/ruby-svg/ChangeLog b/dev-ruby/ruby-svg/ChangeLog
index 2fca348fca0d..6717b9960ad8 100644
--- a/dev-ruby/ruby-svg/ChangeLog
+++ b/dev-ruby/ruby-svg/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-svg
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-svg/ChangeLog,v 1.17 2009/12/24 17:16:04 graaff Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-svg/ChangeLog,v 1.18 2010/07/11 08:58:19 graaff Exp $
+
+*ruby-svg-1.0.3-r2 (11 Jul 2010)
+
+ 11 Jul 2010; Hans de Graaff <graaff@gentoo.org> +ruby-svg-1.0.3-r2.ebuild:
+ Convert to ruby-ng. Add USE=doc to make dev-ruby/rdtool dependency
+ optional.
24 Dec 2009; Hans de Graaff <graaff@gentoo.org> ruby-svg-1.0.3-r1.ebuild:
Remove obsolete virtual/ruby dependency.
diff --git a/dev-ruby/ruby-svg/Manifest b/dev-ruby/ruby-svg/Manifest
index 55e06cf4e391..e41a13710f72 100644
--- a/dev-ruby/ruby-svg/Manifest
+++ b/dev-ruby/ruby-svg/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST ruby-svg-1.0.3.tar.gz 22839 RMD160 8a7cee9d559b31ed0c671492d8ab872b72377d99 SHA1 7cd2f59beb8728e0822d8b6d61ffac2676b8f94c SHA256 cf8a8358a9a468318f733367649fdb75c02fec23077946ccc2f0dda9e503e919
EBUILD ruby-svg-1.0.3-r1.ebuild 823 RMD160 97befadb6e7c8e2b49c198ae2452fec6cb2086f9 SHA1 9b31ce716a021d14f4954b5075e48944b5499f99 SHA256 f6e4ecfd81a1a942684283f9754f79842d515fef50804df88818d3975a1d85fe
-MISC ChangeLog 1916 RMD160 6f7eefe42d0c3ee3865d55bded6a69d0f0c5c0d3 SHA1 c5e6c0365022acc5a53cb5d8d9746ff5e0d097d3 SHA256 eca27a91fdcbf26fd2bb835e54e1182e93df263035647f2d2c7a38a7d2c88a8b
+EBUILD ruby-svg-1.0.3-r2.ebuild 1015 RMD160 9deb9c4427115657d674e14093559860b9c8d68e SHA1 d17e28f81f00b32ee2dc410ef1e5de7e05df30d2 SHA256 7dca8789785441e8c1fb2e9134d8703a1fb7d0066499e7bc22b5c80637ac8c42
+MISC ChangeLog 2109 RMD160 a8490c0f38aee6f0d3f01a5ee5e8d27dc1629259 SHA1 8552df1dfd936386a69d16d92a0ec1efd579b250 SHA256 73d1dbe39763599877053fd71e9b117822169fc8fbccb603e72e81b914d6faab
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkszodoACgkQeM7EJeUH71MT7QCfR4hczin7bdTx8kiQzuMOqBVS
-ngEAniJ3DJaitr1QS4SEOgfUxvl7sxCi
-=agAw
+iF4EAREIAAYFAkw5h7EACgkQZihJkut28SuVmAD/S1ZmUQiEao7qW9m6hOZBr4kb
+deadqFEy2LW316q+6QABAMqaW6cytMiY+MMuYnOp/CsFz75WsObwRqiJpVwx7ee/
+=7x0B
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild b/dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..f75301ae4a6c
--- /dev/null
+++ b/dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild,v 1.1 2010/07/11 08:58:19 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="Ruby SVG Generator"
+HOMEPAGE="http://ruby-svg.sourceforge.jp/"
+SRC_URI="http://downloads.sourceforge.jp/ruby-svg/2288/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc examples"
+
+ruby_add_bdepend "doc? ( dev-ruby/rdtool )"
+
+each_ruby_configure() {
+ ${RUBY} install.rb config --prefix=/usr || die
+}
+
+each_ruby_compile() {
+ ${RUBY} install.rb setup || die
+}
+
+each_ruby_install() {
+ ${RUBY} install.rb config --prefix="${D}"/usr || die
+ ${RUBY} install.rb install || die
+}
+
+all_ruby_install() {
+ if use doc ; then
+ rd2 README.en.rd > README.en.html
+ rd2 README.ja.rd > README.ja.html
+
+ dohtml *.html || die
+ fi
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins sample/*
+ fi
+}