# $Id: Portfile 30557 2007-10-31 07:05:23Z ryandesign@macports.org $

PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		{gd ruby-GD} 0.7.4 extconf.rb {readme.en sample doc}
maintainers		nomaintainer
description		GD library for ruby
long_description	An extension library to use Thomas Boutell's gd \
                    graphics library from Ruby.  You can create PNG \
                    or JPEG images with your Ruby script.  gconf, \
                    gnomevfs and more.
categories-append	graphics
checksums		md5 57d4da0a98ee47445e5fa1aa7252640a
homepage        http://tam.0xfa.com/
master_sites    ${homepage}ruby-gd/ \
                http://raa.ruby-lang.org/cache/ruby-gd/

worksrcdir      ${ruby.filename}-${version}
distname        ${ruby.filename}-${version}-1
configure.args  --with-xpm --with-ttf --with-jpeg --with-freetype --enable-gd2_0
platforms		darwin

depends_lib	port:gd2

patchfiles patch-extconf.rb.diff
