diff options
| author | wkruse | 2013-06-13 15:07:17 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-14 10:55:17 -0700 |
| commit | 80d6af426b3e5a5ee7aa2181d2033bb452f777c7 (patch) | |
| tree | d1571024b93ad2cfe77ac848e3720af0202d560c /Library | |
| parent | d41be562d1a82f5da423f6482b4b3d983f839350 (diff) | |
| download | homebrew-80d6af426b3e5a5ee7aa2181d2033bb452f777c7.tar.bz2 | |
glassfish 4.0
Closes #20469.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/glassfish.rb | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/Library/Formula/glassfish.rb b/Library/Formula/glassfish.rb index 53c55ccaf..004248450 100644 --- a/Library/Formula/glassfish.rb +++ b/Library/Formula/glassfish.rb @@ -1,22 +1,29 @@ require 'formula' class Glassfish < Formula - homepage 'http://glassfish.java.net/' - url 'http://download.java.net/glassfish/3.1.2.2/release/glassfish-3.1.2.2.zip' - sha1 '627e67d7e7f06583beb284c56f76456913461722' + homepage 'https://glassfish.java.net' + url 'http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip' + sha1 'daca9808d80df35b26cd9545a84e8324ed34fe7e' # To keep empty folders around skip_clean 'libexec' def install rm_rf Dir['bin/*.bat'] - libexec.install Dir["*"] libexec.install Dir[".org.opensolaris,pkg"] - bin.write_exec_script Dir["#{libexec}/bin/*"] + end + + def caveats; <<-EOS.undent + The home of GlassFish Application Server 4 is: + #{opt_prefix}/libexec + + You may want to add the following to your .bash_profile: + export GLASSFISH_HOME=#{opt_prefix}/libexec + export PATH=${PATH}:${GLASSFISH_HOME}/bin - inreplace "#{libexec}/bin/asadmin" do |s| - s.change_make_var! 'AS_INSTALL', "#{libexec}/glassfish" - end + Note: The support scripts used by GlassFish Application Server 4 + are *NOT* linked to bin. + EOS end end |
