aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-11-20 13:59:36 -0800
committerAdam Vandenberg2011-11-20 13:59:36 -0800
commit19b4bee5378b2bd9fe8b8ba8de97ac06a5069944 (patch)
tree46eae8360318da5f960ef2fa1e90312380dcebfa /Library
parentf1abfddc0e59d2516b081e012c58817a72b7ee48 (diff)
downloadhomebrew-19b4bee5378b2bd9fe8b8ba8de97ac06a5069944.tar.bz2
Removed Fortress
Formula has no stable release and is no longer available at the previous location. We would welcome a resubmission of this at its new home, though.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fortress.rb50
1 files changed, 0 insertions, 50 deletions
diff --git a/Library/Formula/fortress.rb b/Library/Formula/fortress.rb
deleted file mode 100644
index 0c9f1cdeb..000000000
--- a/Library/Formula/fortress.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-require 'formula'
-
-class UnsafeSubversionDownloadStrategy < SubversionDownloadStrategy
- def _fetch_command(svncommand, url, target)
- [
- svn, '--non-interactive', '--trust-server-cert',
- svncommand, '--force', url, target
- ]
- end
-end
-
-class Fortress < Formula
- url 'https://projectfortress.sun.com/svn/Community/tags/1.0',
- :using => UnsafeSubversionDownloadStrategy
-
- homepage 'http://projectfortress.sun.com/'
- version '1.0'
-
- head 'https://projectfortress.sun.com/svn/Community/trunk',
- :using => UnsafeSubversionDownloadStrategy
-
- def install
- # Yes it's crazy, but if FORTRESS_HOME is set while building
- # compilation will fail.
- ENV.delete 'FORTRESS_HOME' if ENV['FORTRESS_HOME']
-
- system './ant', 'clean', 'compile'
- rm_f Dir['bin/fortress.bat']
-
- libexec.install Dir['bin']
-
- project_fortress=libexec+'ProjectFortress'
- project_fortress.install Dir['ProjectFortress/build']
- third_party = project_fortress+'third_party'
-
- ['junit', 'xtc', 'jsr166y', 'plt'].each do |pkg|
- (third_party+pkg).install Dir["ProjectFortress/third_party/#{pkg}/#{pkg}.jar"]
- end
-
- bin.mkpath
- Dir["#{libexec}/bin/*"].each { |f| ln_s f, bin }
- end
-
- def caveats
- <<-EOS.undent
- You should set the environment variable FORTRESS_HOME to
- #{libexec}
- EOS
- end
-end