diff options
author | Caleb Tennis <caleb@gentoo.org> | 2006-01-12 13:35:39 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2006-01-12 13:35:39 +0000 |
commit | a5951eb0d37815cb71174993d1508ad5e4fc3bf7 (patch) | |
tree | efdc09a7ceb6e1af3c6c09cb128c5f914369bbc1 /dev-lang | |
parent | koffice gcc41 fix (diff) | |
download | gentoo-2-a5951eb0d37815cb71174993d1508ad5e4fc3bf7.tar.gz gentoo-2-a5951eb0d37815cb71174993d1508ad5e4fc3bf7.tar.bz2 gentoo-2-a5951eb0d37815cb71174993d1508ad5e4fc3bf7.zip |
Install the sample directory into DOCDIR if the examples use flag is on - bug #118181
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ruby/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/ruby/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/ruby/ruby-1.8.4-r1.ebuild | 9 |
3 files changed, 13 insertions, 4 deletions
diff --git a/dev-lang/ruby/ChangeLog b/dev-lang/ruby/ChangeLog index 87918bad354e..7c29073a9408 100644 --- a/dev-lang/ruby/ChangeLog +++ b/dev-lang/ruby/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/ruby # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.176 2006/01/02 21:26:27 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ChangeLog,v 1.177 2006/01/12 13:35:39 caleb Exp $ + + 12 Jan 2006; Caleb Tennis <caleb@gentoo.org> ruby-1.8.4-r1.ebuild: + Install the sample directory into DOCDIR if the examples use flag is on - + bug #118181 02 Jan 2006; Caleb Tennis <caleb@gentoo.org> ruby-1.8.3.ebuild, ruby-1.8.4.ebuild, ruby-1.8.4-r1.ebuild: diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index ac3c581f0126..5c2a9c49caeb 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -17,5 +17,5 @@ MD5 3f3ef53019f559def811f446ba1b0f04 ruby-1.8.2-r1.ebuild 3753 MD5 a0045c7bdab6743aede398ec740b44ae ruby-1.8.2-r2.ebuild 3917 MD5 e847e0e7a41e6a1492eb66edab66a10d ruby-1.8.2.ebuild 3449 MD5 ce1bfc8480546a10c83a8c3b77bb5e22 ruby-1.8.3.ebuild 3687 -MD5 18696d3d96dfd09201011b32a7743dd4 ruby-1.8.4-r1.ebuild 3806 +MD5 93e27204b80a35688f8a0ce024de352d ruby-1.8.4-r1.ebuild 3928 MD5 1ca4cc0bd209f1351a336cf23e8b499c ruby-1.8.4.ebuild 3761 diff --git a/dev-lang/ruby/ruby-1.8.4-r1.ebuild b/dev-lang/ruby/ruby-1.8.4-r1.ebuild index a8006132a588..49fe9353c798 100644 --- a/dev-lang/ruby/ruby-1.8.4-r1.ebuild +++ b/dev-lang/ruby/ruby-1.8.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.4-r1.ebuild,v 1.2 2006/01/02 21:26:27 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.4-r1.ebuild,v 1.3 2006/01/12 13:35:39 caleb Exp $ ONIGURUMA="onigd2_5_0" @@ -15,7 +15,7 @@ LICENSE="Ruby" SLOT="1.8" # please keep sorted KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="socks5 tcltk cjk doc threads" +IUSE="socks5 tcltk cjk doc threads examples" RDEPEND="virtual/libc >=sys-libs/gdbm-1.8.0 @@ -104,6 +104,11 @@ src_install() { make DESTDIR=${D} install-doc || die "make install-doc failed" fi + if use examples; then + dodir ${ROOT}usr/share/doc/${PF} + cp -dpPR sample ${D}/${ROOT}usr/share/doc/${PF} + fi + if use ppc-macos ; then dosym /usr/lib/libruby${SLOT/./}.${PV%_*}.dylib /usr/lib/libruby.${PV%.*}.dylib dosym /usr/lib/libruby${SLOT/./}.${PV%_*}.dylib /usr/lib/libruby.${PV%_*}.dylib |