blob: c650fc10ee175cfc3435f25d5209a43285e398ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Glassfish < Formula
homepage 'http://glassfish.org/'
url 'http://download.java.net/glassfish/3.1.2/release/glassfish-3.1.2.zip'
md5 'a3a566302aa7bf20dcd44b9c79492680'
skip_clean :all
def install
rm_rf Dir['bin/*.bat']
libexec.install Dir['*']
bin.install_symlink Dir["#{libexec}/bin/*"]
inreplace "#{libexec}/bin/asadmin" do |s|
s.change_make_var! 'AS_INSTALL', "#{libexec}/glassfish"
end
end
end
|