aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-08-08 17:21:45 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-08-08 17:21:45 +0000
commit25bf018f0fa446ca38508d35b6b3474e88d758d3 (patch)
tree45b457da59382af32e809be042d2a1a7cad9e952 /math
parent1c8feb1a3fd41782660f5439357efe8a9519c625 (diff)
Notes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile3
-rw-r--r--math/hs-Agda-stdlib/Makefile3
-rw-r--r--math/hs-Agda-stdlib/distinfo5
-rw-r--r--math/hs-Agda-stdlib/files/patch-lib.cabal18
-rw-r--r--math/hs-Agda-stdlib/files/patch-src_Size.agda21
-rw-r--r--math/hs-Agda/Makefile26
-rw-r--r--math/hs-Agda/distinfo7
-rw-r--r--math/hs-Agda/files/patch-Agda.cabal26
-rw-r--r--math/hs-Agda/files/pkg-deinstall.in9
-rw-r--r--math/hs-Agda/files/pkg-install.in9
-rw-r--r--math/hs-NumInstances/Makefile1
-rw-r--r--math/hs-NumInstances/distinfo1
-rw-r--r--math/hs-adjunctions/Makefile2
-rw-r--r--math/hs-adjunctions/distinfo5
-rw-r--r--math/hs-categories/Makefile1
-rw-r--r--math/hs-categories/distinfo1
-rw-r--r--math/hs-comonad/Makefile2
-rw-r--r--math/hs-comonad/distinfo5
-rw-r--r--math/hs-contravariant/Makefile5
-rw-r--r--math/hs-contravariant/distinfo5
-rw-r--r--math/hs-data-lens-template/Makefile2
-rw-r--r--math/hs-data-lens-template/distinfo5
-rw-r--r--math/hs-data-lens/Makefile4
-rw-r--r--math/hs-data-lens/distinfo5
-rw-r--r--math/hs-data-lens/files/patch-data-lens.cabal11
-rw-r--r--math/hs-distributive/Makefile5
-rw-r--r--math/hs-distributive/distinfo5
-rw-r--r--math/hs-erf/Makefile2
-rw-r--r--math/hs-erf/distinfo1
-rw-r--r--math/hs-fixed/Makefile13
-rw-r--r--math/hs-fixed/distinfo3
-rw-r--r--math/hs-fixed/pkg-descr3
-rw-r--r--math/hs-half/Makefile13
-rw-r--r--math/hs-half/distinfo3
-rw-r--r--math/hs-half/pkg-descr3
-rw-r--r--math/hs-ieee754/Makefile2
-rw-r--r--math/hs-ieee754/distinfo5
-rw-r--r--math/hs-integer-logarithms/Makefile13
-rw-r--r--math/hs-integer-logarithms/distinfo3
-rw-r--r--math/hs-integer-logarithms/pkg-descr7
-rw-r--r--math/hs-kan-extensions/Makefile7
-rw-r--r--math/hs-kan-extensions/distinfo5
-rw-r--r--math/hs-kan-extensions/files/patch-kan-extensions.cabal10
-rw-r--r--math/hs-math-functions/Makefile5
-rw-r--r--math/hs-math-functions/distinfo5
-rw-r--r--math/hs-mwc-random/Makefile4
-rw-r--r--math/hs-mwc-random/distinfo5
-rw-r--r--math/hs-pointed/Makefile8
-rw-r--r--math/hs-pointed/distinfo5
-rw-r--r--math/hs-pointed/files/patch-git_55eab022
-rw-r--r--math/hs-probability/Makefile3
-rw-r--r--math/hs-probability/distinfo5
-rw-r--r--math/hs-probability/files/patch-probability.cabal11
-rw-r--r--math/hs-semigroupoids/Makefile2
-rw-r--r--math/hs-semigroupoids/distinfo5
-rw-r--r--math/hs-semigroups/Makefile4
-rw-r--r--math/hs-semigroups/distinfo5
-rw-r--r--math/hs-semigroups/files/patch-semigroups.cabal12
-rw-r--r--math/hs-statistics/Makefile6
-rw-r--r--math/hs-statistics/distinfo5
-rw-r--r--math/hs-vector-space/Makefile2
-rw-r--r--math/hs-vector-space/distinfo5
62 files changed, 234 insertions, 170 deletions
diff --git a/math/Makefile b/math/Makefile
index 931b5268a1a8..daf7140b9145 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -218,7 +218,10 @@
SUBDIR += hs-data-lens-template
SUBDIR += hs-distributive
SUBDIR += hs-erf
+ SUBDIR += hs-fixed
+ SUBDIR += hs-half
SUBDIR += hs-ieee754
+ SUBDIR += hs-integer-logarithms
SUBDIR += hs-kan-extensions
SUBDIR += hs-math-functions
SUBDIR += hs-mwc-random
diff --git a/math/hs-Agda-stdlib/Makefile b/math/hs-Agda-stdlib/Makefile
index 5dc454168d49..2a2923c4d023 100644
--- a/math/hs-Agda-stdlib/Makefile
+++ b/math/hs-Agda-stdlib/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= Agda-stdlib
-PORTVERSION= 0.9
-PORTREVISION= 1
+PORTVERSION= 0.13
DISTVERSIONPREFIX= v
CATEGORIES= math haskell
diff --git a/math/hs-Agda-stdlib/distinfo b/math/hs-Agda-stdlib/distinfo
index 7fbcd93815be..6389d83a9e26 100644
--- a/math/hs-Agda-stdlib/distinfo
+++ b/math/hs-Agda-stdlib/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/agda-agda-stdlib-v0.9_GH0.tar.gz) = 923b487876235863e4f778aa40c508984b26636d50d531f0f31ca9dc45ab3717
-SIZE (cabal/agda-agda-stdlib-v0.9_GH0.tar.gz) = 248895
+TIMESTAMP = 1499623372
+SHA256 (cabal/agda-agda-stdlib-v0.13_GH0.tar.gz) = e7cffc2b8b168c3584b6d1e760d2b49850835444e4777caa69eb29b3677ef8bb
+SIZE (cabal/agda-agda-stdlib-v0.13_GH0.tar.gz) = 264701
diff --git a/math/hs-Agda-stdlib/files/patch-lib.cabal b/math/hs-Agda-stdlib/files/patch-lib.cabal
deleted file mode 100644
index b2ee3bb15f56..000000000000
--- a/math/hs-Agda-stdlib/files/patch-lib.cabal
+++ /dev/null
@@ -1,18 +0,0 @@
---- lib.cabal.orig 2014-11-14 23:18:11 UTC
-+++ lib.cabal
-@@ -7,12 +7,12 @@ description: Helper programs.
- executable GenerateEverything
- hs-source-dirs: .
- main-is: GenerateEverything.hs
-- build-depends: base >= 4.2 && < 4.8,
-+ build-depends: base >= 4.2 && < 4.9,
- filemanip == 0.3.*,
-- filepath >= 1.1 && < 1.4
-+ filepath >= 1.1 && < 1.5
-
- executable AllNonAsciiChars
- hs-source-dirs: .
- main-is: AllNonAsciiChars.hs
-- build-depends: base >= 4.2 && < 4.8,
-+ build-depends: base >= 4.2 && < 4.9,
- filemanip == 0.3.*
diff --git a/math/hs-Agda-stdlib/files/patch-src_Size.agda b/math/hs-Agda-stdlib/files/patch-src_Size.agda
deleted file mode 100644
index 7b141b5a8577..000000000000
--- a/math/hs-Agda-stdlib/files/patch-src_Size.agda
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/Size.agda.orig 2014-11-14 23:18:11 UTC
-+++ src/Size.agda
-@@ -6,13 +6,8 @@
-
- module Size where
-
--postulate
-- Size : Set
-- Size<_ : Size → Set
-- ↑_ : Size → Size
-- ∞ : Size
--
--{-# BUILTIN SIZE Size #-}
--{-# BUILTIN SIZELT Size<_ #-}
--{-# BUILTIN SIZESUC ↑_ #-}
--{-# BUILTIN SIZEINF ∞ #-}
-+{-# BUILTIN SIZEUNIV SizeUniv #-} -- sort SizeUniv
-+{-# BUILTIN SIZE Size #-} -- Size : SizeUniv
-+{-# BUILTIN SIZELT Size<_ #-} -- Size<_ : Size → SizeUniv
-+{-# BUILTIN SIZESUC ↑_ #-} -- ↑_ : Size → Size
-+{-# BUILTIN SIZEINF ∞ #-} -- ∞ : Size
diff --git a/math/hs-Agda/Makefile b/math/hs-Agda/Makefile
index c6ac1f1ad953..7568b0e790a6 100644
--- a/math/hs-Agda/Makefile
+++ b/math/hs-Agda/Makefile
@@ -2,36 +2,28 @@
# $FreeBSD$
PORTNAME= Agda
-PORTVERSION= 2.4.2.3
+PORTVERSION= 2.5.2
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Dependently typed functional programming language and proof assistant
-USE_CABAL= base-orphans>=0.3.1 boxes>=0.1.3 cpphs data-hash>=0.2.0.0 \
- edit-distance>=0.2.1.2 equivalence>=0.2.5 \
- geniplate-mirror>=0.6.0.6 hashable>=1.1.2.3 hashtables>=1.0 \
- haskell-src-exts>=1.16.0.1 mtl>=2.1.1 parallel QuickCheck>=2.8 \
- strict>=0.3.2 text>=0.11 transformers-compat>=0.3.3.2 \
- unordered-containers>=0.2 zlib>=0.4.0.1
+USE_CABAL= EdisonCore boxes data-hash edit-distance equivalence \
+ geniplate-mirror gitrev hashable hashtables ieee754 \
+ monadplus mtl murmur-hash parallel regex-tdfa strict \
+ text unordered-containers zlib
USE_ALEX= yes
USE_HAPPY= yes
+USE_CPPHS= yes
USES= iconv:translit
EXECUTABLE= agda-mode agda
-_PRIMITIVE= Primitive.agdai
-
-INSTALL_PORTDATA= ${INSTALL_DATA} \
- ${DISTDIR}/${DIST_SUBDIR}/${_PRIMITIVE}.${PORTVERSION} \
- ${STAGEDIR}${DATADIR}/lib/prim/Agda/${_PRIMITIVE}
-
FLAGS_ENABLE= cpphs
-.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
-
-MASTER_SITES+= LOCAL/pgj:primitive
-DISTFILES+= ${_PRIMITIVE}.${PORTVERSION}:primitive
+SUB_FILES= pkg-install pkg-deinstall
+SUB_LIST= DATADIR=${DATADIR}
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-Agda/distinfo b/math/hs-Agda/distinfo
index 35fced2f5b13..5d6083b21fd5 100644
--- a/math/hs-Agda/distinfo
+++ b/math/hs-Agda/distinfo
@@ -1,4 +1,3 @@
-SHA256 (cabal/Agda-2.4.2.3.tar.gz) = bc6def45e32498f51863d67acfbe048c039d630c6a36761ed27e99a5f68d7b27
-SIZE (cabal/Agda-2.4.2.3.tar.gz) = 990268
-SHA256 (cabal/Primitive.agdai.2.4.2.3) = a5b2353a50256f24c87f20b7892faabc99b9bad8f9b5cc68c24343707c1accf8
-SIZE (cabal/Primitive.agdai.2.4.2.3) = 2627
+TIMESTAMP = 1500999185
+SHA256 (cabal/Agda-2.5.2.tar.gz) = d812cec3bf7f03c4b27248572475c7e060154102771a8434cc11ba89f5691439
+SIZE (cabal/Agda-2.5.2.tar.gz) = 1240885
diff --git a/math/hs-Agda/files/patch-Agda.cabal b/math/hs-Agda/files/patch-Agda.cabal
index f6be142036d6..a7e0d60526de 100644
--- a/math/hs-Agda/files/patch-Agda.cabal
+++ b/math/hs-Agda/files/patch-Agda.cabal
@@ -1,17 +1,11 @@
---- Agda.cabal.orig 2015-05-25 16:22:38 UTC
+--- Agda.cabal.orig 2016-12-22 12:18:52 UTC
+++ Agda.cabal
-@@ -85,12 +85,12 @@ library
- -- even though it builds with older GHCs.
- , bytestring >= 0.9.2.1 && < 0.11
- , containers >= 0.4.2.1 && < 0.6
-- , data-hash == 0.2.0.0
-+ , data-hash == 0.2.0.*
- , deepseq >= 1.3.0.0 && < 1.5
- , edit-distance >= 0.2.1.2 && < 0.3
- , equivalence >= 0.2.5 && < 0.4
- , filepath >= 1.3.0.0 && < 1.5
-- , geniplate-mirror >= 0.6.0.6 && < 0.7
-+ , geniplate-mirror >= 0.6.0.6 && < 0.8
- -- hashable 1.2.0.10 makes library-test 10x slower. The issue was
- -- fixed in hashable 1.2.1.0.
- -- https://github.com/tibbe/hashable/issues/57.
+@@ -160,7 +160,7 @@ library
+ -- some cases.
+ , hashtables >= 1.0.1.8 && < 1.2 || >= 1.2.0.2 && < 1.3
+ , haskeline >= 0.7.1.3 && < 0.8
+- , ieee754 >= 0.7.8 && < 0.8
++ , ieee754 >= 0.7.8 && < 0.9
+ , monadplus >= 1.4 && < 1.5
+ -- mtl-2.1 contains a severe bug.
+ --
diff --git a/math/hs-Agda/files/pkg-deinstall.in b/math/hs-Agda/files/pkg-deinstall.in
new file mode 100644
index 000000000000..2b2d2656ddf5
--- /dev/null
+++ b/math/hs-Agda/files/pkg-deinstall.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PKG_DATADIR=%%DATADIR%%
+
+if [ "$2" = "POST-DEINSTALL" ]; then
+ for ai in $(find ${PKG_DATADIR}/lib/prim/Agda -name '*.agdai'); do
+ rm $ai
+ done
+fi
diff --git a/math/hs-Agda/files/pkg-install.in b/math/hs-Agda/files/pkg-install.in
new file mode 100644
index 000000000000..7e5bff441da7
--- /dev/null
+++ b/math/hs-Agda/files/pkg-install.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PKG_DATADIR=%%DATADIR%%
+
+if [ "$2" = "POST-INSTALL" ]; then
+ for a in $(find ${PKG_DATADIR}/lib/prim/Agda -name '*.agda'); do
+ ${PKG_PREFIX}/bin/agda $a
+ done
+fi
diff --git a/math/hs-NumInstances/Makefile b/math/hs-NumInstances/Makefile
index dc82288b2042..69b4f66a57ab 100644
--- a/math/hs-NumInstances/Makefile
+++ b/math/hs-NumInstances/Makefile
@@ -2,6 +2,7 @@
PORTNAME= NumInstances
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-NumInstances/distinfo b/math/hs-NumInstances/distinfo
index 95affd463640..161cbb5a61ae 100644
--- a/math/hs-NumInstances/distinfo
+++ b/math/hs-NumInstances/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1499623372
SHA256 (cabal/NumInstances-1.4.tar.gz) = cbdb2a49346f59ceb5ab38592d7bc52e5205580d431d0ac6d852fd9880e59679
SIZE (cabal/NumInstances-1.4.tar.gz) = 4749
diff --git a/math/hs-adjunctions/Makefile b/math/hs-adjunctions/Makefile
index 571e5ddcfa97..a78640a8ca00 100644
--- a/math/hs-adjunctions/Makefile
+++ b/math/hs-adjunctions/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= adjunctions
-PORTVERSION= 4.2.1
+PORTVERSION= 4.3
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-adjunctions/distinfo b/math/hs-adjunctions/distinfo
index 1f9a02439161..2b0978e81400 100644
--- a/math/hs-adjunctions/distinfo
+++ b/math/hs-adjunctions/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/adjunctions-4.2.1.tar.gz) = 65a64cd42dcf356c2b44fffc4360f8cbf494702f7574b5a1e57e1864b0f8f46f
-SIZE (cabal/adjunctions-4.2.1.tar.gz) = 14314
+TIMESTAMP = 1499623373
+SHA256 (cabal/adjunctions-4.3.tar.gz) = b948a14fafe8857f451ae3e474f5264c907b5a2d841d52bf78249ae4749c3ecc
+SIZE (cabal/adjunctions-4.3.tar.gz) = 15651
diff --git a/math/hs-categories/Makefile b/math/hs-categories/Makefile
index 5e4a770cd8e5..40e8b9936330 100644
--- a/math/hs-categories/Makefile
+++ b/math/hs-categories/Makefile
@@ -2,6 +2,7 @@
PORTNAME= categories
PORTVERSION= 1.0.7
+PORTREVISION= 1
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-categories/distinfo b/math/hs-categories/distinfo
index 1751ffd3f5b9..59c7a9aec241 100644
--- a/math/hs-categories/distinfo
+++ b/math/hs-categories/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1499623373
SHA256 (cabal/categories-1.0.7.tar.gz) = c29dcec070073f3fdb13f0265e2efc4f2f88522292189690351a70f24cd830a2
SIZE (cabal/categories-1.0.7.tar.gz) = 9211
diff --git a/math/hs-comonad/Makefile b/math/hs-comonad/Makefile
index 5c5c2df980d3..1d112dcc83d7 100644
--- a/math/hs-comonad/Makefile
+++ b/math/hs-comonad/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= comonad
-PORTVERSION= 4.2.7.2
+PORTVERSION= 5.0.1
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-comonad/distinfo b/math/hs-comonad/distinfo
index bba10c9a1da4..19dd26099e89 100644
--- a/math/hs-comonad/distinfo
+++ b/math/hs-comonad/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/comonad-4.2.7.2.tar.gz) = b762261ef545a16881b66409398752e249a8e654a34088c66d9fabf9ba5a3b2b
-SIZE (cabal/comonad-4.2.7.2.tar.gz) = 16430
+TIMESTAMP = 1499543660
+SHA256 (cabal/comonad-5.0.1.tar.gz) = 561ffd697d9d38467d0d426947e0bade25a05e3c507235eca29ec800ad3f463d
+SIZE (cabal/comonad-5.0.1.tar.gz) = 18218
diff --git a/math/hs-contravariant/Makefile b/math/hs-contravariant/Makefile
index 9ab88f103961..f0435f253c13 100644
--- a/math/hs-contravariant/Makefile
+++ b/math/hs-contravariant/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= contravariant
-PORTVERSION= 1.3.2
+PORTVERSION= 1.4
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -9,8 +9,7 @@ COMMENT= Contravariant functors
LICENSE= BSD3CLAUSE
-USE_CABAL= semigroups>=0.15.2 StateVar>=1.1 tagged>=0.4.4 \
- transformers-compat>=0.3 void>=0.6
+USE_CABAL= semigroups StateVar transformers-compat void
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-contravariant/distinfo b/math/hs-contravariant/distinfo
index 49fac5f0ec0a..b3abd5062bc1 100644
--- a/math/hs-contravariant/distinfo
+++ b/math/hs-contravariant/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/contravariant-1.3.2.tar.gz) = 52baae0676d6d5bcf7d891e6cda4580e58646c747d570bdde69b0023c2576639
-SIZE (cabal/contravariant-1.3.2.tar.gz) = 9442
+TIMESTAMP = 1499537771
+SHA256 (cabal/contravariant-1.4.tar.gz) = e1666df1373ed784baa7d1e8e963bbc2d1f3c391578ac550ae74e7399173ee84
+SIZE (cabal/contravariant-1.4.tar.gz) = 11652
diff --git a/math/hs-data-lens-template/Makefile b/math/hs-data-lens-template/Makefile
index c959706bc629..1e82d9e83534 100644
--- a/math/hs-data-lens-template/Makefile
+++ b/math/hs-data-lens-template/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= data-lens-template
-PORTVERSION= 2.1.9
+PORTVERSION= 2.2
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-data-lens-template/distinfo b/math/hs-data-lens-template/distinfo
index eb198e83c509..67e1b998e603 100644
--- a/math/hs-data-lens-template/distinfo
+++ b/math/hs-data-lens-template/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/data-lens-template-2.1.9.tar.gz) = cf94f5d81569ad8f0ce4194649f5920226adf990d4012728958516d9821af236
-SIZE (cabal/data-lens-template-2.1.9.tar.gz) = 3341
+TIMESTAMP = 1499623374
+SHA256 (cabal/data-lens-template-2.2.tar.gz) = f50b0f5364c5d8a11278722ccb2faf2b7c4451001b34b4f55150599484182af0
+SIZE (cabal/data-lens-template-2.2.tar.gz) = 3339
diff --git a/math/hs-data-lens/Makefile b/math/hs-data-lens/Makefile
index ba6d40b9b429..74c7ec71f694 100644
--- a/math/hs-data-lens/Makefile
+++ b/math/hs-data-lens/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= data-lens
-PORTVERSION= 2.10.7
+PORTVERSION= 2.11.1
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -9,7 +9,7 @@ COMMENT= Used to be Haskell 98 Lenses
LICENSE= BSD3CLAUSE
-USE_CABAL= comonad>=4.0 semigroupoids>=4.0
+USE_CABAL= comonad semigroupoids
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-data-lens/distinfo b/math/hs-data-lens/distinfo
index 9f662c9fca29..0d95442ea5f2 100644
--- a/math/hs-data-lens/distinfo
+++ b/math/hs-data-lens/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/data-lens-2.10.7.tar.gz) = 3b198a84158d757d074b6cf71fe16c8ad900e24991d9813d0b6361a1fd97e050
-SIZE (cabal/data-lens-2.10.7.tar.gz) = 6078
+TIMESTAMP = 1499623374
+SHA256 (cabal/data-lens-2.11.1.tar.gz) = fbbe0bb7d754fa9bced7c89a0629146618ab204cbe7a7ea26b1fa9746ac73c32
+SIZE (cabal/data-lens-2.11.1.tar.gz) = 6208
diff --git a/math/hs-data-lens/files/patch-data-lens.cabal b/math/hs-data-lens/files/patch-data-lens.cabal
new file mode 100644
index 000000000000..77e39858d90c
--- /dev/null
+++ b/math/hs-data-lens/files/patch-data-lens.cabal
@@ -0,0 +1,11 @@
+--- data-lens.cabal.orig 2017-07-10 16:11:36 UTC
++++ data-lens.cabal
+@@ -23,7 +23,7 @@ library
+ base >= 4 && < 5,
+ comonad >= 4.0 && < 5.1,
+ containers >= 0.3 && < 0.6,
+- semigroupoids >= 4.0 && < 5.2,
++ semigroupoids >= 4.0 && < 5.3,
+ transformers >= 0.4 && < 0.6
+
+ extensions: CPP
diff --git a/math/hs-distributive/Makefile b/math/hs-distributive/Makefile
index 50fbd2215376..70d19b7ff6a9 100644
--- a/math/hs-distributive/Makefile
+++ b/math/hs-distributive/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= distributive
-PORTVERSION= 0.4.4
-PORTREVISION= 2
+PORTVERSION= 0.5.2
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,7 +9,7 @@ COMMENT= Distributive functors -- Dual to Traversable
LICENSE= BSD3CLAUSE
-USE_CABAL= tagged>=0.7 transformers-compat>=0.3
+USE_CABAL= base-orphans>=0.5 tagged>=0.7 transformers-compat>=0.3
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-distributive/distinfo b/math/hs-distributive/distinfo
index 78fbbd2194ba..91eba5cc0bbd 100644
--- a/math/hs-distributive/distinfo
+++ b/math/hs-distributive/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/distributive-0.4.4.tar.gz) = 82d1f53495fe9c25e4e974825666b4a6232af7452784e145cc04aeb365b25468
-SIZE (cabal/distributive-0.4.4.tar.gz) = 6686
+TIMESTAMP = 1499537738
+SHA256 (cabal/distributive-0.5.2.tar.gz) = ade2be6a5e81950ab2918d938037dde0ce09d04dc399cefbf191ce6cb5f76cd9
+SIZE (cabal/distributive-0.5.2.tar.gz) = 11824
diff --git a/math/hs-erf/Makefile b/math/hs-erf/Makefile
index 5bf4b52002a3..9700eaa8082d 100644
--- a/math/hs-erf/Makefile
+++ b/math/hs-erf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= erf
PORTVERSION= 2.0.0.0
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-erf/distinfo b/math/hs-erf/distinfo
index a88885b0142f..0606c455890c 100644
--- a/math/hs-erf/distinfo
+++ b/math/hs-erf/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1499623375
SHA256 (cabal/erf-2.0.0.0.tar.gz) = 24f0b79c7e1d25cb2cd44c2258d7a464bf6db8079775b50b60b54a254616b337
SIZE (cabal/erf-2.0.0.0.tar.gz) = 1918
diff --git a/math/hs-fixed/Makefile b/math/hs-fixed/Makefile
new file mode 100644
index 000000000000..fad801826842
--- /dev/null
+++ b/math/hs-fixed/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PORTNAME= fixed
+PORTVERSION= 0.2.1.1
+CATEGORIES= math haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Signed 15.16 precision fixed point arithmetic
+
+LICENSE= BSD3CLAUSE
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/math/hs-fixed/distinfo b/math/hs-fixed/distinfo
new file mode 100644
index 000000000000..7f714cc8436b
--- /dev/null
+++ b/math/hs-fixed/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499459722
+SHA256 (cabal/fixed-0.2.1.1.tar.gz) = 24a9e1e251998c9d06037bb771d9eab2980a91132de59a19d0166a1c51e715e2
+SIZE (cabal/fixed-0.2.1.1.tar.gz) = 4346
diff --git a/math/hs-fixed/pkg-descr b/math/hs-fixed/pkg-descr
new file mode 100644
index 000000000000..0550114c68d2
--- /dev/null
+++ b/math/hs-fixed/pkg-descr
@@ -0,0 +1,3 @@
+Signed 15.16 precision fixed point arithmetic
+
+WWW: https://hackage.haskell.org/package/fixed
diff --git a/math/hs-half/Makefile b/math/hs-half/Makefile
new file mode 100644
index 000000000000..631df3c399bb
--- /dev/null
+++ b/math/hs-half/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PORTNAME= half
+PORTVERSION= 0.2.2.3
+CATEGORIES= math haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Half-precision floating-point
+
+LICENSE= BSD3CLAUSE
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/math/hs-half/distinfo b/math/hs-half/distinfo
new file mode 100644
index 000000000000..fd10684b386f
--- /dev/null
+++ b/math/hs-half/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499451861
+SHA256 (cabal/half-0.2.2.3.tar.gz) = 85c244c80d1c889a3d79073a6f5a99d9e769dbe3c574ca11d992b2b4f7599a5c
+SIZE (cabal/half-0.2.2.3.tar.gz) = 6050
diff --git a/math/hs-half/pkg-descr b/math/hs-half/pkg-descr
new file mode 100644
index 000000000000..7931199f2694
--- /dev/null
+++ b/math/hs-half/pkg-descr
@@ -0,0 +1,3 @@
+Half-precision floating-point
+
+WWW: https://hackage.haskell.org/package/half
diff --git a/math/hs-ieee754/Makefile b/math/hs-ieee754/Makefile
index 3b3b7e2a489f..062c92d94a9b 100644
--- a/math/hs-ieee754/Makefile
+++ b/math/hs-ieee754/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ieee754
-PORTVERSION= 0.7.6
+PORTVERSION= 0.8.0
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-ieee754/distinfo b/math/hs-ieee754/distinfo
index 28edfb045b49..f4ad1b92f7e9 100644
--- a/math/hs-ieee754/distinfo
+++ b/math/hs-ieee754/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/ieee754-0.7.6.tar.gz) = 5840644e8adbb243adc63d112c8bec3c3996af21a6c1262ce30c1e2b1034450f
-SIZE (cabal/ieee754-0.7.6.tar.gz) = 16787
+TIMESTAMP = 1499623375
+SHA256 (cabal/ieee754-0.8.0.tar.gz) = 0e2dff9c37f59acf5c64f978ec320005e9830f276f9f314e4bfed3f482289ad1
+SIZE (cabal/ieee754-0.8.0.tar.gz) = 17564
diff --git a/math/hs-integer-logarithms/Makefile b/math/hs-integer-logarithms/Makefile
new file mode 100644
index 000000000000..f37b53c1e076
--- /dev/null
+++ b/math/hs-integer-logarithms/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PORTNAME= integer-logarithms
+PORTVERSION= 1.0.2
+CATEGORIES= math haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= The integer-logarithms package
+
+LICENSE= BSD3CLAUSE
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/math/hs-integer-logarithms/distinfo b/math/hs-integer-logarithms/distinfo
new file mode 100644
index 000000000000..7c4820709e72
--- /dev/null
+++ b/math/hs-integer-logarithms/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499448646
+SHA256 (cabal/integer-logarithms-1.0.2.tar.gz) = 31069ccbff489baf6c4a93cb7475640aabea9366eb0b583236f10714a682b570
+SIZE (cabal/integer-logarithms-1.0.2.tar.gz) = 8854
diff --git a/math/hs-integer-logarithms/pkg-descr b/math/hs-integer-logarithms/pkg-descr
new file mode 100644
index 000000000000..221590c22f3f
--- /dev/null
+++ b/math/hs-integer-logarithms/pkg-descr
@@ -0,0 +1,7 @@
+Math.NumberTheory.Logarithms and Math.NumberTheory.Powers.Integer from the
+arithmoi package.
+
+Also provides GHC.Integer.Logarithms.Compat and Math.NumberTheory.Power.Natural
+modules, as well as some additional functions in migrated modules.
+
+WWW: https://hackage.haskell.org/package/integer-logarithms
diff --git a/math/hs-kan-extensions/Makefile b/math/hs-kan-extensions/Makefile
index 796ea110e6bb..50e58d48039a 100644
--- a/math/hs-kan-extensions/Makefile
+++ b/math/hs-kan-extensions/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= kan-extensions
-PORTVERSION= 4.2.2
+PORTVERSION= 5.0.2
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -9,9 +9,8 @@ COMMENT= Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)d
LICENSE= BSD3CLAUSE
-USE_CABAL= adjunctions>=4.2 comonad>=4 contravariant>=1 \
- distributive>=0.2.2 free>=4 mtl>=2.0.1 semigroupoids>=4 \
- tagged>=0.7.2
+USE_CABAL= adjunctions comonad contravariant distributive free mtl \
+ semigroupoids tagged
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-kan-extensions/distinfo b/math/hs-kan-extensions/distinfo
index 57d214706e7b..d737ba37a20f 100644
--- a/math/hs-kan-extensions/distinfo
+++ b/math/hs-kan-extensions/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/kan-extensions-4.2.2.tar.gz) = e51d6dd583045b22bcffe5d0054616f2da5880187e4d7261890d7d987fa61837
-SIZE (cabal/kan-extensions-4.2.2.tar.gz) = 19235
+TIMESTAMP = 1499623376
+SHA256 (cabal/kan-extensions-5.0.2.tar.gz) = 1c9ede8595424209944e59fd46c1d2edb654758be9a45c1c48a4d3cedf42482e
+SIZE (cabal/kan-extensions-5.0.2.tar.gz) = 19957
diff --git a/math/hs-kan-extensions/files/patch-kan-extensions.cabal b/math/hs-kan-extensions/files/patch-kan-extensions.cabal
new file mode 100644
index 000000000000..2d2a1bee65f6
--- /dev/null
+++ b/math/hs-kan-extensions/files/patch-kan-extensions.cabal
@@ -0,0 +1,10 @@
+--- kan-extensions.cabal.orig 2017-07-09 21:09:48 UTC
++++ kan-extensions.cabal
+@@ -47,7 +47,6 @@ library
+ containers >= 0.4 && < 0.6,
+ contravariant >= 1 && < 2,
+ distributive >= 0.2.2 && < 1,
+- fail >= 4.9 && < 5,
+ free >= 4 && < 5,
+ mtl >= 2.0.1 && < 2.3,
+ semigroupoids >= 4 && < 6,
diff --git a/math/hs-math-functions/Makefile b/math/hs-math-functions/Makefile
index 4363f1d60181..2cd2d0f0713d 100644
--- a/math/hs-math-functions/Makefile
+++ b/math/hs-math-functions/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= math-functions
-PORTVERSION= 0.1.5.2
-PORTREVISION= 2
+PORTVERSION= 0.2.1.0
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -11,7 +10,7 @@ COMMENT= Special functions and Chebyshev polynomials
LICENSE= BSD3CLAUSE
-USE_CABAL= erf>=2 vector>=0.7 vector-th-unbox
+USE_CABAL= primitive vector vector-th-unbox
.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
index 53429c2bf281..cc2656d82b44 100644
--- a/math/hs-math-functions/distinfo
+++ b/math/hs-math-functions/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/math-functions-0.1.5.2.tar.gz) = 9ec9b809d33c3b4deebc07d8e776cb3f81866e99906ed84f9c4145fe8eb39f89
-SIZE (cabal/math-functions-0.1.5.2.tar.gz) = 28490
+TIMESTAMP = 1499614804
+SHA256 (cabal/math-functions-0.2.1.0.tar.gz) = f71b5598de453546396a3f5f7f6ce877fffcc996639b7569d8628cae97da65eb
+SIZE (cabal/math-functions-0.2.1.0.tar.gz) = 40272
diff --git a/math/hs-mwc-random/Makefile b/math/hs-mwc-random/Makefile
index 1795daee55d0..a7e58bd2dea4 100644
--- a/math/hs-mwc-random/Makefile
+++ b/math/hs-mwc-random/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mwc-random
-PORTVERSION= 0.13.3.2
+PORTVERSION= 0.13.6.0
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,7 +10,7 @@ COMMENT= Fast, high-quality pseudo random number generation
LICENSE= BSD3CLAUSE
-USE_CABAL= primitive vector>=0.7
+USE_CABAL= math-functions primitive vector>=0.7
INSTALL_PORTDATA= ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DATADIR}
diff --git a/math/hs-mwc-random/distinfo b/math/hs-mwc-random/distinfo
index 8bf42632b4b7..7aa59c649f31 100644
--- a/math/hs-mwc-random/distinfo
+++ b/math/hs-mwc-random/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/mwc-random-0.13.3.2.tar.gz) = 2cb1e354ec8b31400d14716920f38eedd5161003249deedfd49cda290aae5806
-SIZE (cabal/mwc-random-0.13.3.2.tar.gz) = 22290
+TIMESTAMP = 1499623376
+SHA256 (cabal/mwc-random-0.13.6.0.tar.gz) = 065f334fc13c057eb03ef0b6aa3665ff193609d9bfcad8068bdd260801f44716
+SIZE (cabal/mwc-random-0.13.6.0.tar.gz) = 23256
diff --git a/math/hs-pointed/Makefile b/math/hs-pointed/Makefile
index 8e048657d07e..bf2b1ce5ec8d 100644
--- a/math/hs-pointed/Makefile
+++ b/math/hs-pointed/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pointed
-PORTVERSION= 4.2.0.2
+PORTVERSION= 5
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -9,9 +9,9 @@ COMMENT= Pointed and copointed data
LICENSE= BSD3CLAUSE
-USE_CABAL= comonad>=4.0 data-default-class>=0.0.1 hashable>=1.1 \
- kan-extensions>=4.2 semigroupoids>=4 semigroups>=0.8.3.1 \
- stm>=2.1.2.1 tagged>=0.5 unordered-containers>=0.2
+USE_CABAL= comonad data-default-class hashable \
+ kan-extensions semigroupoids semigroups \
+ stm tagged unordered-containers
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-pointed/distinfo b/math/hs-pointed/distinfo
index 218f9372204e..58d4c08e273e 100644
--- a/math/hs-pointed/distinfo
+++ b/math/hs-pointed/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/pointed-4.2.0.2.tar.gz) = 4b8a8a5ad5a54715f6a58090d820657a2f2de4176d899ad736ebd0e54de7da7a
-SIZE (cabal/pointed-4.2.0.2.tar.gz) = 4333
+TIMESTAMP = 1499623377
+SHA256 (cabal/pointed-5.tar.gz) = 8906b8af5125ab3376794a290c5484dbec5a35d0bd0a57e94392ec0e12535d17
+SIZE (cabal/pointed-5.tar.gz) = 4873
diff --git a/math/hs-pointed/files/patch-git_55eab0 b/math/hs-pointed/files/patch-git_55eab0
new file mode 100644
index 000000000000..3db41e66d335
--- /dev/null
+++ b/math/hs-pointed/files/patch-git_55eab0
@@ -0,0 +1,22 @@
+From 55eab00abddefc8b0d9bb2b8c40940e8dfbb0391 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus <oleg.grenrus@iki.fi>
+Date: Sun, 29 May 2016 17:40:00 +0300
+Subject: [PATCH] Allow data-default-class-0.1.0
+
+---
+ pointed.cabal | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pointed.cabal b/pointed.cabal
+index 96abe75..9ec3f14 100644
+--- pointed.cabal
++++ pointed.cabal
+@@ -61,7 +61,7 @@ flag unordered-containers
+
+ library
+ build-depends: base >= 4 && < 5,
+- data-default-class >= 0.0.1 && < 0.1
++ data-default-class >= 0.0.1 && < 0.2
+
+ if flag(comonad)
+ build-depends: comonad >= 5 && < 6
diff --git a/math/hs-probability/Makefile b/math/hs-probability/Makefile
index c72b5c1766df..a894952d4241 100644
--- a/math/hs-probability/Makefile
+++ b/math/hs-probability/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= probability
-PORTVERSION= 0.2.4.1
-PORTREVISION= 2
+PORTVERSION= 0.2.5.1
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-probability/distinfo b/math/hs-probability/distinfo
index 7f8ddae0d826..448e24f4f12f 100644
--- a/math/hs-probability/distinfo
+++ b/math/hs-probability/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/probability-0.2.4.1.tar.gz) = 6c4bcb7343d1fda94fb1799e3e1d8dc45c5a018ac40b38d4f8d19e36001d075a
-SIZE (cabal/probability-0.2.4.1.tar.gz) = 27023
+TIMESTAMP = 1499450528
+SHA256 (cabal/probability-0.2.5.1.tar.gz) = d3e67c8b32dda838c455ddd532a668bc464cfe1d49dc74f4502175614af7ed2d
+SIZE (cabal/probability-0.2.5.1.tar.gz) = 27278
diff --git a/math/hs-probability/files/patch-probability.cabal b/math/hs-probability/files/patch-probability.cabal
deleted file mode 100644
index 944d9266206c..000000000000
--- a/math/hs-probability/files/patch-probability.cabal
+++ /dev/null
@@ -1,11 +0,0 @@
---- probability.cabal.orig 2014-05-29 07:12:14 UTC
-+++ probability.cabal
-@@ -37,7 +37,7 @@ Flag splitBase
- Library
- Build-Depends:
- utility-ht >=0.0.6 && <0.1,
-- transformers >=0.0.1 && <0.4
-+ transformers >=0.0.1 && <0.5
- If flag(splitBase)
- Build-Depends:
- containers >=0.1 && <0.6,
diff --git a/math/hs-semigroupoids/Makefile b/math/hs-semigroupoids/Makefile
index d8f91de460ba..d55dea729eab 100644
--- a/math/hs-semigroupoids/Makefile
+++ b/math/hs-semigroupoids/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= semigroupoids
-PORTVERSION= 5.0.0.3
+PORTVERSION= 5.2
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-semigroupoids/distinfo b/math/hs-semigroupoids/distinfo
index 411ca9725ae3..4b18a65474a7 100644
--- a/math/hs-semigroupoids/distinfo
+++ b/math/hs-semigroupoids/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/semigroupoids-5.0.0.3.tar.gz) = 17dc07085806c6b8c79863f489f0ad534713578a529935b081691830bab4d292
-SIZE (cabal/semigroupoids-5.0.0.3.tar.gz) = 20789
+TIMESTAMP = 1499609808
+SHA256 (cabal/semigroupoids-5.2.tar.gz) = d957f8804ca0dc2b85ef68edcab92dba9cd5d61ea0dddc41c173dda6f97791bc
+SIZE (cabal/semigroupoids-5.2.tar.gz) = 23371
diff --git a/math/hs-semigroups/Makefile b/math/hs-semigroups/Makefile
index b0a88a60baca..6fd52492ee55 100644
--- a/math/hs-semigroups/Makefile
+++ b/math/hs-semigroups/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= semigroups
-PORTVERSION= 0.16.2.2
+PORTVERSION= 0.18.3
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -9,7 +9,7 @@ COMMENT= Anything that associates
LICENSE= BSD3CLAUSE
-USE_CABAL= hashable>=1.1 text>=0.10 unordered-containers>=0.2
+USE_CABAL= hashable>=1.1 text>=0.10 transformers-compat>=0.3 unordered-containers>=0.2
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/math/hs-semigroups/distinfo b/math/hs-semigroups/distinfo
index 87eede055a2c..0e75c0f6df0b 100644
--- a/math/hs-semigroups/distinfo
+++ b/math/hs-semigroups/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/semigroups-0.16.2.2.tar.gz) = d17e3e42c8e2457286d5c583dad5d0df57678ce4dcf12acc8a7667e80bd8ed57
-SIZE (cabal/semigroups-0.16.2.2.tar.gz) = 15159
+TIMESTAMP = 1499594594
+SHA256 (cabal/semigroups-0.18.3.tar.gz) = 35297c986872406e2efe29620c623727369f8c578e2f9c22998d575996e5a9ca
+SIZE (cabal/semigroups-0.18.3.tar.gz) = 18629
diff --git a/math/hs-semigroups/files/patch-semigroups.cabal b/math/hs-semigroups/files/patch-semigroups.cabal
deleted file mode 100644
index 4c1bf04c9980..000000000000
--- a/math/hs-semigroups/files/patch-semigroups.cabal
+++ /dev/null
@@ -1,12 +0,0 @@
---- semigroups.cabal.orig 2015-03-07 07:26:45 UTC
-+++ semigroups.cabal
-@@ -86,8 +86,7 @@ library
- Data.Semigroup.Generic
-
- build-depends:
-- base >= 2 && < 5,
-- nats >= 0.1 && < 2
-+ base >= 2 && < 5
-
- if impl(ghc >= 7.4 && < 7.5)
- build-depends: ghc-prim
diff --git a/math/hs-statistics/Makefile b/math/hs-statistics/Makefile
index d948006abd3c..662648f147f3 100644
--- a/math/hs-statistics/Makefile
+++ b/math/hs-statistics/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= statistics
-PORTVERSION= 0.13.2.3
+PORTVERSION= 0.14.0.2
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
@@ -10,9 +10,9 @@ COMMENT= Library of statistical types, data, and functions
LICENSE= BSD3CLAUSE
-USE_CABAL= aeson>=0.6.0.0 erf math-functions>=0.1.5.2 monad-par>=0.3.4 \
+USE_CABAL= aeson>=0.6.0.0 base-orphans erf math-functions>=0.1.5.2 monad-par>=0.3.4 \
mwc-random>=0.13.0.0 primitive>=0.3 vector>=0.10 \
- vector-algorithms>=0.4 vector-binary-instances>=0.2.1
+ vector-algorithms>=0.4 vector-binary-instances>=0.2.1 vector-th-unbox
INSTALL_PORTDATA= ${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DATADIR}
diff --git a/math/hs-statistics/distinfo b/math/hs-statistics/distinfo
index 9f46f5e69df5..079fd9ed53b8 100644
--- a/math/hs-statistics/distinfo
+++ b/math/hs-statistics/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/statistics-0.13.2.3.tar.gz) = d624b1494959d3c64cfd068c9566778a799d3e3f5d6b22ec3e353ba6d6876fbd
-SIZE (cabal/statistics-0.13.2.3.tar.gz) = 79522
+TIMESTAMP = 1499614825
+SHA256 (cabal/statistics-0.14.0.2.tar.gz) = 3495df2da42c9fcc5b594b97f16c02353bfd6616d6e134ac031dac389d7a4778
+SIZE (cabal/statistics-0.14.0.2.tar.gz) = 99683
diff --git a/math/hs-vector-space/Makefile b/math/hs-vector-space/Makefile
index 980f77ebdb1f..ba3b85937005 100644
--- a/math/hs-vector-space/Makefile
+++ b/math/hs-vector-space/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= vector-space
-PORTVERSION= 0.10.2
+PORTVERSION= 0.10.4
CATEGORIES= math haskell
MAINTAINER= haskell@FreeBSD.org
diff --git a/math/hs-vector-space/distinfo b/math/hs-vector-space/distinfo
index 07fa71d62665..62ea2051598f 100644
--- a/math/hs-vector-space/distinfo
+++ b/math/hs-vector-space/distinfo
@@ -1,2 +1,3 @@
-SHA256 (cabal/vector-space-0.10.2.tar.gz) = 507dc397e48da9f889d06a314355a82aa31fb0dd785aad278dec1a2e8778e858
-SIZE (cabal/vector-space-0.10.2.tar.gz) = 14002
+TIMESTAMP = 1499623378
+SHA256 (cabal/vector-space-0.10.4.tar.gz) = b712cc9fc675b1d9e592f56ed08a9636c87783c11d6ac84b5f18f46cdcbefda2
+SIZE (cabal/vector-space-0.10.4.tar.gz) = 14249