Info2: << Package: wxmaxima%type_pkg[-ui] Type: -ui (-gtk -mac) Version: 11.08.0 Revision: 2 Description: Interface to Maxima using wxWidgets DescDetail: << wxMaxima is a cross platform GUI for the computer algebra system maxima based on wxWidgets. wxMaxima features include: * 2D formatted math display: wxMaxima implements its own math display engine to nicely display maxima output. * Menu system: most maxima commands are available through menus. Most used functions are also available through a button panel at below the input line. * Dialogs: commands which require more that one argument can be entered through dialogs so that there is no need to remember the exact syntax. * Command line history: the input line has command history and command completion based on previous input. * Create documents: text can be mixed with math calculations to create documents. See the howto (http://wxmaxima.sourceforge.net/wiki/index.php/Howto) for tips on how to use these features. Documents can be saved and edited again later. << DescUsage: << You can either use the app bundle in %p/Applications, which is symlinked in /Applications/Fink, or the "wxmaxima" command-line script. If you get a "Cannot connect to server" message on startup, quit and restart wxMaxima. << Maintainer: Alexander Hansen Homepage: http://andrejv.github.com/wxmaxima/ # Source: mirror:sourceforge:%{ni}/wxMaxima-%v.tar.gz Source-MD5: bf16a87fa5277881398a32301c3d07aa # PatchFile: %{ni}.patch PatchFile-MD5: 781436ea6655dce14a3d519b0bb49329 PatchScript: << #!/bin/sh -ev sed -e 's,PREFIX,%p,' %{PatchFile} | patch -p1 << # Recommends: << maxima (>= 5.25.0-1), (%type_pkg[-ui] = -mac) xmaxima, (%type_pkg[-ui] = -gtk) xmaxima-x11 << Depends: << libxml2-shlibs, libiconv, (%type_pkg[-ui] = -mac) wxcocoa293-shlibs, (%type_pkg[-ui] = -gtk) wxgtk2.8-shlibs ( >= 2.8.4 ) << BuildDepends: << libxml2, libiconv-dev, (%type_pkg[-ui] = -mac) wxcocoa293, (%type_pkg[-ui] = -gtk) wxgtk2.8 ( >= 2.8.4 ), fink ( >=0.24.12-1 ), fink-package-precedence << Conflicts: wxmaxima-mac, wxmaxima-gtk Replaces: wxmaxima-mac, wxmaxima-gtk Provides: wxmaxima GCC: 4.0 # ConfigureParams: << --with-wx-config=%p/bin/wx-config --with-xml-prefix=%p \ --enable-unicode-glyphs --enable-printing --enable-dnd << # CompileScript: << #!/bin/sh -ev ./configure %c make wxMaxima.app fink-package-precedence . mv wxMaxima.app/Contents/MacOS/wxmaxima wxMaxima.app/Contents/MacOS/wxmaxima.bin cp wxmaxima.fink wxMaxima.app/Contents/MacOS/wxmaxima chmod a+x wxMaxima.app/Contents/MacOS/wxmaxima << InstallScript:<< #!/bin/sh -ev %{default_script} rm %i/bin/wxmaxima || echo "No %p/bin/wxmaxima" cp wxmaximabin %i/bin/wxmaxima chmod a+x %i/bin/wxmaxima << # AppBundles: wxMaxima.app DocFiles: AUTHORS COPYING ChangeLog NEWS README DescPackaging:<< Patch file installs a wrapper script in the .app bundle to insure that Fink's environment is used. We remove the %p/bin/wxmaxima applications that upstream builds and replace them by a script using "open -a %p/Applications/wxMaxima.app." << DescPort:<< Patch wxMaxima.cpp to ensure that change_return_code() is always available. << License: GPL <<