aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/phantomjs.rb15
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/Formula/phantomjs.rb b/Library/Formula/phantomjs.rb
index 81512e782..5a8fb3bdb 100644
--- a/Library/Formula/phantomjs.rb
+++ b/Library/Formula/phantomjs.rb
@@ -12,21 +12,12 @@ end
class Phantomjs < Formula
homepage 'http://www.phantomjs.org/'
- url "http://phantomjs.googlecode.com/files/phantomjs-1.5.0-macosx-static.zip"
- sha1 'b87152ce691e7ed1937d30f86bc706a408d47f64'
+ url "http://phantomjs.googlecode.com/files/phantomjs-1.6.0-macosx-static.zip"
+ sha1 '7e4a4f069ffb32ab693d3234a9d67096a7ad23a3'
depends_on SnowLeopardOrNewer.new
- # phantomjs wrapper script to hide dock icon
- # See http://code.google.com/p/phantomjs/issues/detail?id=281
- def script; <<-EOS.undent
- #!/bin/sh
- exec "#{libexec}/phantomjs" "$@"
- EOS
- end
-
def install
- libexec.install 'bin/phantomjs', 'bin/Info.plist'
- (bin+'phantomjs').write script
+ bin.install 'bin/phantomjs'
end
end