2010-02-03 22:07:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-13 01:43:53 +00:00
|
|
|
class Chcase < ScriptFileFormula
|
2010-02-03 22:07:16 +00:00
|
|
|
url 'http://www.primaledge.ca/chcase'
|
2010-04-07 05:58:35 +00:00
|
|
|
version '2.0'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'ec81ad76d85cf9162d422e801092ddc5e0841e39'
|
2010-02-03 22:07:16 +00:00
|
|
|
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
|