7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
24 lines
490 B
Ruby
24 lines
490 B
Ruby
require 'formula'
|
|
|
|
class Chcase <ScriptFileFormula
|
|
url 'http://www.primaledge.ca/chcase'
|
|
version '2.0'
|
|
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
|