[35996] trunk/dports/ruby

mr_bond at macports.org mr_bond at macports.org
Sun Apr 13 18:30:41 PDT 2008


Revision: 35996
          http://trac.macosforge.org/projects/macports/changeset/35996
Author:   mr_bond at macports.org
Date:     2008-04-13 18:30:40 -0700 (Sun, 13 Apr 2008)

Log Message:
-----------
New port submission, rb-flexmock 0.8.9. Thanks to arsptr:

Added Paths:
-----------
    trunk/dports/ruby/rb-flexmock/
    trunk/dports/ruby/rb-flexmock/Portfile
    trunk/dports/ruby/rb-flexmock/files/
    trunk/dports/ruby/rb-flexmock/files/patch-install.rb

Added: trunk/dports/ruby/rb-flexmock/Portfile
===================================================================
--- trunk/dports/ruby/rb-flexmock/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb-flexmock/Portfile	2008-04-14 01:30:40 UTC (rev 35996)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem			1.0
+PortGroup			ruby 1.0
+
+name				rb-flexmock
+version				0.8.9
+
+homepage			http://rubyforge.org/projects/flexmock/
+master_sites		http://rubyforge.org/frs/download.php/27748/
+distname			flexmock-0.8.0
+extract.suffix		.tgz
+categories-append	devel
+maintainers			internode.on.net:arpstr
+
+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 68b55bcb51a46c630b2f1224aa8b11e4 \
+					sha1 cb14c8a0439ae301d3a21e03337186533b0cdc72 \
+					rmd160 49e5c82d09c294eb9ae3f4c96bc7c562b5fbb6ca
+
+patchfiles			patch-install.rb
+
+configure {}
+build { file mkdir	${destroot}/${ruby.lib}/flexmock/rails }
+
+destroot.cmd		${ruby.bin} install.rb
+destroot.args		""
+destroot.env		DESTDIR="${destroot}/"
+
+depends_lib			port:ruby
\ No newline at end of file

Added: trunk/dports/ruby/rb-flexmock/files/patch-install.rb
===================================================================
--- trunk/dports/ruby/rb-flexmock/files/patch-install.rb	                        (rev 0)
+++ trunk/dports/ruby/rb-flexmock/files/patch-install.rb	2008-04-14 01:30:40 UTC (rev 35996)
@@ -0,0 +1,12 @@
+--- install.rb.orig	2008-04-14 02:57:33.000000000 +0200
++++ install.rb	2008-04-14 03:00:12.000000000 +0200
+@@ -13,7 +13,7 @@
+ end
+ 
+ $ruby = CONFIG['ruby_install_name']
+-$sitedir = CONFIG["sitelibdir"]
++$sitedir = CONFIG["vendorlibdir"]
+ 
+ unless $sitedir
+   version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080413/ffba6821/attachment.html


More information about the macports-changes mailing list