summaryrefslogtreecommitdiff
path: root/devel/hs-blaze-builder
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn>2014-05-26 22:01:41 +0000
committerszptvlfn <szptvlfn>2014-05-26 22:01:41 +0000
commit874ee640e8a398a65d76463618a74afae798cee8 (patch)
tree3ce9409f7e8bd48c2b66c4c03da8a6da0e510adf /devel/hs-blaze-builder
parent5b40c0b5373927c8627ba7041f583afadcdf434d (diff)
downloadpkgsrc-874ee640e8a398a65d76463618a74afae798cee8.tar.gz
Import blaze-builder-0.3.3.2 as devel/hs-blaze-builder,
packaged for wip by pho. This library provides an abstraction of buffered output of byte streams and several convenience functions to exploit it. For example, it allows to efficiently serialize Haskell values to lazy bytestrings with a large average chunk size. The large average chunk size allows to make good use of cache prefetching in later processing steps (e.g. compression) and reduces the sytem call overhead when writing the resulting lazy bytestring to a file or sending it over the network.
Diffstat (limited to 'devel/hs-blaze-builder')
-rw-r--r--devel/hs-blaze-builder/DESCR8
-rw-r--r--devel/hs-blaze-builder/Makefile12
-rw-r--r--devel/hs-blaze-builder/PLIST69
-rw-r--r--devel/hs-blaze-builder/buildlink3.mk14
-rw-r--r--devel/hs-blaze-builder/distinfo5
5 files changed, 108 insertions, 0 deletions
diff --git a/devel/hs-blaze-builder/DESCR b/devel/hs-blaze-builder/DESCR
new file mode 100644
index 00000000000..4c32c03b9d2
--- /dev/null
+++ b/devel/hs-blaze-builder/DESCR
@@ -0,0 +1,8 @@
+This library provides an abstraction of buffered output of byte
+streams and several convenience functions to exploit it. For example,
+it allows to efficiently serialize Haskell values to lazy bytestrings
+with a large average chunk size. The large average chunk size allows
+to make good use of cache prefetching in later processing steps
+(e.g. compression) and reduces the sytem call overhead when writing
+the resulting lazy bytestring to a file or sending it over the
+network.
diff --git a/devel/hs-blaze-builder/Makefile b/devel/hs-blaze-builder/Makefile
new file mode 100644
index 00000000000..ec9694f4a93
--- /dev/null
+++ b/devel/hs-blaze-builder/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2014/05/26 22:01:41 szptvlfn Exp $
+
+DISTNAME= blaze-builder-0.3.3.2
+CATEGORIES= devel
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Efficient buffered output
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-text/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hs-blaze-builder/PLIST b/devel/hs-blaze-builder/PLIST
new file mode 100644
index 00000000000..38a3ea61def
--- /dev/null
+++ b/devel/hs-blaze-builder/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/26 22:01:41 szptvlfn Exp $
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/ByteString.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Char/Utf8.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Char8.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/HTTP.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Html/Utf8.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Int.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Internal.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Internal/Buffer.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Internal/Types.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Internal/UncheckedShifts.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Internal/Write.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/Blaze/ByteString/Builder/Word.hi
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/HSblaze-builder-${PKGVERSION}.o
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/libHSblaze-builder-${PKGVERSION}.a
+lib/blaze-builder-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/blaze-builder-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-ByteString.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Char-Utf8.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Char8.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-HTTP.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Html-Utf8.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Int.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Internal-Buffer.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Internal-Types.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Internal-Write.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Internal.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder-Word.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/Blaze-ByteString-Builder.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/blaze-builder.haddock
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-A.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-All.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-B.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-C.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-D.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-E.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-F.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-G.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-I.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-N.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-P.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-R.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-S.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-T.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-U.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index-W.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-ByteString.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Char-Utf8.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Char8.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-HTTP.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Html-Utf8.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Int.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Internal-Buffer.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Internal-Types.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Internal-Write.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Internal.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder-Word.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/mini_Blaze-ByteString-Builder.html
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/blaze-builder-${PKGVERSION}/html/synopsis.png
diff --git a/devel/hs-blaze-builder/buildlink3.mk b/devel/hs-blaze-builder/buildlink3.mk
new file mode 100644
index 00000000000..499d43c32df
--- /dev/null
+++ b/devel/hs-blaze-builder/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/05/26 22:01:41 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-blaze-builder
+
+.if !defined(HS_BLAZE_BUILDER_BUILDLINK3_MK)
+HS_BLAZE_BUILDER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-blaze-builder+= hs-blaze-builder>=0.3.3
+BUILDLINK_PKGSRCDIR.hs-blaze-builder?= ../../devel/hs-blaze-builder
+
+.include "../../devel/hs-text/buildlink3.mk"
+.endif # HS_BLAZE_BUILDER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-blaze-builder
diff --git a/devel/hs-blaze-builder/distinfo b/devel/hs-blaze-builder/distinfo
new file mode 100644
index 00000000000..4b74493a6f4
--- /dev/null
+++ b/devel/hs-blaze-builder/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/26 22:01:41 szptvlfn Exp $
+
+SHA1 (blaze-builder-0.3.3.2.tar.gz) = 832d7100de2dda25625380fb3dd6b82a591dacd5
+RMD160 (blaze-builder-0.3.3.2.tar.gz) = 5d6d025526679fd073b283be81bd94b8a7ce1105
+Size (blaze-builder-0.3.3.2.tar.gz) = 67371 bytes