summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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