diff options
author | Tom William Payne <twp@gentoo.org> | 2003-04-10 14:28:59 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2003-04-10 14:28:59 +0000 |
commit | 96764691717de83b10c9b16a0c783a9ea7980e71 (patch) | |
tree | 75f99c8d206656f1d63b2a13ff9d75a34092cade /dev-ruby/rdoc/rdoc-0.9.0.ebuild | |
parent | digest fix. (diff) | |
download | gentoo-2-96764691717de83b10c9b16a0c783a9ea7980e71.tar.gz gentoo-2-96764691717de83b10c9b16a0c783a9ea7980e71.tar.bz2 gentoo-2-96764691717de83b10c9b16a0c783a9ea7980e71.zip |
Version bump. Tidied ebuild.
Diffstat (limited to 'dev-ruby/rdoc/rdoc-0.9.0.ebuild')
-rw-r--r-- | dev-ruby/rdoc/rdoc-0.9.0.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/rdoc/rdoc-0.9.0.ebuild b/dev-ruby/rdoc/rdoc-0.9.0.ebuild new file mode 100644 index 000000000000..2c7f75c9bbb2 --- /dev/null +++ b/dev-ruby/rdoc/rdoc-0.9.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-0.9.0.ebuild,v 1.1 2003/04/10 14:28:43 twp Exp $ + +DESCRIPTION="Generates structured HTML documentation from Ruby source" +HOMEPAGE="http://rdoc.sourceforge.net/" +SRC_URI="mirror://sourceforge/rdoc/${P}.tgz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~x86" +IUSE="X" +DEPEND=">=dev-lang/ruby-1.6.5 + X? ( >=media-gfx/graphviz-1.7 )" + +src_compile() { + local myconf + use X && myconf="${myconf} --diagram" + ruby rdoc.rb ${myconf} +} + +src_install() { + DESTDIR=${D} ruby install.rb || die + dodoc ChangeLog EXAMPLE.rb NEW_FEATURES README ToDo + dohtml -r doc + cp -R contrib ${D}/usr/share/doc/${PF}/${DOCDESTTREE} + cp -R etc ${D}/usr/share/doc/${PF}/${DOCDESTTREE} +} |