2010-09-10 03:31:12 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Chmox < Formula
|
2010-09-10 03:31:12 +00:00
|
|
|
head 'cvs://:pserver:anonymous@chmox.cvs.sourceforge.net:/cvsroot/chmox:Sources'
|
|
|
|
homepage 'http://chmox.sourceforge.net'
|
|
|
|
|
2012-08-24 20:40:24 +00:00
|
|
|
depends_on :xcode # For working xcodebuild.
|
|
|
|
|
2010-09-10 03:31:12 +00:00
|
|
|
def install
|
2011-03-03 20:29:10 +00:00
|
|
|
system "xcodebuild SYMROOT=build"
|
2010-09-10 03:31:12 +00:00
|
|
|
prefix.install "build/Default/Chmox.app"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Chmox.app installed to:
|
|
|
|
#{prefix}
|
|
|
|
Use \"brew linkapps\" to symlink into ~/Applications.
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|