PortSystem			1.0
PortGroup			ruby 1.0
PortGroup           github 1.0

github.setup        jimweirich flexmock 0.8.11 flexmock-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
ruby.setup			flexmock 0.8.11 basic_install.rb {}

categories-append	devel
platforms			any
supported_archs     noarch
maintainers			nomaintainer

description			FlexMock is a flexible mocking library for use in unit testing and behavior specification.
long_description	FlexMock is a flexible mocking library for use in unit testing and behavior specification. \
					Mocks are defined with a fluent API that makes mock specifications easy to read and easy to remember.

checksums			md5 cc034dcf5f977f739627187ac6cfc203 \
					sha1 0b62119a7485754a6b81990338afcb745e422aa0 \
					rmd160 12b906eac11a4c288bf87675c2765794aa07cf09

patchfiles			patch-install.rb

use_configure       no
pre-destroot { file mkdir	${destroot}/${ruby.lib}/flexmock/rails }

destroot.args		""
destroot.env		DESTDIR=${destroot}

depends_lib			port:ruby
