aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2011-08-14 05:07:39 +0800
committerpgj <pgj@FreeBSD.org>2011-08-14 05:07:39 +0800
commit49df42dd59a36d4dd4628546f7985b36468c4062 (patch)
treec53b8510d0528e16b66ce0d005fa3b624e5ec67c
parent6ecadc8ee6f1ad5823f3a4f48f934ba425eec4e5 (diff)
downloadfreebsd-ports-gnome-49df42dd59a36d4dd4628546f7985b36468c4062.tar.gz
freebsd-ports-gnome-49df42dd59a36d4dd4628546f7985b36468c4062.tar.zst
freebsd-ports-gnome-49df42dd59a36d4dd4628546f7985b36468c4062.zip
Implements MurmurHash2, a good, fast, general-purpose, non-cryptographic
hashing function. See <http://murmurhash.googlepages.com/> for details. This implementation is pure Haskell, so it might be a bit slower than a C FFI binding. WWW: http://github.com/nominolo/murmur-hash Obtained from: FreeBSD Haskell
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-murmur-hash/Makefile20
-rw-r--r--devel/hs-murmur-hash/distinfo2
-rw-r--r--devel/hs-murmur-hash/pkg-descr7
-rw-r--r--lang/ghc/bsd.hackage.mk1
5 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9fb2b8c510de..1a16cd89bb01 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -627,6 +627,7 @@
SUBDIR += hs-mtl
SUBDIR += hs-mtl-docs
SUBDIR += hs-mueval
+ SUBDIR += hs-murmur-hash
SUBDIR += hs-parallel
SUBDIR += hs-pcre-light
SUBDIR += hs-primitive
diff --git a/devel/hs-murmur-hash/Makefile b/devel/hs-murmur-hash/Makefile
new file mode 100644
index 000000000000..d709bee0a87f
--- /dev/null
+++ b/devel/hs-murmur-hash/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-murmur-hash
+# Date created: March 13, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= murmur-hash
+PORTVERSION= 0.1.0.4
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= MurmurHash2 implementation for Haskell
+
+LICENSE= BSD
+
+CABAL_SETUP= Setup.hs
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-murmur-hash/distinfo b/devel/hs-murmur-hash/distinfo
new file mode 100644
index 000000000000..0f1a98ec770c
--- /dev/null
+++ b/devel/hs-murmur-hash/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/murmur-hash-0.1.0.4.tar.gz) = 0da1e2719e21a3757bd8fd6754f09b7713dace69e0f21d59bb98e992c76edb22
+SIZE (cabal/murmur-hash-0.1.0.4.tar.gz) = 4071
diff --git a/devel/hs-murmur-hash/pkg-descr b/devel/hs-murmur-hash/pkg-descr
new file mode 100644
index 000000000000..9c572b0b0b3f
--- /dev/null
+++ b/devel/hs-murmur-hash/pkg-descr
@@ -0,0 +1,7 @@
+Implements MurmurHash2, a good, fast, general-purpose, non-cryptographic
+hashing function. See <http://murmurhash.googlepages.com/> for details.
+
+This implementation is pure Haskell, so it might be a bit slower than a C
+FFI binding.
+
+WWW: http://github.com/nominolo/murmur-hash
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index b9f77e0873ad..fa40a1c29ae0 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -115,6 +115,7 @@ MonadCatchIO-mtl_port= devel/hs-MonadCatchIO-mtl
MonadCatchIO-transformers_port= devel/hs-MonadCatchIO-transformers
mtl_port= devel/hs-mtl
mueval_port= devel/hs-mueval # executable
+murmur-hash_port= devel/hs-murmur-hash
mwc-random_port= math/hs-mwc-random
mysql_port= databases/hs-mysql
network_port= net/hs-network