# -*- 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: Portfile 145940 2016-02-22 01:28:34Z ionic@macports.org $ PortSystem 1.0 name maxima version 5.36.1 revision 5 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 md5 59e6e3d8bc1009a4ddead8c10317a8ec \ sha256 400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 \ rmd160 6446bd96c4138aec61a7906cc9fd8923670d2892 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} ne "darwin" && ${os.arch} ne "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:texinfo \ port:texlive-basic \ port:texlive-latex \ port:texlive-generic-recommended \ port:texlive-fonts-recommended build.target all pdf patchfiles-append doc_info_Makefile.in-dont-fail.patch post-patch { # Replace outdated texinfo.tex file with whatever current texinfo ships. copy -force ${prefix}/share/texmf/tex/texinfo/texinfo.tex \ ${worksrcpath}/doc/info } 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/(.*)-source/maxima.*}