pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/libmatheval import libmatheval-1.1.1, a



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1b2ba99595b
branches:  trunk
changeset: 479863:f1b2ba99595b
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Aug 24 12:36:29 2004 +0000

description:
import libmatheval-1.1.1, a
Library for evaluating mathematical expressions

diffstat:

 math/libmatheval/DESCR            |   7 +++++++
 math/libmatheval/Makefile         |  19 +++++++++++++++++++
 math/libmatheval/PLIST            |   8 ++++++++
 math/libmatheval/buildlink3.mk    |  31 +++++++++++++++++++++++++++++++
 math/libmatheval/distinfo         |   5 +++++
 math/libmatheval/patches/patch-aa |  13 +++++++++++++
 6 files changed, 83 insertions(+), 0 deletions(-)

diffs (107 lines):

diff -r f5365be56974 -r f1b2ba99595b math/libmatheval/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libmatheval/DESCR    Tue Aug 24 12:36:29 2004 +0000
@@ -0,0 +1,7 @@
+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.
diff -r f5365be56974 -r f1b2ba99595b math/libmatheval/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libmatheval/Makefile Tue Aug 24 12:36:29 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/08/24 12:36:29 drochner Exp $
+#
+
+DISTNAME=              libmatheval-1.1.1
+CATEGORIES=            math
+MASTER_SITES=          ${MASTER_SITE_GNU:=libmatheval/}
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://www.gnu.org/software/libmatheval/
+COMMENT=               Library for evaluating mathematical expressions
+
+USE_BUILDLINK3=                yes
+USE_PKGLOCALEDIR=      yes
+GNU_CONFIGURE=         yes
+USE_LIBTOOL=           yes
+
+.include "../../devel/flex/buildlink3.mk"
+.include "../../lang/guile/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f5365be56974 -r f1b2ba99595b math/libmatheval/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libmatheval/PLIST    Tue Aug 24 12:36:29 2004 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/24 12:36:29 drochner Exp $
+include/matheval.h
+info/libmatheval.info
+lib/libmatheval.a
+lib/libmatheval.la
+lib/libmatheval.so
+lib/libmatheval.so.1
+lib/libmatheval.so.1.0
diff -r f5365be56974 -r f1b2ba99595b math/libmatheval/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libmatheval/buildlink3.mk    Tue Aug 24 12:36:29 2004 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/08/24 12:36:29 drochner Exp $
+# XXX
+# XXX This file was created automatically using createbuildlink-3.4.
+# XXX After this file as been verified as correct, the comment lines
+# XXX beginning with "XXX" should be removed.  Please do not commit
+# XXX unverified buildlink[23].mk files.
+# XXX
+# XXX Packages that only install static libraries or headers should
+# XXX include the following line:
+# XXX
+# XXX  BUILDLINK_DEPMETHOD.libmatheval?=       build
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+LIBMATHEVAL_BUILDLINK3_MK:=    ${LIBMATHEVAL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libmatheval
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibmatheval}
+BUILDLINK_PACKAGES+=   libmatheval
+
+.if !empty(LIBMATHEVAL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmatheval+=        libmatheval>=1.1.0
+BUILDLINK_PKGSRCDIR.libmatheval?=      ../../math/libmatheval
+.endif # LIBMATHEVAL_BUILDLINK3_MK
+
+.include "../../devel/flex/buildlink3.mk"
+.include "../../lang/guile/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r f5365be56974 -r f1b2ba99595b math/libmatheval/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libmatheval/distinfo Tue Aug 24 12:36:29 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/08/24 12:36:29 drochner Exp $
+
+SHA1 (libmatheval-1.1.1.tar.gz) = 207b8623f16801129b063733abbd585dae78a1a1
+Size (libmatheval-1.1.1.tar.gz) = 480888 bytes
+SHA1 (patch-aa) = 6903e1e79b0ba6a3f7d193b625e6a214efc1d8f3
diff -r f5365be56974 -r f1b2ba99595b math/libmatheval/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/libmatheval/patches/patch-aa Tue Aug 24 12:36:29 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/08/24 12:36:29 drochner Exp $
+
+--- lib/scanner.l.orig 2004-08-23 18:45:32.000000000 +0200
++++ lib/scanner.l
+@@ -151,3 +151,8 @@ void input_reset()
+   /* Forget contents of input buffer.  */
+   YY_FLUSH_BUFFER;
+ }
++
++int yywrap()
++{
++      return (1);
++}



Home | Main Index | Thread Index | Old Index