From 7d34e059f3f9fa91709978bc451f261f90bae511 Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Sun, 4 Jul 2004 17:58:23 +0000 Subject: New port: GNU libmatheval. GNU libmatheval is a library which contains several procedures that make it possible to create an in-memory tree from the string representation of a mathematical function over single or multiple variables. This tree can be used later to evaluate a function for specified variable values, to create a corresponding tree for the function derivative over a specified variable or to write a textual tree representation to a specified string. The library exposes C and Fortran 77 interfaces. --- devel/libmatheval/Makefile | 27 ++++++++++++++++++++++ devel/libmatheval/distinfo | 2 ++ devel/libmatheval/files/patch-doc-libmatheval.texi | 14 +++++++++++ devel/libmatheval/pkg-descr | 9 ++++++++ devel/libmatheval/pkg-plist | 5 ++++ 5 files changed, 57 insertions(+) create mode 100644 devel/libmatheval/Makefile create mode 100644 devel/libmatheval/distinfo create mode 100644 devel/libmatheval/files/patch-doc-libmatheval.texi create mode 100644 devel/libmatheval/pkg-descr create mode 100644 devel/libmatheval/pkg-plist (limited to 'devel/libmatheval') diff --git a/devel/libmatheval/Makefile b/devel/libmatheval/Makefile new file mode 100644 index 000000000000..ea10fcf6288b --- /dev/null +++ b/devel/libmatheval/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: libmatheval +# Date created: 4 July 2004 +# Whom: Dmitry Sivachenko +# +# $FreeBSD$ +# + +PORTNAME= libmatheval +PORTVERSION= 1.1.0 +CATEGORIES= devel math +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= demon@FreeBSD.org +COMMENT= A library of procedures for evaluating mathematical functions + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV+= MAKEINFO="/usr/bin/makeinfo --no-split" +INSTALLS_SHLIB= yes + +INFO= libmatheval + +post-patch: + ${RM} ${WRKSRC}/doc/libmatheval.info + +.include diff --git a/devel/libmatheval/distinfo b/devel/libmatheval/distinfo new file mode 100644 index 000000000000..8af15753f03a --- /dev/null +++ b/devel/libmatheval/distinfo @@ -0,0 +1,2 @@ +MD5 (libmatheval-1.1.0.tar.gz) = d91f255de761cd8eef285c48d7f42f1b +SIZE (libmatheval-1.1.0.tar.gz) = 479997 diff --git a/devel/libmatheval/files/patch-doc-libmatheval.texi b/devel/libmatheval/files/patch-doc-libmatheval.texi new file mode 100644 index 000000000000..665a6fab9898 --- /dev/null +++ b/devel/libmatheval/files/patch-doc-libmatheval.texi @@ -0,0 +1,14 @@ +--- doc/libmatheval.texi.orig Sat Jul 3 13:51:10 2004 ++++ doc/libmatheval.texi Sun Jul 4 21:45:25 2004 +@@ -9,6 +9,11 @@ + @include version.texi + @syncodeindex fn cp + ++@dircategory Programming & development tools ++@direntry ++* libmatheval: (libmatheval). A library for evaluating mathematical functions. ++@end direntry ++ + @ifnottex + This file documents GNU @code{libmatheval} library. + diff --git a/devel/libmatheval/pkg-descr b/devel/libmatheval/pkg-descr new file mode 100644 index 000000000000..e371a3dc011e --- /dev/null +++ b/devel/libmatheval/pkg-descr @@ -0,0 +1,9 @@ +GNU libmatheval is a library which contains several procedures that make +it possible to create an in-memory tree from the string representation +of a mathematical function over single or multiple variables. This tree +can be used later to evaluate a function for specified variable values, +to create a corresponding tree for the function derivative over a +specified variable or to write a textual tree representation to a +specified string. The library exposes C and Fortran 77 interfaces. + +WWW: http://www.gnu.org/software/libmatheval/ diff --git a/devel/libmatheval/pkg-plist b/devel/libmatheval/pkg-plist new file mode 100644 index 000000000000..6c8d8a85ffdd --- /dev/null +++ b/devel/libmatheval/pkg-plist @@ -0,0 +1,5 @@ +include/matheval.h +lib/libmatheval.a +lib/libmatheval.la +lib/libmatheval.so +lib/libmatheval.so.1 -- cgit v1.2.3