summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorleot <leot>2017-01-30 19:49:26 +0000
committerleot <leot>2017-01-30 19:49:26 +0000
commita39caaa4671d6305628765484b72d8d8e1c40325 (patch)
tree2c5fc944692b96f271f1922df0c18b680d5e41b8 /math
parent44c27818d72c8ce7327b9215cd1f034f2ba95754 (diff)
downloadpkgsrc-a39caaa4671d6305628765484b72d8d8e1c40325.tar.gz
Import amath-1.6.2 as math/amath
Features a case sensitive command line interface, internal IEEE 754 calculations with 15 significant digits, calculations with real and complex numbers, variables and user defined functions, logarithmic and exponential functions, trigonometric and hyperbolic function and selected mathematical constants and rounding functions. Packaged by Carsten Larsen via PR pkg/51922
Diffstat (limited to 'math')
-rw-r--r--math/amath/DESCR5
-rw-r--r--math/amath/Makefile24
-rw-r--r--math/amath/PLIST2
-rw-r--r--math/amath/distinfo6
4 files changed, 37 insertions, 0 deletions
diff --git a/math/amath/DESCR b/math/amath/DESCR
new file mode 100644
index 00000000000..abaccd5d687
--- /dev/null
+++ b/math/amath/DESCR
@@ -0,0 +1,5 @@
+Features a case sensitive command line interface, internal IEEE 754
+calculations with 15 significant digits, calculations with real and
+complex numbers, variables and user defined functions, logarithmic
+and exponential functions, trigonometric and hyperbolic function
+and selected mathematical constants and rounding functions.
diff --git a/math/amath/Makefile b/math/amath/Makefile
new file mode 100644
index 00000000000..06c9db114aa
--- /dev/null
+++ b/math/amath/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/01/30 19:49:26 leot Exp $
+
+DISTNAME= amath-1.6.2
+CATEGORIES= math
+MASTER_SITES= http://suyai.innolan.net/
+
+MAINTAINER= cs@innolan.dk
+HOMEPAGE= http://amath.innolan.net/
+COMMENT= Simple command line calculator
+LICENSE= 2-clause-bsd
+
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS= bin
+BINNAME= amath
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${BINNAME} ${DESTDIR}${PREFIX}/bin/${BINNAME}
+
+do-test:
+ ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ./${BINNAME} test
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/amath/PLIST b/math/amath/PLIST
new file mode 100644
index 00000000000..3094387cde1
--- /dev/null
+++ b/math/amath/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/30 19:49:26 leot Exp $
+bin/amath
diff --git a/math/amath/distinfo b/math/amath/distinfo
new file mode 100644
index 00000000000..1b557b01df2
--- /dev/null
+++ b/math/amath/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/01/30 19:49:26 leot Exp $
+
+SHA1 (amath-1.6.2.tar.gz) = 9efdf46ddb70128d920abd92c20c65c3ef700f00
+RMD160 (amath-1.6.2.tar.gz) = 101b5692ac6f77d0e05edff52736f4587b0313e2
+SHA512 (amath-1.6.2.tar.gz) = f05691da9930a209224846a014a5cb19b5c7ea1ac0a5b73db5f74905f741d800b3b4ddf5df0a8caceed15b291bd327a6bb1ff72b68764c269fa08c1ed427390b
+Size (amath-1.6.2.tar.gz) = 494838 bytes