homebrew-core/Formula/glassfish.rb
ToastedToucan 84514a879d glassfish 4.1.1
Update glassfish to 4.1.1

Closes Homebrew/homebrew#44751.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-09 10:22:34 +02:00

26 lines
745 B
Ruby

require "formula"
class Glassfish < Formula
desc "Java EE application server"
homepage "https://glassfish.java.net"
url "http://download.java.net/glassfish/4.1.1/release/glassfish-4.1.1.zip"
sha256 "1b20d42b7d97d0282b90b3f6ec958138f1e81a500468f391ff5aa06afb599b9c"
def install
rm_rf Dir["bin/*.bat"]
libexec.install Dir["*", ".org.opensolaris,pkg"]
end
def caveats; <<-EOS.undent
The home of GlassFish Application Server 4 is:
#{opt_libexec}
You may want to add the following to your .bash_profile:
export GLASSFISH_HOME=#{opt_libexec}
export PATH=${PATH}:${GLASSFISH_HOME}/bin
Note: The support scripts used by GlassFish Application Server 4
are *NOT* linked to bin.
EOS
end
end