diff options
Diffstat (limited to 'dev-ruby/gruff/gruff-0.3.4.ebuild')
-rw-r--r-- | dev-ruby/gruff/gruff-0.3.4.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-ruby/gruff/gruff-0.3.4.ebuild b/dev-ruby/gruff/gruff-0.3.4.ebuild new file mode 100644 index 000000000000..a6c6e8a53946 --- /dev/null +++ b/dev-ruby/gruff/gruff-0.3.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.3.4.ebuild,v 1.1 2008/10/06 16:08:32 graaff Exp $ + +inherit gems + +DESCRIPTION="A ruby library for creating pretty graphs and charts" +HOMEPAGE="http://rubyforge.org/projects/gruff/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~ia64 ~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-lang/ruby-1.8.2 + >=dev-ruby/hoe-1.7.0 + dev-ruby/rmagick" + +pkg_setup() { + if ! built_with_use media-gfx/imagemagick truetype ; then + eerror "media-gfx/imagemagick must be built with the truetype USE flag" + eerror "in order for gruff to create graphics with text." + eerror "Please re-emerge imagemagick with the truetype USE flag enabled." + die "imagemagick does not have the truetype USE flag enabled" + fi +} |