# $Id: Portfile 106437 2013-05-26 18:00:56Z mww@macports.org $

PortSystem 1.0

name		libmatheval
version		1.1.10
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     c6e79153a5f6895668bd15628b7f6ee7 \
                    rmd160  2ff9bf35674906d65c4dc5aee10c8174b5e1bb6a \
                    sha256  1d2b2f9db99fdf1def2e292a61b02b8fcf7d25f550bb8b278c832d287258c7d3
patchfiles		patch-config.h.in.diff

depends_build	port:guile port:flex

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

test.run		yes
test.target		check
