aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-08 08:49:45 -0700
committerAdam Vandenberg2010-08-08 08:49:45 -0700
commitfdb41a310f793f416444e8edcbbd4f80e39e28db (patch)
tree49acbe4d2dc4b15cc13817dbcc44b8d8db56e389 /Library
parent4ebe5f61742f99ab22d5f627138810c388ebbc13 (diff)
downloadhomebrew-fdb41a310f793f416444e8edcbbd4f80e39e28db.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/scala.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/scala.rb b/Library/Formula/scala.rb
index d59b7ac93..e5415a885 100644
--- a/Library/Formula/scala.rb
+++ b/Library/Formula/scala.rb
@@ -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