You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/webgen/webgen-0.5.13.ebuild

43 lines
1.3 KiB

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/webgen/webgen-0.5.13.ebuild,v 1.2 2010/07/21 08:32:41 graaff Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc"
RUBY_FAKEGEM_EXTRADOC="AUTHORS ChangeLog THANKS"
RUBY_FAKEGEM_EXTRAINSTALL="data misc"
inherit ruby-fakegem
DESCRIPTION="A template-based static website generator."
HOMEPAGE="http://webgen.rubyforge.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="builder highlight markdown"
# Some tests are broken now, partly due to missing dependencies that
# are optional for the package as a whole. Other broken tests have
# been reported upstream:
# http://rubyforge.org/tracker/index.php?func=detail&aid=28392&group_id=296&atid=1207
# http://rubyforge.org/tracker/index.php?func=detail&aid=28393&group_id=296&atid=1207
RESTRICT="test"
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
ruby_add_rdepend ">=dev-ruby/cmdparse-2.0.0
>=dev-ruby/redcloth-4.1.9
builder? ( >=dev-ruby/builder-2.1.0 )
highlight? ( >=dev-ruby/coderay-0.8.312 )
markdown? ( dev-ruby/maruku )"
all_ruby_install() {
all_fakegem_install
doman man/man1/webgen.1 || die
}