2010-04-17 11:49:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Play < Formula
|
2010-04-17 11:49:53 +00:00
|
|
|
homepage 'http://www.playframework.org/'
|
2012-02-13 00:52:43 +00:00
|
|
|
url 'http://download.playframework.org/releases/play-1.2.4.zip'
|
2011-12-02 18:50:15 +00:00
|
|
|
md5 'ec8789f8cc02927ece536d102f5e649e'
|
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['*']
|
2012-02-13 00:52:43 +00:00
|
|
|
bin.install_symlink libexec+'play'
|
2010-04-17 11:49:53 +00:00
|
|
|
end
|
|
|
|
end
|