mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
1efa109fa9
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/ PR: ports/129215 Submitted by: Samy Al Bahra <sbahra at kerneled.org>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# New ports collection makefile for: Stream
|
|
# Date created: November 26, 2008
|
|
# Whom: Samy Al Bahra <sbahra@kerneled.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Stream
|
|
PORTVERSION= 0.2.6
|
|
CATEGORIES= devel haskell
|
|
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ \
|
|
http://carte.kerneled.org/mirror/
|
|
PKGNAMEPREFIX= hs-
|
|
|
|
MAINTAINER= sbahra@kerneled.org
|
|
COMMENT= A Haskell library for manipulating infinite lists
|
|
|
|
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
CABAL= ${LOCALBASE}/bin/runghc Setup.lhs
|
|
GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
|
|
SUBDIR= lib/${PORTNAME}-${PORTVERSION}
|
|
PLIST_SUB= GHC_VERSION="${GHC_VERSION}" \
|
|
PORTVERSION=${PORTVERSION} \
|
|
SUBDIR=${SUBDIR}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${CABAL} install
|
|
${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh
|
|
|
|
.include <bsd.port.mk>
|