tomcat: remove with-fulldocs option

This commit is contained in:
commitay 2018-10-22 14:16:22 +10:00
parent a6afc1e83f
commit b650f4768d

View file

@ -6,15 +6,8 @@ class Tomcat < Formula
bottle :unneeded
option "with-fulldocs", "Install full documentation locally"
depends_on :java => "1.8+"
resource "fulldocs" do
url "https://www.apache.org/dyn/closer.cgi?path=/tomcat/tomcat-9/v9.0.12/bin/apache-tomcat-9.0.12-fulldocs.tar.gz"
sha256 "3331252fefc6f768bdd0bd23d1e092d4f9883d4d8b01f3b15a8a873dd5821b83"
end
def install
# Remove Windows scripts
rm_rf Dir["bin/*.bat"]
@ -23,8 +16,6 @@ class Tomcat < Formula
prefix.install %w[NOTICE LICENSE RELEASE-NOTES RUNNING.txt]
libexec.install Dir["*"]
bin.install_symlink "#{libexec}/bin/catalina.sh" => "catalina"
(pkgshare/"fulldocs").install resource("fulldocs") if build.with? "fulldocs"
end
plist_options :manual => "catalina run"