From f3f8ea2bddfac6540500f2c109c8d710a2ffba43 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Thu, 25 Oct 2012 12:20:32 -0700 Subject: wxmaxima 12.09.0 - It builds a command line and gui interface to maxima. - The app gets installed to prefix. - Works well with superenv and wxmac. Fixes #15655 Closes #15669. Signed-off-by: Adam Vandenberg --- Library/Formula/wxmaxima.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/Formula/wxmaxima.rb diff --git a/Library/Formula/wxmaxima.rb b/Library/Formula/wxmaxima.rb new file mode 100644 index 000000000..d41d00ac8 --- /dev/null +++ b/Library/Formula/wxmaxima.rb @@ -0,0 +1,21 @@ +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 +end -- cgit v1.2.3