aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-abstract-deque/Makefile
blob: 7d6c77533823b901b7757722a77b4616ee137e16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

PORTNAME=   abstract-deque
PORTVERSION=    0.2
PORTREVISION=   2
CATEGORIES= devel haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    Abstract, parameterized interface to mutable Deques

LICENSE=    BSD

USE_CABAL=  HUnit random

OPTIONS_DEFINE= USECAS

USECAS_DESC=    Use hardware compare-and-swap

NO_STAGE=   yes
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"

.if ${PORT_OPTIONS:MUSECAS}
CONFIGURE_ARGS+=    --flags="useCAS"
USE_CABAL+=     IORefCas>=0.2
.else
CONFIGURE_ARGS+=    --flags="-useCAS"
.endif

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>