aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJosé Martínez2011-05-23 17:04:18 +0200
committerAdam Vandenberg2011-05-23 09:37:25 -0700
commitbdd475661429322e202fb61ba220fd0ab996293f (patch)
tree379fefb8346370c0252de4342d117a77760ca9e3 /Library/Formula
parent472c05b8f528df82a2576a25ba109034b98b89d0 (diff)
downloadhomebrew-bdd475661429322e202fb61ba220fd0ab996293f.tar.bz2
Tomcat 7.0.14
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tomcat.rb26
1 files changed, 10 insertions, 16 deletions
diff --git a/Library/Formula/tomcat.rb b/Library/Formula/tomcat.rb
index 928eec198..0b529d6b3 100644
--- a/Library/Formula/tomcat.rb
+++ b/Library/Formula/tomcat.rb
@@ -1,28 +1,22 @@
require 'formula'
class Tomcat < Formula
- url 'http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.6/bin/apache-tomcat-7.0.6.tar.gz'
+ url 'http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.14/bin/apache-tomcat-7.0.14.tar.gz'
homepage 'http://tomcat.apache.org/'
- md5 '1c54578e2e695212ab3ed75170930df4'
+ md5 '6a4f1b7285b7366250c4e09307594451'
skip_clean :all
def install
- rm_rf Dir['bin/*.{cmd,bat]}']
- libexec.install Dir['*']
- (libexec+'logs').mkpath
- bin.mkpath
- Dir["#{libexec}/bin/*.sh"].each { |f| ln_s f, bin }
- end
+ # Remove Windows scripts
+ rm_rf Dir['bin/*.bat']
- 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.
+ # Install files
+ prefix.install %w{ NOTICE LICENSE RELEASE-NOTES RUNNING.txt }
+ libexec.install Dir['*']
- You may want to `brew unlink tomcat` and add:
- #{bin}
- to your PATH instead.
- EOS
+ # Symlink binaries
+ bin.mkpath
+ ln_s "#{libexec}/bin/catalina.sh", bin+"catalina"
end
end