diff --git a/devel/Makefile b/devel/Makefile index 5c484b65319d..77e912e796d4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -583,6 +583,7 @@ SUBDIR += hs-bytestring-nums SUBDIR += hs-c2hs SUBDIR += hs-cabal-install + SUBDIR += hs-cereal SUBDIR += hs-checkers SUBDIR += hs-cmdargs SUBDIR += hs-convertible diff --git a/devel/hs-cereal/Makefile b/devel/hs-cereal/Makefile new file mode 100644 index 000000000000..76a4cc9495a0 --- /dev/null +++ b/devel/hs-cereal/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: hs-cereal +# Date created: 2010-08-17 +# Whom: Ashish SHUKLA +# +# $FreeBSD$ +# + +PORTNAME= cereal +PORTVERSION= 0.3.3.0 +CATEGORIES= devel haskell + +MAINTAINER= haskell@FreeBSD.org +COMMENT= A binary serialization library for Haskell + +LICENSE= BSD + +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff --git a/devel/hs-cereal/distinfo b/devel/hs-cereal/distinfo new file mode 100644 index 000000000000..9855a33c419e --- /dev/null +++ b/devel/hs-cereal/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/cereal-0.3.3.0.tar.gz) = 7e94e9b337f9372289839ceeefb255ac671802904ebdfe01aee7fcb51d2e0d2f +SIZE (cabal/cereal-0.3.3.0.tar.gz) = 18876 diff --git a/devel/hs-cereal/pkg-descr b/devel/hs-cereal/pkg-descr new file mode 100644 index 000000000000..5a885777e7b9 --- /dev/null +++ b/devel/hs-cereal/pkg-descr @@ -0,0 +1,7 @@ +A binary serialization library, similar to binary, that introduces an +isolate primitive for parser isolation, and replaces the asynchronous +errors with a user-handleable Either type. Similar to binary in +performance, but uses a strict ByteString instead of a lazy +ByteString, thus restricting it to operating on finite inputs. + +WWW: http://hackage.haskell.org/package/cereal diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index 54b532306cd8..8198811a1409 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -33,6 +33,7 @@ bsd-sysctl_port= devel/hs-bsd-sysctl bytestring-nums_port= devel/hs-bytestring-nums # executable c2hs_port= devel/hs-c2hs # executable cabal-install_port= devel/hs-cabal-install # executable +cereal_port= devel/hs-cereal cairo_port= graphics/hs-cairo case-insensitive_port= textproc/hs-case-insensitive category-extras_port= math/hs-category-extras # BROKEN