# $Id: Portfile 36451 2008-05-02 18:28:01Z ryandesign@macports.org $

PortSystem			1.0
PortGroup			ruby 1.0

name				rb-mocha
version				0.5.6

homepage			http://mocha.rubyforge.org/
master_sites		http://rubyforge.org/frs/download.php/29657/

distname			mocha-${version}
extract.suffix		.tgz

depends_lib			port:ruby
maintainers			internode.on.net:arpstr
platforms			darwin
categories			ruby devel

description			Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock.
long_description	Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. \
					One of its main advantages is that it allows you to mock and stub methods on real (non-mock) \
					classes and instances.
checksums			md5 ae76bad63f7c3290a5c9e0035402ab77 \
					sha1 a01a1accc577e290550dfe0b85eb446e97ba87c1 \
					rmd160 9d85a2788ba685b05327510898039d4a4792881b


configure {}
build {}
destroot {
	file mkdir "${destroot}/${ruby.lib}"
	system "rsync -a ${worksrcpath}/lib/ ${destroot}/${ruby.lib}"
}
