Ticket #12246: Portfile

File Portfile, 1.0 KB (added by usami-k@…, 17 years ago)
Line 
1# $Id: $
2PortSystem      1.0
3name            wxMaxima
4version         0.7.2
5maintainers     usami-k@yc5.so-net.ne.jp
6platforms       darwin
7categories      math
8description     Graphical user interface for Maxima
9long_description \
10                wxMaxima is a cross platform GUI for the computer algebra \
11                system maxima based on wxWidgets.
12homepage        http://wxmaxima.sourceforge.net/
13master_sites    sourceforge:wxmaxima
14checksums       md5 4a0c6099a60d5f54e262cc505d8caca7
15
16depends_lib     port:wxWidgets \
17                port:libxml2
18depends_run     port:maxima
19
20configure.args  --enable-dnd --enable-printing --enable-unicode-glyphs
21build.target-append wxMaxima.app
22
23destroot {
24    set appPath "/Applications/MacPorts/"
25    xinstall -m 755 -d ${destroot}${appPath}
26    file copy ${worksrcpath}/wxMaxima.app ${destroot}${appPath}
27
28    set docPath ${prefix}/share/doc/${name}
29    xinstall -m 755 -d ${destroot}${docPath}
30    foreach f { AUTHORS COPYING README } {
31        xinstall -m 644 ${worksrcpath}/${f} ${destroot}${docPath}
32    }
33}
34