Import hs-mmap-0.4.1 as wip/hs-mmap.

This library provides a wrapper to mmap(2) or MapViewOfFile, allowing
files or devices to be lazily loaded into memory as strict or lazy
ByteStrings, ForeignPtrs or plain Ptrs, using the virtual memory
subsystem to do on-demand loading. Modifications are also supported.
This commit is contained in:
PHO / phonohawk 2009-09-24 05:27:50 +00:00 committed by Thomas Klausner
parent 74d257fdc4
commit e1f1337fc3
5 changed files with 41 additions and 0 deletions

4
hs-mmap/DESCR Normal file
View file

@ -0,0 +1,4 @@
This library provides a wrapper to mmap(2) or MapViewOfFile, allowing
files or devices to be lazily loaded into memory as strict or lazy
ByteStrings, ForeignPtrs or plain Ptrs, using the virtual memory
subsystem to do on-demand loading. Modifications are also supported.

12
hs-mmap/Makefile Normal file
View file

@ -0,0 +1,12 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/09/24 05:27:50 phonohawk Exp $
#
DISTNAME= mmap-0.4.1
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org
COMMENT= Memory mapped files for POSIX and Windows
LICENSE= modified-bsd
.include "../../wip/mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

8
hs-mmap/PLIST Normal file
View file

@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/24 05:27:50 phonohawk Exp $
lib/mmap-${PKGVERSION}/${HASKELL_VERSION}/HSmmap-${PKGVERSION}.o
lib/mmap-${PKGVERSION}/${HASKELL_VERSION}/System/IO/MMap.hi
lib/mmap-${PKGVERSION}/${HASKELL_VERSION}/System/IO/MMap.p_hi
lib/mmap-${PKGVERSION}/${HASKELL_VERSION}/libHSmmap-${PKGVERSION}.a
lib/mmap-${PKGVERSION}/${HASKELL_VERSION}/libHSmmap-${PKGVERSION}_p.a
lib/mmap-${PKGVERSION}/${HASKELL_VERSION}/package-description
share/doc/mmap-${PKGVERSION}/LICENSE

12
hs-mmap/buildlink3.mk Normal file
View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/09/24 05:27:50 phonohawk Exp $
BUILDLINK_TREE+= hs-mmap
.if !defined(HS_MMAP_BUILDLINK3_MK)
HS_MMAP_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-mmap+= hs-mmap>=0.4.1
BUILDLINK_PKGSRCDIR.hs-mmap?= ../../wip/hs-mmap
.endif # HS_MMAP_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-mmap

5
hs-mmap/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2009/09/24 05:27:50 phonohawk Exp $
SHA1 (mmap-0.4.1.tar.gz) = 5bfe85d60fea89e85c797687fd08493305563dbe
RMD160 (mmap-0.4.1.tar.gz) = abe23a765ce8835a64429ac265f1bb31e66b9457
Size (mmap-0.4.1.tar.gz) = 5956 bytes