aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/chcase.rb
blob: 5b86a84318fac6f6796a8a91df2e82c0b363b799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Chcase < ScriptFileFormula
  homepage 'http://www.primaledge.ca/chcase.html'
  url 'http://www.primaledge.ca/chcase'
  version '2.0'
  sha1 'ec81ad76d85cf9162d422e801092ddc5e0841e39'

  # add a shebang so that brew properly sets it executable
  patch :DATA
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