summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-15 16:58:32 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-15 16:58:32 +0000
commit99d47b08f7842dd044ea5ac4161f39cbbfd5f25e (patch)
tree48d8451fc3ec35144b22a8df856c8abe417fcb5b /math
parent- Transfer maintainership of the Prelude ports to the submitter, (diff)
muParser is an extensible high performance math parser library written in C++.
It is based on transforming an expression into a bytecode and precalculating constant parts of it. Author: Ingo Berg <ingo_berg@gmx.de> WWW: http://muparser.sourceforge.net/ PR: ports/93379 Submitted by: Nicola Vitale <nivit@email.it>
Notes
Notes: svn path=/head/; revision=156125
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/muparser/Makefile40
-rw-r--r--math/muparser/distinfo3
-rw-r--r--math/muparser/pkg-descr6
-rw-r--r--math/muparser/pkg-plist18
5 files changed, 68 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 2ae87541bfca..9ac7bdcf7c6c 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -130,6 +130,7 @@
SUBDIR += mtl
SUBDIR += mtrxmath
SUBDIR += mupad
+ SUBDIR += muparser
SUBDIR += naturalmath
SUBDIR += nauty
SUBDIR += ndiff
diff --git a/math/muparser/Makefile b/math/muparser/Makefile
new file mode 100644
index 000000000000..35649ca16d40
--- /dev/null
+++ b/math/muparser/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: muparser
+# Date created: 2006-02-14
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= muparser
+PORTVERSION= 1.25
+CATEGORIES= math devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}
+DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
+
+MAINTAINER= nivit@email.it
+COMMENT= Mathematical expressions parser library written in C++
+
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+USE_GMAKE= yes
+
+WRKSRC= ${WRKDIR}/muParser
+
+# taken from audio/taglib
+post-patch:
+ @${REINPLACE_CMD} -e "s#\$$(libdir)/pkgconfig#${LOCALBASE}/libdata/pkgconfig#g" \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.pre.mk>
+
+.if ( ${OSVERSION} < 501103 )
+USE_GCC= 3.3+
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/muparser/distinfo b/math/muparser/distinfo
new file mode 100644
index 000000000000..f235a987bfd7
--- /dev/null
+++ b/math/muparser/distinfo
@@ -0,0 +1,3 @@
+MD5 (muparser/1.25/muparser.tar.gz) = b651b2a66bf9eda7406d4e5f25c73a35
+SHA256 (muparser/1.25/muparser.tar.gz) = 8d3ce8665de5b4634f584ac4c8f23f57aff03dabdd8d1cc76f9d528c4fd40d20
+SIZE (muparser/1.25/muparser.tar.gz) = 207783
diff --git a/math/muparser/pkg-descr b/math/muparser/pkg-descr
new file mode 100644
index 000000000000..0489d93d2591
--- /dev/null
+++ b/math/muparser/pkg-descr
@@ -0,0 +1,6 @@
+muParser is an extensible high performance math parser library written in C++.
+It is based on transforming an expression into a bytecode and precalculating
+constant parts of it.
+
+Author: Ingo Berg <ingo_berg@gmx.de>
+WWW: http://muparser.sourceforge.net/
diff --git a/math/muparser/pkg-plist b/math/muparser/pkg-plist
new file mode 100644
index 000000000000..4b472d46bf23
--- /dev/null
+++ b/math/muparser/pkg-plist
@@ -0,0 +1,18 @@
+@comment $FreeBSD$
+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/libmuparser.so.0
+lib/libmuparser.so.0.0.0
+libdata/pkgconfig/muparser.pc