diff options
Diffstat (limited to 'dev-ruby/mustache')
-rw-r--r-- | dev-ruby/mustache/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/mustache/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ruby/mustache/mustache-0.11.2.ebuild | 34 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/mustache/ChangeLog b/dev-ruby/mustache/ChangeLog new file mode 100644 index 000000000000..a91323c96c18 --- /dev/null +++ b/dev-ruby/mustache/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/mustache +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/ChangeLog,v 1.1 2010/09/14 19:03:11 graaff Exp $ + +*mustache-0.11.2 (14 Sep 2010) + + 14 Sep 2010; Hans de Graaff <graaff@gentoo.org> +mustache-0.11.2.ebuild, + +metadata.xml: + Initial import. Dependency of app-text/ronn. + diff --git a/dev-ruby/mustache/metadata.xml b/dev-ruby/mustache/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/mustache/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> diff --git a/dev-ruby/mustache/mustache-0.11.2.ebuild b/dev-ruby/mustache/mustache-0.11.2.ebuild new file mode 100644 index 000000000000..7a9ea71fca24 --- /dev/null +++ b/dev-ruby/mustache/mustache-0.11.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/mustache-0.11.2.ebuild,v 1.1 2010/09/14 19:03:11 graaff Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="man:build" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Mustache is a framework-agnostic way to render logic-free views." +HOMEPAGE="http://mustache.github.com/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "doc? ( app-text/ronn )" + +each_ruby_test() { + ${RUBY} -Ilib -e "Dir['test/*.rb'].each{|f| require f}" +} + +all_ruby_install() { + all_fakegem_install + + doman man/mustache.1 man/mustache.5 +} |