aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/play.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/play.rb b/Library/Formula/play.rb
index 3ecf04caa..214cb1dbf 100644
--- a/Library/Formula/play.rb
+++ b/Library/Formula/play.rb
@@ -2,13 +2,14 @@ require 'formula'
class Play < Formula
homepage 'http://www.playframework.org/'
- url 'http://download.playframework.org/releases/play-1.2.4.zip'
- md5 'ec8789f8cc02927ece536d102f5e649e'
+ url 'http://download.playframework.org/releases/play-2.0.zip'
+ md5 '5b429c991be607c8e41203579c6b506e'
def install
- rm_rf 'python' # we don't need the bundled Python for windows
- rm Dir['*.bat']
+ rm Dir['*.bat'] # remove windows' bat files
libexec.install Dir['*']
+ inreplace libexec+"play", "$dir/", "$dir/../libexec/"
+ inreplace libexec+"play", "dir=`dirname $PRG`", "dir=`dirname $0` && dir=$dir/`dirname $PRG`"
bin.install_symlink libexec+'play'
end
-end
+end \ No newline at end of file