diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index fcd35cf51bdf..3367b97f4542 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -161,6 +161,7 @@ hxt_port= textproc/hs-hxt hxt-charproperties_port= textproc/hs-hxt-charproperties hxt-regex-xmlschema_port= textproc/hs-hxt-regex-xmlschema hxt-unicode_port= textproc/hs-hxt-unicode +ieee754_port= math/hs-ieee754 IfElse_port= devel/hs-IfElse IORefCAS_port= devel/hs-IORefCAS json_port= converters/hs-json diff --git a/math/hs-ieee754/Makefile b/math/hs-ieee754/Makefile new file mode 100644 index 000000000000..86f9c53abf46 --- /dev/null +++ b/math/hs-ieee754/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: hs-ieee754 +# Date created: April 7, 2012 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= ieee754 +PORTVERSION= 0.7.3 +CATEGORIES= math haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= Utilities for dealing with IEEE floating point numbers + +LICENSE= BSD + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/math/hs-ieee754/distinfo b/math/hs-ieee754/distinfo new file mode 100644 index 000000000000..99a76e2c0762 --- /dev/null +++ b/math/hs-ieee754/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/ieee754-0.7.3.tar.gz) = 603fc8470330abd25b4c46d63536cca75ca4d282acfefa565fddc612e021073f +SIZE (cabal/ieee754-0.7.3.tar.gz) = 16219 diff --git a/math/hs-ieee754/pkg-descr b/math/hs-ieee754/pkg-descr new file mode 100644 index 000000000000..614a09e9b446 --- /dev/null +++ b/math/hs-ieee754/pkg-descr @@ -0,0 +1,5 @@ +Utilities for dealing with IEEE floating point numbers, ported from the +Tango math library; approximate and exact equality comparisons for general +types. + +WWW: http://github.com/patperry/hs-ieee754