aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-webunit/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-20 14:13:01 +0800
committerknu <knu@FreeBSD.org>2001-09-20 14:13:01 +0800
commit6b8990c8540a2ef3354b7ebcf2818848b6785e55 (patch)
treeb09d9e9951fcd9c4527dba68d7251fad2fa81bc7 /www/ruby-webunit/files
parent79446d4d3bb116fb6d67827ea088c21a37bd46be (diff)
downloadfreebsd-ports-gnome-6b8990c8540a2ef3354b7ebcf2818848b6785e55.tar.gz
freebsd-ports-gnome-6b8990c8540a2ef3354b7ebcf2818848b6785e55.tar.zst
freebsd-ports-gnome-6b8990c8540a2ef3354b7ebcf2818848b6785e55.zip
Add ruby-webunit, a Ruby API for automated unit testing of web sites.
Diffstat (limited to 'www/ruby-webunit/files')
-rw-r--r--www/ruby-webunit/files/patch-install.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/ruby-webunit/files/patch-install.rb b/www/ruby-webunit/files/patch-install.rb
new file mode 100644
index 000000000000..b27edc8ff898
--- /dev/null
+++ b/www/ruby-webunit/files/patch-install.rb
@@ -0,0 +1,20 @@
+--- install.rb.orig Thu Jul 26 17:50:49 2001
++++ install.rb Thu Sep 20 14:59:29 2001
+@@ -5,7 +5,7 @@
+ =end
+
+ require 'rbconfig'
+-lib_dir = Config::CONFIG['sitedir']
++lib_dir = File.join(Config::CONFIG['sitedir'], Config::CONFIG['ruby_version'])
+ bin_dir = Config::CONFIG['bindir']
+
+ require 'ftools'
+@@ -23,7 +23,7 @@
+ File::install( path, to, 0644, true )
+ }
+
+-%w( html-parser htmlrepair ).each do |dir|
++%w( ).each do |dir|
+ Dir::chdir( BASEDIR + '/contrib/' + dir )
+ system( 'ruby install.rb' )
+ end