2010-04-17 11:49:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Play < Formula
|
2011-07-05 09:11:04 +00:00
|
|
|
url 'http://download.playframework.org/releases/play-1.2.2.zip'
|
2010-04-17 11:49:53 +00:00
|
|
|
homepage 'http://www.playframework.org/'
|
2011-07-05 09:11:04 +00:00
|
|
|
md5 'd50f34bacf02f1ebb90eb13920b14346'
|
2010-04-17 11:49:53 +00:00
|
|
|
|
|
|
|
def install
|
2010-11-25 02:41:11 +00:00
|
|
|
rm_rf 'python' # we don't need the bundled Python for windows
|
2010-04-17 11:49:53 +00:00
|
|
|
rm Dir['*.bat']
|
|
|
|
libexec.install Dir['*']
|
|
|
|
bin.mkpath
|
|
|
|
ln_s libexec+'play', bin
|
|
|
|
end
|
|
|
|
end
|