Import hs-binary-strict-0.4.5 as wip/hs-binary-strict.

This is a strict version of the Get monad from the binary
package. It's pretty much just a copy and paste job from the original
source code. The binary team are currently unsure about their future
plans w.r.t. strictness, so this is just a stop gap measure. See
http://www.haskell.org/haskellwiki/DealingWithBinaryData for
documentation.
This commit is contained in:
PHO / phonohawk 2009-10-02 03:23:36 +00:00 committed by Thomas Klausner
parent 31545fd693
commit de5acd740f
5 changed files with 64 additions and 0 deletions

6
hs-binary-strict/DESCR Normal file
View file

@ -0,0 +1,6 @@
This is a strict version of the Get monad from the binary
package. It's pretty much just a copy and paste job from the original
source code. The binary team are currently unsure about their future
plans w.r.t. strictness, so this is just a stop gap measure. See
http://www.haskell.org/haskellwiki/DealingWithBinaryData for
documentation.

11
hs-binary-strict/Makefile Normal file
View file

@ -0,0 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 03:23:36 phonohawk Exp $
#
DISTNAME= binary-strict-0.4.5
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org
COMMENT= Binary deserialisation using strict ByteStrings
.include "../../wip/mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

30
hs-binary-strict/PLIST Normal file
View file

@ -0,0 +1,30 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/02 03:23:36 phonohawk Exp $
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/BitBuilder.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/BitBuilder.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/BitPut.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/BitPut.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/BitGet.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/BitGet.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/BitUtil.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/BitUtil.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/ByteSet.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/ByteSet.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/Class.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/Class.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/Get.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/Get.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/IncrementalGet.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/IncrementalGet.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/Util.hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict/Util.p_hi
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/HSbinary-strict-${PKGVERSION}.o
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/libHSbinary-strict-${PKGVERSION}.a
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/libHSbinary-strict-${PKGVERSION}_p.a
lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/package-description
share/doc/binary-strict-${PKGVERSION}/LICENSE
@dirrm share/doc/binary-strict-${PKGVERSION}
@dirrm lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary/Strict
@dirrm lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data/Binary
@dirrm lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}/Data
@dirrm lib/binary-strict-${PKGVERSION}/${HASKELL_VERSION}
@dirrm lib/binary-strict-${PKGVERSION}

View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/10/02 03:23:36 phonohawk Exp $
BUILDLINK_TREE+= hs-binary-strict
.if !defined(HS_BINARY_STRICT_BUILDLINK3_MK)
HS_BINARY_STRICT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-binary-strict+= hs-binary-strict>=0.4.5
BUILDLINK_PKGSRCDIR.hs-binary-strict?= ../../wip/hs-binary-strict
.endif # HS_BINARY_STRICT_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-binary-strict

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/02 03:23:36 phonohawk Exp $
SHA1 (binary-strict-0.4.5.tar.gz) = 8143fd40136706d26ad8f08cb71df16dd0ffe482
RMD160 (binary-strict-0.4.5.tar.gz) = 8c0e1eb7d34b01e85ca4baba496919226cd98196
Size (binary-strict-0.4.5.tar.gz) = 15811 bytes