# $Id: Portfile 74844 2011-01-03 20:28:16Z jmr@macports.org $

PortSystem		1.0
PortGroup		ruby 1.0

set docs {AUTHORS COPYING ChangeLog README THANKS examples}
ruby.setup		{gsl rb-gsl} 1.14.5 setup.rb $docs rubyforge:73285
maintainers		nomaintainer
description		Ruby interface to the GSL
long_description	RubyGSL is a ruby interface to the \
  GSL (GNU Scientific Library), for numerical computing with Ruby.
categories-append   math
extract.suffix      .tgz
checksums		    md5 f612a681da15a02fdd9b1a98c0bfec7a \
                    sha1 96982751db9489aece90534555c731e8b4e3a143 \
                    rmd160 f1fc68476f17ec599c27332f0e7ffac58a20b892
platforms		    darwin
depends_lib-append     port:gsl

variant narray description {Build with NArray} {
  depends_lib-append port:rb-narray
  configure.args-append \
    -- --with-narray-include=${ruby.archlib}
}
