source: trunk/dports/math/libmatheval/Portfile

Last change on this file was 129612, checked in by dports@…, 3 years ago

libmatheval: use guile18 instead of guile to build; see #29307

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 129612 2014-12-16 23:58:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            libmatheval
6version         1.1.11
7revision        1
8categories      math devel
9platforms       darwin
10license         GPL-3
11maintainers     mww openmaintainer
12description     in-memory tree representations of mathematical functions
13long_description        GNU libmatheval is comprised of several procedures \
14                        that make it possible to create in-memory tree \
15                        representations of mathematical functions over single \
16                        or multiple variables and later use them to evaluate \
17                        function for specified variable values, to create a \
18                        corresponding tree for function derivatives over a \
19                        specified variable, or to print a textual \
20                        representation of the in-memory tree to a specified \
21                        string. The library supports arbitrary variable names \
22                        in expressions, decimal constants, basic unary and \
23                        binary operators, and elementary mathematical functions.
24
25homepage                http://www.gnu.org/software/libmatheval/
26master_sites    gnu
27checksums           md5     595420ea60f6ddd75623847f46ca45c4 \
28                    rmd160  e48bbe2fdae4237e4e455ea84b10a53874124312 \
29                    sha256  474852d6715ddc3b6969e28de5e1a5fbaff9e8ece6aebb9dc1cc63e9e88e89ab
30#patchfiles             patch-config.h.in.diff
31
32post-patch {
33    reinplace "s/-lguile/-lguile18/" ${worksrcpath}/configure
34    reinplace "s/libguile.h/libguile18.h/g" ${worksrcpath}/configure ${worksrcpath}/tests/matheval.c
35}
36
37depends_build   port:guile18 port:flex
38
39configure.args  --infodir=${prefix}/share/info
40configure.env-append    GUILE=${prefix}/bin/guile18 GUILE_CONFIG=${prefix}/bin/guile18-config GUILE_TOOLS=${prefix}/bin/guile18-tools
41
42test.run                yes
43test.target             check
Note: See TracBrowser for help on using the repository browser.