Wrapper to mmap(2), allowing files or devices to be lazily loaded

into memory as strict or lazy ByteStrings, using the virtual memory
subsystem to do on-demand loading.

ok matthew, sthen.
This commit is contained in:
kili 2012-08-30 20:51:27 +00:00
parent 03d1349e31
commit f3e24282c0
4 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/30 20:51:27 kili Exp $
COMMENT = mmap support for strict ByteStrings
DISTNAME = bytestring-mmap-0.2.2
CATEGORIES = devel
HOMEPAGE = http://code.haskell.org/~dons/code/bytestring-mmap/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (ghc/bytestring-mmap-0.2.2.tar.gz) = 3qv44bIK7YCwPotNxEGCrA==
RMD160 (ghc/bytestring-mmap-0.2.2.tar.gz) = JW+eIAjMrZwogM9ajoaLN9oQJnQ=
SHA1 (ghc/bytestring-mmap-0.2.2.tar.gz) = wJicBLndTHKM9eL7w2wo2Z4Omuw=
SHA256 (ghc/bytestring-mmap-0.2.2.tar.gz) = e7yu7M7Fz0SLpZye1N6VvMR7Ea4rm83bYgHey4jraa8=
SIZE (ghc/bytestring-mmap-0.2.2.tar.gz) = 7188

View File

@ -0,0 +1,3 @@
Wrapper to mmap(2), allowing files or devices to be lazily loaded
into memory as strict or lazy ByteStrings, using the virtual memory
subsystem to do on-demand loading.

View File

@ -0,0 +1,37 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/30 20:51:27 kili Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/System/
lib/ghc/${DISTNAME}/System/IO/
lib/ghc/${DISTNAME}/System/IO/Posix/
lib/ghc/${DISTNAME}/System/IO/Posix/MMap/
lib/ghc/${DISTNAME}/System/IO/Posix/MMap.hi
lib/ghc/${DISTNAME}/System/IO/Posix/MMap/Internal.hi
lib/ghc/${DISTNAME}/System/IO/Posix/MMap/Lazy.hi
lib/ghc/${DISTNAME}/include/
lib/ghc/${DISTNAME}/include/hs_bytestring_mmap.h
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/System-IO-Posix-MMap-Internal.html
share/doc/hs-${DISTNAME}/html/System-IO-Posix-MMap-Lazy.html
share/doc/hs-${DISTNAME}/html/System-IO-Posix-MMap.html
share/doc/hs-${DISTNAME}/html/bytestring-mmap.haddock
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_System-IO-Posix-MMap-Internal.html
share/doc/hs-${DISTNAME}/html/mini_System-IO-Posix-MMap-Lazy.html
share/doc/hs-${DISTNAME}/html/mini_System-IO-Posix-MMap.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/ocean.css
share/doc/hs-${DISTNAME}/html/plus.gif
share/doc/hs-${DISTNAME}/html/synopsis.png