# $Id$ PortSystem 1.0 name wxMaxima version 0.7.5 revision 1 maintainers usami-k@yc5.so-net.ne.jp platforms darwin categories math aqua description Graphical user interface for Maxima long_description \ wxMaxima is a cross platform GUI for the computer algebra \ system maxima based on wxWidgets. homepage http://wxmaxima.sourceforge.net/ master_sites sourceforge:wxmaxima checksums md5 469014a84aca3f334d1e19042208d54b patchfiles patch-src_main.cpp.diff \ patch-data_Info.plist.in.diff depends_lib port:libiconv \ port:libsdl \ port:libxml2 \ port:wxWidgets \ port:zlib depends_run port:maxima post-patch { reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/src/main.cpp } configure.args --enable-dnd --enable-printing --enable-unicode-glyphs build.target-append wxMaxima.app destroot { set appPath "/Applications/MacPorts/" xinstall -m 755 -d ${destroot}${appPath} file copy ${worksrcpath}/wxMaxima.app ${destroot}${appPath} set docPath ${prefix}/share/doc/${name} xinstall -m 755 -d ${destroot}${docPath} foreach f { AUTHORS COPYING README } { xinstall -m 644 ${worksrcpath}/${f} ${destroot}${docPath} } }