Added formula chcase

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Rick Fletcher 2010-02-03 14:07:16 -08:00 committed by Adam Vandenberg
parent 8bea1715ab
commit 8d1031428e
1 changed files with 24 additions and 0 deletions

24
Formula/chcase.rb Normal file
View File

@ -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