Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 14:50:14 -0700 (PDT)
From:      Jacula Modyun <jacula@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/137111: [new port]: devel/hs-mmap
Message-ID:  <200907242150.n6OLoBgf040245@splork.wirewater.yow>
Resent-Message-ID: <200907242200.n6OM0DfR075406@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137111
>Category:       ports
>Synopsis:       [new port]: devel/hs-mmap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 24 22:00:13 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 18 11:22:07 UTC 2008 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

See the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055

>How-To-Repeat:
	
>Fix:

	

--- hs-mmap.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hs-mmap
#	hs-mmap/pkg-plist
#	hs-mmap/pkg-descr
#	hs-mmap/distinfo
#	hs-mmap/Makefile
#
echo c - hs-mmap
mkdir -p hs-mmap > /dev/null 2>&1
echo x - hs-mmap/pkg-plist
sed 's/^X//' >hs-mmap/pkg-plist << '40f8c24b944c7151acf5a4ddfe33ea8b'
X%%MMAP_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSmmap-%%MMAP_VERSION%%.o
X%%MMAP_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO/MMap.hi
X%%MMAP_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSmmap-%%MMAP_VERSION%%.a
X%%MMAP_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X@dirrm %%MMAP_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/IO
X@dirrm %%MMAP_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System
X@dirrm %%MMAP_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X@dirrm %%MMAP_LIBDIR_REL%%
X@exec /bin/sh %D/%%MMAP_LIBDIR_REL%%/register.sh
X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X@unexec %D/bin/ghc-pkg unregister mmap
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
40f8c24b944c7151acf5a4ddfe33ea8b
echo x - hs-mmap/pkg-descr
sed 's/^X//' >hs-mmap/pkg-descr << 'def0f923fcc25e2b2b7093ee2a9a6564'
XThis library provides a wrapper to mmap(2) or MapViewOfFile, 
Xallowing files or devices to be lazily loaded into memory as 
Xstrict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using 
Xthe virtual memory subsystem to do on-demand loading. 
X
XAuthor:		Gracjan Polak <gracjanpolak@gmail.com>
XMaintainer:	Gracjan Polak <gracjanpolak@gmail.com>
XLicense:	BSD3
XWWW:		http://hackage.haskell.org/packages/archive/mmap
X
XExposed-modules: System.IO.MMap
def0f923fcc25e2b2b7093ee2a9a6564
echo x - hs-mmap/distinfo
sed 's/^X//' >hs-mmap/distinfo << 'e0dfb55ce49e9695ce4a43f29c7412b6'
XMD5 (mmap-0.4.1.tar.gz) = 2ebe9772a0efd0a6febfbc67c02faab2
XSHA256 (mmap-0.4.1.tar.gz) = 792b8ecfb0cce1f8588f0d2a63c6893ff98a2479c06745583da8166d5a46ead9
XSIZE (mmap-0.4.1.tar.gz) = 5956
e0dfb55ce49e9695ce4a43f29c7412b6
echo x - hs-mmap/Makefile
sed 's/^X//' >hs-mmap/Makefile << 'b04a26da4b5fca9b980e13c585b7e3e4'
X# New ports collection makefile for: hs-mmap
X# Date created:        July 09 2009
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
X#
X#
X
XPORTNAME=	mmap
XPORTVERSION=	0.4.1
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	jacula@gmail.com
XCOMMENT=	Memory mapped files for POSIX and Windows
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
X
XGHC_VERSION=	6.10.4
XMMAP_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
XMMAP_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		MMAP_VERSION=${MMAP_VERSION} \
X		MMAP_LIBDIR_REL=${MMAP_LIBDIR_REL}
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=		NOPORTDOCS=""
X.else
XPLIST_SUB+=		NOPORTDOCS="@comment "
X.endif
X
X.if !defined(NOPORTDOCS)
X
XPORT_HADDOCK!=	(cd  ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
X.if !empty(PORT_HADDOCK:M?0)
XBUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
X.endif
XBUILD_DEPENDS+=	HsColour:${PORTSDIR}/print/hs-hscolour
X
XHSCOLOUR_VERSION=	1.13
XHSCOLOUR_DATADIR=	${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
X
XPORTDOCS=	*
X.endif
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build \
X		     && ${SETUP_CMD} register --gen-script
X
X.if !defined(NOPORTDOCS)
X	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
X					     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
X.endif
X
Xdo-install:
X	cd ${WRKSRC} && ${SETUP_CMD} install \
X		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${MMAP_LIBDIR_REL}/register.sh
X
Xpost-install:
X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
b04a26da4b5fca9b980e13c585b7e3e4
exit
--- hs-mmap.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907242150.n6OLoBgf040245>