PortSystem 1.0

name		libmatheval
version		1.1.11
revision        3
categories	math devel
platforms	darwin
license		GPL-3
maintainers	nomaintainer
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		https://www.gnu.org/software/libmatheval/
master_sites	gnu
checksums           md5     595420ea60f6ddd75623847f46ca45c4 \
                    rmd160  e48bbe2fdae4237e4e455ea84b10a53874124312 \
                    sha256  474852d6715ddc3b6969e28de5e1a5fbaff9e8ece6aebb9dc1cc63e9e88e89ab
patchfiles		patch-config.h.in.diff

depends_build	port:guile-1.8
depends_lib	port:flex

configure.args	--infodir=${prefix}/share/info
configure.env-append	GUILE=${prefix}/bin/guile-1.8 GUILE_CONFIG=${prefix}/bin/guile-config-1.8 GUILE_TOOLS=${prefix}/bin/guile-tools-1.8

test.run		yes
test.target		check
