# New ports collection makefile for:	xmonad-contrib
# Date created:		2008-01-23
# Whom:		Matthieu Guegan <matt.guegan@free.fr>
#
# $FreeBSD: ports/x11-wm/hs-xmonad-contrib/Makefile,v 1.24 2012/02/13 03:49:32 pgj Exp $
#

PORTNAME=	xmonad-contrib
PORTVERSION=	0.10
PORTREVISION=	1
CATEGORIES=	x11-wm haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Third party tiling algorithms, configurations and scripts to xmonad

LICENSE=	BSD

USE_CABAL=	mtl utf8-string X11>=1.5.0.0 xmonad>=0.10
USE_XORG=	x11

RUN_DEPENDS+=	bash:${PORTSDIR}/shells/bash

OPTIONS=	XFT "Enable Xft support for fonts" On

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

.if defined(WITH_XFT)
CONFIGURE_ARGS+=	--flags="use_xft"
USE_CABAL+=		X11-xft>=0.2
.endif

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