2010-04-17 11:49:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Play < Formula
|
2011-05-04 12:03:47 +00:00
|
|
|
url 'http://download.playframework.org/releases/play-1.2.1.zip'
|
2010-04-17 11:49:53 +00:00
|
|
|
homepage 'http://www.playframework.org/'
|
2011-05-04 12:03:47 +00:00
|
|
|
md5 '6974014f265b16e926e5dd5587573fea'
|
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
|