aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorGeorg Kreimer2012-03-13 19:37:35 -0400
committerAdam Vandenberg2012-03-15 19:45:07 -0700
commit9f6f961720021d08cf2a2d1acda6bed09fc3db5b (patch)
treeec5b2b6084899622e51c41f0823da06de25df756 /Library/Formula
parent6731e5101b0cce017d8d92214e3f4dcdf5e0a7da (diff)
downloadhomebrew-9f6f961720021d08cf2a2d1acda6bed09fc3db5b.tar.bz2
Play 2.0
Version 1.2.4 can be installed from Homebrew-alt: brew install https://raw.github.com/adamv/homebrew-alt/master/versions/play12.rb Closes #10923. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-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