mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 13:09:47 -05:00
Scalate 1.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Tweaked comments and whitespace
This commit is contained in:
1 parent
56d6e5da0e
commit
5ded638203
1 file changed
+34
@@ -0,0 +1,34 @@
|
||||
require 'formula'
|
||||
|
||||
class Scalate <Formula
|
||||
url 'http://repo1.maven.org/maven2/org/fusesource/scalate/scalate-distro/1.1/scalate-distro-1.1-unix-bin.tar.gz'
|
||||
version '1.1'
|
||||
homepage 'http://scalate.fusesource.org/'
|
||||
md5 'fbbca51775da58464e1eddd30c736596'
|
||||
|
||||
def startup_script
|
||||
<<-EOS.undent
|
||||
#!/usr/bin/env bash
|
||||
# This startup script for Scalate calls the real startup script installed
|
||||
# to Homebrew's cellar. This avoids issues with local vs. absolute symlinks.
|
||||
|
||||
#{libexec}/bin/scalate $*
|
||||
EOS
|
||||
end
|
||||
|
||||
def install
|
||||
rm_f Dir["bin/*.bat"]
|
||||
|
||||
prefix.install %w{ LICENSE.txt ReadMe.html }
|
||||
libexec.install Dir['*']
|
||||
|
||||
(bin+'scalate').write startup_script
|
||||
end
|
||||
|
||||
def caveats
|
||||
<<-EOS.undent
|
||||
Software was installed to:
|
||||
#{libexec}
|
||||
EOS
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user