pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/muparser add muparser-130, a parser for mathemati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e9bf7061a35
branches:  trunk
changeset: 568383:7e9bf7061a35
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Dec 11 19:53:57 2009 +0000

description:
add muparser-130, a parser for mathematical expressions

diffstat:

 math/muparser/DESCR            |   5 +++++
 math/muparser/Makefile         |  24 ++++++++++++++++++++++++
 math/muparser/PLIST            |  16 ++++++++++++++++
 math/muparser/buildlink3.mk    |  12 ++++++++++++
 math/muparser/distinfo         |   7 +++++++
 math/muparser/patches/patch-aa |  13 +++++++++++++
 math/muparser/patches/patch-ab |  15 +++++++++++++++
 7 files changed, 92 insertions(+), 0 deletions(-)

diffs (120 lines):

diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/DESCR       Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,5 @@
+Many applications require the parsing of mathematical expressions.
+The main objective of this library is to provide a fast and easy way
+of doing this. muParser is an extensible high performance math parser
+library written in C++. It works by transforming a mathematical
+expression into bytecode and precalculating constant parts of the expression.
diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/Makefile    Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/12/11 19:53:57 drochner Exp $
+#
+
+DISTNAME=      muparser_v130
+PKGNAME=       muparser-130
+CATEGORIES=    math
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=muparser/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://muparser.sourceforge.net/
+COMMENT=       Parser for mathematical expressions
+
+WRKSRC=                ${WRKDIR}/muparser
+GNU_CONFIGURE= yes
+#USE_TOOLS+=   pkg-config
+USE_LANGUAGES= c c++
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PKGCONFIG_OVERRIDE+=   build/autoconf/muparser.pc.in
+
+do-test:
+       cd ${WRKSRC}/samples/example1 && echo quit | ./example1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/PLIST       Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/11 19:53:57 drochner Exp $
+include/muParser.h
+include/muParserBase.h
+include/muParserBytecode.h
+include/muParserCallback.h
+include/muParserDLL.h
+include/muParserDef.h
+include/muParserError.h
+include/muParserFixes.h
+include/muParserInt.h
+include/muParserStack.h
+include/muParserTest.h
+include/muParserToken.h
+include/muParserTokenReader.h
+lib/libmuparser.so
+lib/pkgconfig/muparser.pc
diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/buildlink3.mk       Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/12/11 19:53:57 drochner Exp $
+
+BUILDLINK_TREE+=       muparser
+
+.if !defined(MUPARSER_BUILDLINK3_MK)
+MUPARSER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.muparser+=       muparser>=130
+BUILDLINK_PKGSRCDIR.muparser?= ../../math/muparser
+.endif # MUPARSER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -muparser
diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/distinfo    Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/12/11 19:53:57 drochner Exp $
+
+SHA1 (muparser_v130.tar.gz) = 8411b189b05317d836c92b02b267f7be5bc08611
+RMD160 (muparser_v130.tar.gz) = 489b781756e018bbe2976ab16d8962106a2ccf0f
+Size (muparser_v130.tar.gz) = 820801 bytes
+SHA1 (patch-aa) = 9f41e839d382c2b7e8a3b4c0880f345355c3950a
+SHA1 (patch-ab) = 73aca637f676bcf19cd6ae29baddf07e449bf78e
diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/patches/patch-aa    Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/12/11 19:53:57 drochner Exp $
+
+--- configure.orig     2009-02-11 20:06:56.000000000 +0100
++++ configure
+@@ -5075,7 +5075,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6; 
+             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
+         fi
+ 
+-        if test "x$GCC" == "xyes"; then
++        if test "x$GCC" = "xyes"; then
+             PIC_FLAG="-dynamic -fPIC"
+         fi
+         if test "x$XLCC" = "xyes"; then
diff -r 26e9883c801c -r 7e9bf7061a35 math/muparser/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/muparser/patches/patch-ab    Fri Dec 11 19:53:57 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/12/11 19:53:57 drochner Exp $
+
+--- Makefile.in.orig   2009-12-11 15:24:06.000000000 +0000
++++ Makefile.in
+@@ -192,8 +192,8 @@ COND_USE_SOSYMLINKS_1___muParser_dll___s
+ all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname)
+ 
+ install: all $(__install_muParser_lib___depname) $(__install_muParser_lib_headers___depname) $(__install_muParser_dll___depname) $(__install_muParser_dll_headers___depname)
+-      $(INSTALL_DIR) $(libdir)/pkgconfig
+-      $(INSTALL_DATA) build/autoconf/muparser.pc $(libdir)/pkgconfig
++      $(INSTALL_DIR) $(DESTDIR)$(libdir)/pkgconfig
++      $(INSTALL_DATA) build/autoconf/muparser.pc $(DESTDIR)$(libdir)/pkgconfig
+ 
+ uninstall: $(__uninstall_muParser_lib___depname) $(__uninstall_muParser_lib_headers___depname) $(__uninstall_muParser_dll___depname) $(__uninstall_muParser_dll_headers___depname)
+ 



Home | Main Index | Thread Index | Old Index