aboutsummaryrefslogtreecommitdiffstats
path: root/x11/hs-X11/Makefile
blob: 5dd61309377735138eb16b2381c8bbbd652996a9 (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
31
32
33
34
# New ports collection makefile for:    hs-x11-ghc
# Date created:             2007-09-03
# Whom:                 Volker Stolz <vs@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   X11
PORTVERSION=    1.5.0.0
PORTREVISION=   2
CATEGORIES= x11 haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    X11 bindings for Haskell programs

LICENSE=    BSD

CABAL_SETUP=    Setup.hs
USE_CABAL=  syb
USE_XORG=   x11 xext sm

OPTIONS=    XINERAMA "Build with Xinerama support" off

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

.if defined(WITH_XINERAMA)
USE_XORG+=      xinerama
CONFIGURE_ARGS+=    --configure-option="--with-xinerama"
.else
CONFIGURE_ARGS+=    --configure-option="--without-xinerama"
.endif

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