# $Id: Portfile,v 1.2 2005/08/11 21:33:33 rshaw Exp $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		{inline RubyInline} 3.1.0 gnu \
				{README.txt History.txt example.rb example2.rb tutorial}
maintainers		darwinports@opendarwin.org
description		embed C or C++ external module code in Ruby scripts
long_description	Ruby Inline is a quick attempt to create an analog \
					to Perl's Inline::C. It allows you to embed C or C++ \
					external module code in your ruby script directly. \
					The code is compiled and run on the fly when needed. \
					The ruby version isn't near as feature-full as the \
					perl version, but it is neat!
categories-append	devel
homepage		http://www.zenspider.com/ZSS/Products/RubyInline/
master_sites	sourceforge:rubyinline
checksums		md5 c4e07fbd73030224f1e3bea2130335a3
platforms		darwin

patchfiles		patch-Makefile

use_configure	no
build			{}

pre-destroot	{ xinstall -d -m 0755 ${destroot}${ruby.lib} }

test.run		yes
test.args		RUBY=${ruby.bin}
test.target		test bench

