1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name maxima |
---|
7 | version 5.28.0 |
---|
8 | categories math |
---|
9 | maintainers mareimbrium.org:kuba |
---|
10 | platforms darwin |
---|
11 | license GPL-2+ |
---|
12 | description The Maxima computer algebra system |
---|
13 | long_description \ |
---|
14 | The Maxima computer algebra system is a descendant \ |
---|
15 | of DOE Macsyma, a version of MIT's Macsyma whose \ |
---|
16 | development was supported by the U.S. Department of \ |
---|
17 | Energy. \ |
---|
18 | Through the effort of the late William Shelter of the \ |
---|
19 | University of Texas, it was released under the GNU \ |
---|
20 | General Public License. It is one of the more \ |
---|
21 | comprehensive and powerful computer algebra systems \ |
---|
22 | available as open source. |
---|
23 | |
---|
24 | homepage http://maxima.sourceforge.net/ |
---|
25 | master_sites sourceforge |
---|
26 | |
---|
27 | checksums sha256 d73e925f0116ba361bf4390c80e24d4fa763f647cc1fc4cc06bbf40ceb3facda \ |
---|
28 | rmd160 a2d9aff1ac7e8a5464750b3b59f8b7dcedb148d5 \ |
---|
29 | md5 de12d5081194325f0336abef263e7263 |
---|
30 | |
---|
31 | depends_lib port:sbcl |
---|
32 | depends_run port:recode \ |
---|
33 | port:gnuplot |
---|
34 | |
---|
35 | # we do not depend on any particular tk, apple's orignal tk will work just fine |
---|
36 | |
---|
37 | patchfiles src_maxima.in.patch |
---|
38 | |
---|
39 | configure.args --infodir=${prefix}/share/info \ |
---|
40 | --mandir=${prefix}/share/man \ |
---|
41 | --enable-sbcl |
---|
42 | |
---|
43 | if {${os.platform} != "darwin" && ${os.arch} != "i386"} { |
---|
44 | variant clisp description {Use CLISP instead of SBCL for Lisp} { |
---|
45 | depends_lib-delete port:sbcl |
---|
46 | depends_lib-append port:clisp |
---|
47 | configure.args-delete --enable-sbcl |
---|
48 | configure.args-append --enable-clisp |
---|
49 | } |
---|
50 | } |
---|
51 | |
---|
52 | variant abcl description {Use ABCL instead of SBCL for Lisp } { |
---|
53 | depends_lib-delete port:sbcl |
---|
54 | depends_lib-append port:abcl |
---|
55 | configure.args-delete --enable-sbcl |
---|
56 | configure.args-append --enable-abcl |
---|
57 | } |
---|
58 | |
---|
59 | test.run yes |
---|
60 | test.target check |
---|
61 | |
---|
62 | variant printable_doc description {Build printable documentation} { |
---|
63 | depends_build-append port:texlive |
---|
64 | build.target all pdf |
---|
65 | |
---|
66 | pre-destroot { |
---|
67 | xinstall -d -m 755 ${destroot}${prefix}/share/${name}/${version}/doc/pdf |
---|
68 | xinstall -m 644 ${worksrcpath}/doc/info/maxima.pdf \ |
---|
69 | ${destroot}${prefix}/share/${name}/${version}/doc/pdf |
---|
70 | } |
---|
71 | } |
---|
72 | |
---|
73 | livecheck.regex {<title>Maxima (.*)-source released.*</title>} |
---|