mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
0c76a8384f
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports are also updated to their corresponding Haskell Platform versions, or latest versions. We would like to acknowledge the support of the FreeBSD Donations Team and Eotvos Lorand University, Faculty of Informatics who contributed to the server that we used for testing. We would also like to thank all the testers who tested FreeBSD Haskell ports and provided their feedback. PR: ports/156642 Approved by: tabthorpe (mentor) Obtained from: FreeBSD Haskell
60 lines
1.3 KiB
Makefile
60 lines
1.3 KiB
Makefile
# New ports collection makefile for: xmobar
|
|
# Date created: November 7, 2008
|
|
# Whom: Samy Al Bahra <sbahra@kerneled.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmobar
|
|
PORTVERSION= 0.12
|
|
CATEGORIES= x11 haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= A minimalistic text based status bar
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_CABAL= mtl parsec stm X11>=1.3.0
|
|
USE_XORG= x11
|
|
|
|
EXECUTABLE= xmobar
|
|
STANDALONE= yes
|
|
|
|
PORTDATA= *
|
|
INSTALL_PORTDATA= ${INSTALL_DATA} ${WRKSRC}/samples/xmobar.config ${DATADIR}
|
|
|
|
OPTIONS= XFT "Use Xft to render text (UTF-8 support included)" off \
|
|
UTF8 "UTF-8 support" on \
|
|
MPD "mpd support" off
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
|
|
.include <bsd.port.options.mk>
|
|
|
|
# Disable Linux-only options
|
|
CONFIGURE_ARGS+= --flags="-with_inotify -with_iwlib"
|
|
|
|
.if defined(WITH_XFT)
|
|
CONFIGURE_ARGS+= --flags="with_xft"
|
|
USE_CABAL+= utf8-string X11-xft>=0.2
|
|
.else
|
|
CONFIGURE_ARGS+= --flags="-with_xft"
|
|
.endif
|
|
|
|
.if defined(WITH_UTF8)
|
|
CONFIGURE_ARGS+= --flags="with_utf8"
|
|
.if !defined(WITH_XFT)
|
|
USE_CABAL+= utf8-string
|
|
.endif
|
|
.else
|
|
CONFIGURE_ARGS+= --flags="-with_utf8"
|
|
.endif
|
|
|
|
.if defined(WITH_MPD)
|
|
CONFIGURE_ARGS+= --flags="with_mpd"
|
|
USE_CABAL+= libmpd
|
|
.else
|
|
CONFIGURE_ARGS+= --flags="-with_mpd"
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.mk>
|