source: trunk/dports/math/maxima/Portfile

Last change on this file was 153501, checked in by easieste@…, 10 months ago

Update to sbcl-1.3.10

Removed the <file:files/patch-use-right-gcc.diff> for compilation on
macOS 10.12 Sierra. Unknown if this is needed for older macOS
platforms due to lack of testing resources of committer.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
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: Portfile 153501 2016-10-03 09:20:11Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            maxima
7version         5.36.1
8revision        10
9categories      math
10maintainers     mareimbrium.org:kuba openmaintainer
11platforms       darwin
12license         GPL-2+
13description     The Maxima computer algebra system
14long_description \
15        Maxima is a system for the manipulation of symbolic \
16        and numerical expressions, including differentiation, \
17        integration, Taylor series, Laplace transforms, ordinary \
18        differential equations, systems of linear equations, \
19        polynomials, and sets, lists, vectors, matrices, and \
20        tensors. Maxima yields high precision numeric results \
21        by using exact fractions, arbitrary precision integers, \
22        and variable precision floating point numbers. Maxima \
23        can plot functions and data in two and three dimensions.
24
25homepage        http://maxima.sourceforge.net/
26master_sites    sourceforge
27
28checksums       md5     59e6e3d8bc1009a4ddead8c10317a8ec \
29                sha256  400bf83000b84d280d75e200e078582fe44f23220824562cc06c589d8a993974 \
30                rmd160  6446bd96c4138aec61a7906cc9fd8923670d2892
31
32depends_lib     port:sbcl
33depends_run     port:recode \
34                port:gnuplot
35
36patchfiles      src_maxima.in.patch
37
38configure.args  --infodir=${prefix}/share/info \
39                --mandir=${prefix}/share/man \
40                --enable-sbcl
41
42if {${os.platform} ne "darwin" && ${os.arch} ne "i386"} {
43variant clisp description {Use CLISP instead of SBCL for Lisp} {
44    depends_lib-delete  port:sbcl
45    depends_lib-append  port:clisp
46    configure.args-delete --enable-sbcl
47    configure.args-append --enable-clisp
48}
49}
50
51variant xmaxima description {build xmaxima} {
52    depends_run-append  port:tk
53}
54default_variants +xmaxima
55if {![variant_isset xmaxima]} {
56    patchfiles-append   no-xmaxima.patch
57}
58
59variant abcl description {Use ABCL instead of SBCL for Lisp} {
60    depends_lib-delete  port:sbcl
61    depends_lib-append  port:abcl
62    configure.args-delete --enable-sbcl
63    configure.args-append --enable-abcl
64}
65
66test.run    yes
67test.target check
68
69variant printable_doc description {Build printable documentation} {
70    depends_build-append    port:texinfo \
71                            port:texlive-basic \
72                            port:texlive-latex \
73                            port:texlive-generic-recommended \
74                            port:texlive-fonts-recommended
75    build.target            all pdf
76
77    patchfiles-append       doc_info_Makefile.in-dont-fail.patch
78
79    post-patch {
80        # Replace outdated texinfo.tex file with whatever current texinfo ships.
81        copy -force ${prefix}/share/texmf/tex/texinfo/texinfo.tex \
82                    ${worksrcpath}/doc/info
83    }
84
85    pre-destroot {
86        xinstall -d -m 755 ${destroot}${prefix}/share/${name}/${version}/doc/pdf
87        xinstall -m 644 ${worksrcpath}/doc/info/maxima.pdf \
88                        ${destroot}${prefix}/share/${name}/${version}/doc/pdf
89    }
90}
91
92livecheck.regex  {<title>.*/Maxima-source/(.*)-source/maxima.*</title>}
Note: See TracBrowser for help on using the repository browser.