aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2012-02-02 12:56:00 +0000
committerWen Heping <wen@FreeBSD.org>2012-02-02 12:56:00 +0000
commitcef3e449d23d08e6263ca22d8ab87151d489dd98 (patch)
tree9920395e2030c9edbbe9cc0aa20bf3023b97b4c0 /math
parente3a1eef7176e4b63bf3e04b8e8bba986f2ec32c4 (diff)
downloadports-cef3e449d23d08e6263ca22d8ab87151d489dd98.tar.gz
ports-cef3e449d23d08e6263ca22d8ab87151d489dd98.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/hs-math-functions/Makefile24
-rw-r--r--math/hs-math-functions/distinfo2
-rw-r--r--math/hs-math-functions/pkg-descr5
4 files changed, 32 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7f63f1245262..b7b3dd4875b6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -144,6 +144,7 @@
SUBDIR += hs-contravariant
SUBDIR += hs-distributive
SUBDIR += hs-erf
+ SUBDIR += hs-math-functions
SUBDIR += hs-mwc-random
SUBDIR += hs-pointed
SUBDIR += hs-probability
diff --git a/math/hs-math-functions/Makefile b/math/hs-math-functions/Makefile
new file mode 100644
index 000000000000..0e10205c9dd6
--- /dev/null
+++ b/math/hs-math-functions/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: hs-math-functions
+# Date created: Feb 2, 2012
+# Whom: Wen Heping<wen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= math-functions
+PORTVERSION= 0.1.1.0
+CATEGORIES= math haskell
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Special mathematical functions and Chebyshev polynomials
+
+LICENSE= BSD
+
+USE_CABAL= erf>=2 vector>=0.7
+
+CABAL_SETUP= Setup.hs
+
+PORTDATA= *
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/math/hs-math-functions/distinfo b/math/hs-math-functions/distinfo
new file mode 100644
index 000000000000..e5504280a046
--- /dev/null
+++ b/math/hs-math-functions/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/math-functions-0.1.1.0.tar.gz) = 97ceb088f1249d697d95d41ebb8759087c3bb9d00cd5d9c667e885f6dd826061
+SIZE (cabal/math-functions-0.1.1.0.tar.gz) = 12422
diff --git a/math/hs-math-functions/pkg-descr b/math/hs-math-functions/pkg-descr
new file mode 100644
index 000000000000..efb668ac39fe
--- /dev/null
+++ b/math/hs-math-functions/pkg-descr
@@ -0,0 +1,5 @@
+This library provides implementations of special mathematical functions
+and Chebyshev polynomials. These functions are often useful in statistical
+and numerical computing.
+
+WWW: https://github.com/bos/math-functions