Revision: 70393 http://trac.macports.org/changeset/70393 Author: gwright@macports.org Date: 2010-08-08 00:19:25 -0700 (Sun, 08 Aug 2010) Log Message: ----------- Add haskell bindings to mmap, version 0.4.x, to support current version of darcs (2.4.1). May be able to remove eventually when darcs (and ghc) are updated to the latest versions, but this deals with the situation as it is now. Added Paths: ----------- trunk/dports/devel/hs-mmap-04/ trunk/dports/devel/hs-mmap-04/Portfile Added: trunk/dports/devel/hs-mmap-04/Portfile =================================================================== --- trunk/dports/devel/hs-mmap-04/Portfile (rev 0) +++ trunk/dports/devel/hs-mmap-04/Portfile 2010-08-08 07:19:25 UTC (rev 70393) @@ -0,0 +1,33 @@ +# $Id: Portfile 65849 2010-04-02 03:49:11Z ryandesign@macports.org $ + +PortSystem 1.0 + +PortGroup haskell 1.0 +haskell.setup mmap-04 0.4.1 +set canonicalname mmap +maintainers nomaintainer +description Memory mapped files, version 0.4.1 for darcs 2.4.1. +long_description \ + 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. + +platforms darwin +distname ${canonicalname}-${version} +master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version} + +checksums md5 2ebe9772a0efd0a6febfbc67c02faab2 \ + sha1 5bfe85d60fea89e85c797687fd08493305563dbe \ + rmd160 abe23a765ce8835a64429ac265f1bb31e66b9457 + +depends_lib port:ghc + +universal_variant no + +configure.args-append -v --enable-library-profiling \ + --with-gcc=${configure.cc} + +build.args-append -v +