aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tomcat.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/tomcat.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
Update formulae for version 0.7
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/tomcat.rb')
-rw-r--r--Library/Formula/tomcat.rb17
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/tomcat.rb b/Library/Formula/tomcat.rb
index eb53387c7..1486e4d49 100644
--- a/Library/Formula/tomcat.rb
+++ b/Library/Formula/tomcat.rb
@@ -5,7 +5,7 @@ class Tomcat <Formula
homepage 'http://tomcat.apache.org/'
md5 'f9eafa9bfd620324d1270ae8f09a8c89'
- def skip_clean?(path); true; end
+ skip_clean :all
def install
rm_rf Dir['bin/*.{cmd,bat]}']
@@ -15,15 +15,14 @@ class Tomcat <Formula
Dir["#{libexec}/bin/*.sh"].each { |f| ln_s f, bin }
end
- def caveats
- <<-EOS.undent
- Note: Some of the support scripts used by Tomcat have very generic names.
- These are likely to conflict with support scripts used by other Java-based
- server software.
+ def caveats; <<-EOS.undent
+ Note: Some of the support scripts used by Tomcat have very generic names.
+ These are likely to conflict with support scripts used by other Java-based
+ server software.
- You may want to `brew unlink tomcat` and add:
- #{bin}
- to your PATH instead.
+ You may want to `brew unlink tomcat` and add:
+ #{bin}
+ to your PATH instead.
EOS
end
end