ports/129215: New port: devel/hs-Stream

Samy Al Bahra sbahra at kerneled.org
Wed Nov 26 21:10:02 UTC 2008


>Number:         129215
>Category:       ports
>Synopsis:       New port: devel/hs-Stream
>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:   Wed Nov 26 21:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Samy Al Bahra
>Release:        
>Organization:
>Environment:
>Description:
This package implements functions, analogous to those from Data.List, to
create and manipulate infinite lists: data Stream a = Cons a (Stream a).
It provides alternative definitions for those Prelude functions that make
sense on such streams.

WWW: http://www.cs.nott.ac.uk/~wss/repos/Stream/dist/doc/html/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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-Stream
#	hs-Stream/pkg-descr
#	hs-Stream/Makefile
#	hs-Stream/distinfo
#	hs-Stream/pkg-plist
#
echo c - hs-Stream
mkdir -p hs-Stream > /dev/null 2>&1
echo x - hs-Stream/pkg-descr
sed 's/^X//' >hs-Stream/pkg-descr << 'bdaff8a49ef0caa5d3982e17d8f1d979'
XThis package implements functions, analogous to those from Data.List, to
Xcreate and manipulate infinite lists: data Stream a = Cons a (Stream a).
XIt provides alternative definitions for those Prelude functions that make
Xsense on such streams.
X
XWWW: http://www.cs.nott.ac.uk/~wss/repos/Stream/dist/doc/html/
bdaff8a49ef0caa5d3982e17d8f1d979
echo x - hs-Stream/Makefile
sed 's/^X//' >hs-Stream/Makefile << 'bf5ebe642b362200a71e83438327250e'
X# New ports collection makefile for:	Stream
X# Date created:				November 26, 2008
X# Whom:					Samy Al Bahra <sbahra at kerneled.org>
X#
X# $FreeBSD$
X
XPORTNAME=	Stream
XPORTVERSION=	0.2.6
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ \
X		http://carte.kerneled.org/mirror/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	sbahra at kerneled.org
XCOMMENT=	A Haskell library for manipulating infinite lists
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
XLIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
X
XCABAL=		${LOCALBASE}/bin/runghc Setup.lhs
XGHC_VERSION=	`${LOCALBASE}/bin/ghc --numeric-version`
XSUBDIR=		lib/${PORTNAME}-${PORTVERSION}
XPLIST_SUB=	GHC_VERSION="${GHC_VERSION}"		\
X		PORTVERSION=${PORTVERSION}		\
X		SUBDIR=${SUBDIR}
X
Xdo-configure:
X	cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc
X
Xdo-build:
X	cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script
X
Xdo-install:
X	cd ${WRKSRC} && ${CABAL} install
X	${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh
X
X.include <bsd.port.mk>
bf5ebe642b362200a71e83438327250e
echo x - hs-Stream/distinfo
sed 's/^X//' >hs-Stream/distinfo << 'a67aec8efee3640ffe2b7d5df4cb16f5'
XMD5 (Stream-0.2.6.tar.gz) = 04a52fe84381c60c8830dac83915ae83
XSHA256 (Stream-0.2.6.tar.gz) = ce2b94a81a91497d024177654521d219aaab4462a381eb70c8199fefbb52edde
XSIZE (Stream-0.2.6.tar.gz) = 4885
a67aec8efee3640ffe2b7d5df4cb16f5
echo x - hs-Stream/pkg-plist
sed 's/^X//' >hs-Stream/pkg-plist << '07a5ede40d26f539704e1f19831d9280'
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSStream-%%PORTVERSION%%.a
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSStream-%%PORTVERSION%%.o
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Stream.hi
X%%SUBDIR%%/register.sh
Xshare/doc/Stream-%%PORTVERSION%%/LICENSE
X at dirrm share/doc/Stream-%%PORTVERSION%%
X at dirrm lib/Stream-%%PORTVERSION%%/ghc-%%GHC_VERSION%%/Data
X at dirrm lib/Stream-%%PORTVERSION%%/ghc-%%GHC_VERSION%%
X at dirrm lib/Stream-%%PORTVERSION%%
X at exec /bin/sh %D/%%SUBDIR%%/register.sh
X at exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X at unexec %D/bin/ghc-pkg unregister Stream
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
07a5ede40d26f539704e1f19831d9280
exit



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



More information about the freebsd-ports-bugs mailing list