From db8a630740d7952632fca1d12503a442fc625335 Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Fri, 3 Aug 2012 02:30:07 +0000 Subject: - Teach the Haskell Cabal ports to use the new options framework - Remove some cruft Obtained from: FreeBSD Haskell --- x11-wm/hs-xmonad-contrib/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'x11-wm/hs-xmonad-contrib') diff --git a/x11-wm/hs-xmonad-contrib/Makefile b/x11-wm/hs-xmonad-contrib/Makefile index e0698c675e25..dd76beabee37 100644 --- a/x11-wm/hs-xmonad-contrib/Makefile +++ b/x11-wm/hs-xmonad-contrib/Makefile @@ -7,7 +7,7 @@ PORTNAME= xmonad-contrib PORTVERSION= 0.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-wm haskell MAINTAINER= haskell@FreeBSD.org @@ -20,12 +20,14 @@ USE_XORG= x11 RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash -OPTIONS= XFT "Enable Xft support for fonts" On +OPTIONS_DEFINE= XFT +OPTIONS_DEFAULT= XFT + +XFT_DESC= Enable Xft support for fonts -.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk" .include -.if defined(WITH_XFT) +.if ${PORT_OPTIONS:MXFT} CONFIGURE_ARGS+= --flags="use_xft" USE_CABAL+= X11-xft>=0.2 .endif -- cgit v1.2.3