aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/chcase.rb
diff options
context:
space:
mode:
authorRick Fletcher2010-02-03 14:07:16 -0800
committerAdam Vandenberg2010-03-29 12:55:34 -0700
commit9c33be2c8c58c0ba00020c2839ead5c3ada5bfe6 (patch)
tree916c54fd06ea913845508246cc1c99edeca76a39 /Library/Formula/chcase.rb
parent2f880e06cff7ce53d61977fc12dc9beb55bae056 (diff)
downloadhomebrew-9c33be2c8c58c0ba00020c2839ead5c3ada5bfe6.tar.bz2
Added formula chcase
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/chcase.rb')
-rw-r--r--Library/Formula/chcase.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/chcase.rb b/Library/Formula/chcase.rb
new file mode 100644
index 000000000..903d1bb40
--- /dev/null
+++ b/Library/Formula/chcase.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+class Chcase <ScriptFileFormula
+ version '2.0'
+ url 'http://www.primaledge.ca/chcase'
+ md5 '6d7e35fd597c60ba5ebbdd8d5e57eee7'
+ homepage 'http://www.primaledge.ca/chcase.html'
+
+ def patches
+ # add a shebang so that brew properly sets it executable
+ DATA
+ end
+end
+
+__END__
+diff --git a/chcase b/chcase
+index 689fc79..93efae8
+--- a/chcase
++++ b/chcase
+@@ -1,3 +1,4 @@
++#!/bin/sh -- # -*- perl -*-
+ eval 'exec perl $0 ${1+"$@"}'
+ if 0;
+ # don't modify below here