# $Id: Portfile 129612 2014-12-16 23:58:01Z dports@macports.org $ PortSystem 1.0 name libmatheval version 1.1.11 revision 1 categories math devel platforms darwin license GPL-3 maintainers mww openmaintainer description in-memory tree representations of mathematical functions long_description GNU libmatheval is comprised of several procedures \ that make it possible to create in-memory tree \ representations of mathematical functions over single \ or multiple variables and later use them to evaluate \ function for specified variable values, to create a \ corresponding tree for function derivatives over a \ specified variable, or to print a textual \ representation of the in-memory tree to a specified \ string. The library supports arbitrary variable names \ in expressions, decimal constants, basic unary and \ binary operators, and elementary mathematical functions. homepage http://www.gnu.org/software/libmatheval/ master_sites gnu checksums md5 595420ea60f6ddd75623847f46ca45c4 \ rmd160 e48bbe2fdae4237e4e455ea84b10a53874124312 \ sha256 474852d6715ddc3b6969e28de5e1a5fbaff9e8ece6aebb9dc1cc63e9e88e89ab #patchfiles patch-config.h.in.diff post-patch { reinplace "s/-lguile/-lguile18/" ${worksrcpath}/configure reinplace "s/libguile.h/libguile18.h/g" ${worksrcpath}/configure ${worksrcpath}/tests/matheval.c } depends_build port:guile18 port:flex configure.args --infodir=${prefix}/share/info configure.env-append GUILE=${prefix}/bin/guile18 GUILE_CONFIG=${prefix}/bin/guile18-config GUILE_TOOLS=${prefix}/bin/guile18-tools test.run yes test.target check