openbsd-ports/devel/hs-monad-par/Makefile
kili 4d1caae764 This library offers an alternative parallel programming API to that
provided by the parallel package.

The 'Par' monad allows the simple description of parallel computations,
and can be used to add parallelism to pure Haskell code.  The basic
API is straightforward: the monad supports forking and simple
communication in terms of 'IVar's.

The library comes with an efficient work-stealing implementation,
but the internals are also exposed so that you can build your own
scheduler if necessary.

ok jasper@
2012-10-31 19:19:40 +00:00

27 lines
603 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/10/31 19:19:40 kili Exp $
COMMENT = parallel programming based on a monad
DISTNAME = monad-par-0.3
CATEGORIES = devel
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/hs-abstract-deque>=0.1.4 \
devel/hs-abstract-par \
devel/hs-monad-par-extras>=0.3,<0.4 \
devel/hs-mtl>=2.0.1.0 \
devel/hs-parallel>=3.1 \
security/hs-mwc-random>=0.11
.include <bsd.port.mk>