source: trunk/dports/math/wxMaxima/Portfile @ 112167

Last change on this file since 112167 was 112167, checked in by mojca@…, 6 years ago

wxMaxima: revbump after wxWidgets upgrade (#40743)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 112167 2013-10-14 13:31:24Z mojca@macports.org $
2
3PortSystem      1.0
4PortGroup       active_variants 1.1
5PortGroup       wxWidgets 1.0
6
7name            wxMaxima
8version         12.01.0
9revision        4
10maintainers     usami-k openmaintainer
11license         gpl
12platforms       darwin
13categories      math aqua
14description     Graphical user interface for Maxima
15long_description \
16                wxMaxima is a cross platform GUI for the computer algebra \
17                system maxima based on wxWidgets.
18homepage        http://wxmaxima.sourceforge.net/
19master_sites    sourceforge:project/wxmaxima/${name}/${version}
20livecheck.regex ${name}-(\[a-z0-9.\]+)${extract.suffix}
21checksums           md5     ef71ba8339fcdd7b715619af51bfa65e \
22                    sha1    d80002ddea3260b0f3315072f23b4bb3cce3a10a \
23                    rmd160  47891ac06c2e9b789c9581901c1e410e932beecd
24
25wxWidgets.use   wxWidgets-3.0
26
27patchfiles      patch-src_main.cpp.diff \
28                patch-src_Config.cpp.diff \
29                patch-src_wxMaxima.cpp.diff
30
31depends_lib     port:libiconv \
32                path:lib/pkgconfig/sdl.pc:libsdl \
33                port:libxml2 \
34                port:${wxWidgets.port} \
35                port:zlib
36depends_run     port:maxima
37
38require_active_variants gnuplot wxwidgets
39
40post-patch {
41    reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/src/main.cpp
42}
43
44depends_skip_archcheck  maxima
45configure.args  --enable-dnd --enable-printing --enable-unicode-glyphs --with-wxdir=${wxWidgets.wxdir}
46build.target-append wxMaxima.app
47
48destroot {
49    xinstall -m 755 -d ${destroot}${applications_dir}
50    file copy ${worksrcpath}/wxMaxima.app ${destroot}${applications_dir}
51
52    set docPath ${prefix}/share/doc/${name}
53    xinstall -m 755 -d ${destroot}${docPath}
54    foreach f { AUTHORS COPYING README } {
55        xinstall -m 644 ${worksrcpath}/${f} ${destroot}${docPath}
56    }
57}
58
59
Note: See TracBrowser for help on using the repository browser.