homebrew-core/Formula/wxmaxima.rb
nibbles 2bits 44aa5d163c wxmaxima: add a few caveats
Wxmaxima needs the standard caveat telling the user where the
app gets installed, plus one about linking the app, plus one
describing how to first setup wxmaxima to find maxima.

Fixes Homebrew/homebrew#15721

Closes Homebrew/homebrew#15790.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-01 07:47:50 -07:00

35 lines
935 B
Ruby

require 'formula'
class Wxmaxima < Formula
homepage 'http://andrejv.github.com/wxmaxima'
url 'https://sourceforge.net/projects/wxmaxima/files/wxMaxima/12.09.0/wxMaxima-12.09.0.tar.gz'
sha1 '9b56f674392eabb75183b228757df8834b45b2a6'
depends_on 'wxmac'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system 'make'
cd 'locales' do
system 'make', 'allmo'
end
system 'make', 'wxMaxima.app'
prefix.install 'wxMaxima.app'
system "make install"
end
def caveats
<<-EOS.undent
The program you want to run is wxmaxima.app, and it gets installed into:
#{prefix}
To symlink it into Applications, you can type:
ln -s #{prefix}/wxmaxima.app /Applications
When you start wxmaxima the first time, you have to open Preferences,
and tell it where maxima is located.
EOS
end
end