# -*- 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 # $Id$ PortSystem 1.0 name maxima version 5.28.0 revision 8 categories math maintainers mareimbrium.org:kuba openmaintainer platforms darwin license GPL-2+ description The Maxima computer algebra system long_description \ Maxima is a system for the manipulation of symbolic \ and numerical expressions, including differentiation, \ integration, Taylor series, Laplace transforms, ordinary \ differential equations, systems of linear equations, \ polynomials, and sets, lists, vectors, matrices, and \ tensors. Maxima yields high precision numeric results \ by using exact fractions, arbitrary precision integers, \ and variable precision floating point numbers. Maxima \ can plot functions and data in two and three dimensions. homepage http://maxima.sourceforge.net/ master_sites sourceforge checksums sha256 d73e925f0116ba361bf4390c80e24d4fa763f647cc1fc4cc06bbf40ceb3facda \ rmd160 a2d9aff1ac7e8a5464750b3b59f8b7dcedb148d5 depends_lib port:sbcl depends_run port:recode \ port:gnuplot patchfiles src_maxima.in.patch configure.args --infodir=${prefix}/share/info \ --mandir=${prefix}/share/man \ --enable-sbcl if {${os.platform} != "darwin" && ${os.arch} != "i386"} { variant clisp description {Use CLISP instead of SBCL for Lisp} { depends_lib-delete port:sbcl depends_lib-append port:clisp configure.args-delete --enable-sbcl configure.args-append --enable-clisp } } variant xmaxima description {build xmaxima} { depends_run-append port:tk } default_variants +xmaxima if {![variant_isset xmaxima]} { patchfiles-append no-xmaxima.patch } variant abcl description {Use ABCL instead of SBCL for Lisp} { depends_lib-delete port:sbcl depends_lib-append port:abcl configure.args-delete --enable-sbcl configure.args-append --enable-abcl } test.run yes test.target check variant printable_doc description {Build printable documentation} { depends_build-append port:texlive build.target all pdf pre-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/${name}/${version}/doc/pdf xinstall -m 644 ${worksrcpath}/doc/info/maxima.pdf \ ${destroot}${prefix}/share/${name}/${version}/doc/pdf } } livecheck.regex {Maxima (.*)-source released.*}