Install scala to libexec and link in "bin"

Homebrew policy is to avoid putting jars into "lib",
so moving Scala to a more idiomatic Java install.
master
Adam Vandenberg 2010-08-08 08:49:45 -07:00
parent b8990a24b9
commit 9e86e99c57
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@ class Scala <Formula
def install
rm_f Dir["bin/*.bat"]
doc.install Dir['doc/*']
man1.install Dir['man/man1/*']
prefix.install Dir['*']
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each { |f| ln_s f, bin }
end
end