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

ruby.setup		{algorithm-diff diff} 0.4 install.rb {README doc samples}
revision		2
maintainers		darwinports@opendarwin.org
description		diff algorithm for arrays in Ruby
long_description	The diff algorithm computes the differences between \
					two arrays of elements, like the unix program \
					\"diff\". It can diff Arrays by each element or \
					Strings by each character, or your own class if you \
					implement the interface. The algorithm is complete, \
					stable (TestUnit test available), but the interface \
					may change before a 1.0 release.
homepage		http://rubynet.org/mirrors/diff/
master_sites	${homepage}
checksums		md5 3e832de40dc1866dddc64978fe67e4c8
platforms		darwin

test.run			yes
test.dir			${worksrcpath}/test
test.cmd			${ruby.bin} -I../lib test_diff.rb
test.target

