1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | name wxMaxima |
---|
4 | version 0.8.2 |
---|
5 | maintainers usami-k@yc5.so-net.ne.jp |
---|
6 | platforms darwin |
---|
7 | categories math aqua |
---|
8 | description Graphical user interface for Maxima |
---|
9 | long_description \ |
---|
10 | wxMaxima is a cross platform GUI for the computer algebra \ |
---|
11 | system maxima based on wxWidgets. |
---|
12 | homepage http://wxmaxima.sourceforge.net/ |
---|
13 | master_sites sourceforge:wxmaxima |
---|
14 | checksums md5 d3d4abde8495aebb295df587587de4a8 \ |
---|
15 | sha1 bc1d221855f5b7e57401801f43b60924987c5079 \ |
---|
16 | rmd160 43ea46e845f79576d273f4d0ad21a2c0d47664f9 |
---|
17 | |
---|
18 | patchfiles patch-src_main.cpp.diff |
---|
19 | |
---|
20 | depends_lib port:libiconv \ |
---|
21 | port:libsdl \ |
---|
22 | port:libxml2 \ |
---|
23 | port:wxWidgets \ |
---|
24 | port:zlib |
---|
25 | depends_run port:maxima |
---|
26 | |
---|
27 | post-patch { |
---|
28 | reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/src/main.cpp |
---|
29 | } |
---|
30 | |
---|
31 | configure.args --enable-dnd --enable-printing --enable-unicode-glyphs |
---|
32 | build.target-append wxMaxima.app |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -m 755 -d ${destroot}${applications_dir} |
---|
36 | file copy ${worksrcpath}/wxMaxima.app ${destroot}${applications_dir} |
---|
37 | |
---|
38 | set docPath ${prefix}/share/doc/${name} |
---|
39 | xinstall -m 755 -d ${destroot}${docPath} |
---|
40 | foreach f { AUTHORS COPYING README } { |
---|
41 | xinstall -m 644 ${worksrcpath}/${f} ${destroot}${docPath} |
---|
42 | } |
---|
43 | } |
---|
44 | |
---|