cut v0.52.1
[Homebrew/homebrew-cask-versions.git] / Casks / fenics.rb
blob3748b69fba681d8fd7e41920ed9f13f56f8fc28b
1 cask :v1 => 'fenics' do
2   version '1.4.0'
3   sha256 'b0071fa25759fcef124e418c202cc81d297d12633b24385b70b9408af76c2bb5'
5   url "http://www.fenicsproject.org/pub/software/fenics/fenics-#{version}-osx10.9.dmg"
6   homepage 'http://fenicsproject.org/'
7   license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
9   app 'FEniCS.app'
11   depends_on :macos => '>= :mavericks'
13   caveats do
14     <<-EOS.undent
15       FEniCS is designed to work with the OS X system Python (v. 2.7.5 in OS X 10.9).
17       If you are using a standard bash shell and system Python, you can make FEniCS
18       available when you start your shell by adding the following to the .profile
19       file in your home directory:
21         source #{staged_path}/FEniCS.app/Contents/Resources/share/fenics/fenics.conf
23       If you are using an alternate shell (e.g., zsh, csh) or a modified or brewed Python,
24       be sure to launch FEniCS using a clean (bash) shell.
25       Creating a new shell using the following command works well:
27         /bin/bash --rcfile #{staged_path}/FEniCS.app/Contents/Resources/share/fenics/fenics.conf
28     EOS
29   end
30 end