summaryrefslogtreecommitdiff
path: root/math/mapm
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-07-22 17:33:28 +0000
committerdrochner <drochner@pkgsrc.org>2004-07-22 17:33:28 +0000
commit9373f64fde0ea53a1c9cb149e684a323921c3ce9 (patch)
tree276e2e5a398d7422883940edfa74febd7d5d8970 /math/mapm
parent488afb46334465d63d53e2f967f6242f0d63d7cf (diff)
downloadpkgsrc-9373f64fde0ea53a1c9cb149e684a323921c3ce9.tar.gz
import mapm-4.9.2, another Arbitrary Precision Math library
(pretty complete, what I'm missing is just better rounding and conversion support)
Diffstat (limited to 'math/mapm')
-rw-r--r--math/mapm/DESCR8
-rw-r--r--math/mapm/Makefile26
-rw-r--r--math/mapm/PLIST8
-rw-r--r--math/mapm/distinfo4
4 files changed, 46 insertions, 0 deletions
diff --git a/math/mapm/DESCR b/math/mapm/DESCR
new file mode 100644
index 00000000000..fae7a365222
--- /dev/null
+++ b/math/mapm/DESCR
@@ -0,0 +1,8 @@
+Mike's Arbitrary Precision Math Library is a set of functions that
+allow the user to perform math to any level of accuracy that is
+desired.
+This library
+will perform the following functions to any desired precision level :
+SQRT, CBRT, SIN, COS, TAN, ARC-SIN, ARC-COS, ARC-TAN, ARC-TAN2, LOG,
+LOG10, EXP, POW, SINH, COSH, TANH, ARC-SINH, ARC-COSH, ARC-TANH, and
+also FACTORIAL.
diff --git a/math/mapm/Makefile b/math/mapm/Makefile
new file mode 100644
index 00000000000..597f89eb12a
--- /dev/null
+++ b/math/mapm/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $
+#
+
+DISTNAME= mapm-4.9.2
+CATEGORIES= math
+MASTER_SITES= http://www.tc.umn.edu/~ringx004/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.tc.umn.edu/~ringx004/
+COMMENT= Arbitrary Precision Math library
+
+WRKSRC= ${WRKDIR}/mapm_4.9.2
+USE_BUILDLINK3= yes
+
+DOCS= README algorithms.used function.ref
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/m_apm.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/libmapm.a ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/calc ${PREFIX}/bin/mapm-calc
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mapm
+ cd ${WRKSRC}; for f in ${DOCS}; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/share/doc/mapm; \
+ done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/mapm/PLIST b/math/mapm/PLIST
new file mode 100644
index 00000000000..bc78a8f845d
--- /dev/null
+++ b/math/mapm/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $
+bin/mapm-calc
+include/m_apm.h
+lib/libmapm.a
+share/doc/mapm/README
+share/doc/mapm/algorithms.used
+share/doc/mapm/function.ref
+@dirrm share/doc/mapm
diff --git a/math/mapm/distinfo b/math/mapm/distinfo
new file mode 100644
index 00000000000..d417883db13
--- /dev/null
+++ b/math/mapm/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $
+
+SHA1 (mapm-4.9.2.tar.gz) = e6270b4b88fb1e02acd5699c9c2d6c8a1824153d
+Size (mapm-4.9.2.tar.gz) = 161575 bytes