aboutsummaryrefslogtreecommitdiffstats
path: root/x11/hs-xmobar/Makefile
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2013-02-06 06:26:31 +0800
committerpgj <pgj@FreeBSD.org>2013-02-06 06:26:31 +0800
commit89e80c9d9a740b177df836e3e8afcb075ac40dd1 (patch)
tree23d3f49a5183d8fbc5324dad9a1ae399f457b1d7 /x11/hs-xmobar/Makefile
parent624202a6ea91dc9c37f79fc34e43f38fc32fbf13 (diff)
downloadfreebsd-ports-gnome-89e80c9d9a740b177df836e3e8afcb075ac40dd1.tar.gz
freebsd-ports-gnome-89e80c9d9a740b177df836e3e8afcb075ac40dd1.tar.zst
freebsd-ports-gnome-89e80c9d9a740b177df836e3e8afcb075ac40dd1.zip
- Fix breakage in the DYNAMIC-enabled ports triggered by the recent
devel/libffi update - Enable multithreaded build for lang/ghc (i.e. mark MAKE_JOBS_SAFE) Please note that port revision for all the Haskell ports without version changes are bumped. New ports (20): devel/hs-MonadRandom 0.1.8 devel/hs-base64-conduit 0.5.1 devel/hs-bifunctors 3.2 devel/hs-either 3.1 devel/hs-errors 1.3.1 devel/hs-generic-deriving 1.4.0 devel/hs-lens 3.8.5 devel/hs-profunctor-extras 3.3 devel/hs-profunctors 3.2 devel/hs-reflection 1.1.6 devel/hs-timezone-olson 0.1.2 devel/hs-timezone-series 0.1.2 math/hs-comonads-fd 3.0.1 math/hs-groupoids 3.0.1.1 math/hs-nats 0.1 math/hs-semigroupoid-extras 3.0.1 security/hs-cipher-rc4 0.1.2 security/hs-crypto-numbers 0.1.3 security/hs-crypto-pubkey 0.1.2 security/hs-crypto-random-api 0.2.0 Updated ports (107): archivers/hs-zip-archive 0.1.2.1 --> 0.1.3.3 archivers/hs-zlib-bindings 0.1.1.2 --> 0.1.1.3 audio/hs-libmpd 0.8.0.1 --> 0.8.0.2 benchmarks/hs-criterion 0.6.2.0 --> 0.6.2.1 converters/hs-aeson 0.6.0.2_2 --> 0.6.1.0 converters/hs-dataenc 0.14.0.4 --> 0.14.0.5 databases/hs-persistent 1.0.2.2 --> 1.1.4 databases/hs-persistent-sqlite 1.0.1 --> 1.1.2 databases/hs-persistent-template 1.0.0.2 --> 1.1.2.1 devel/hs-BNFC 2.4.2.1_1 --> 2.6.0.3 devel/hs-Boolean 0.1.1 --> 0.1.2 devel/hs-TypeCompose 0.9.7 --> 0.9.9 devel/hs-ansi-terminal 0.5.5_5 --> 0.5.5.1 devel/hs-ansi-wl-pprint 0.6.4_3 --> 0.6.6 devel/hs-basic-prelude 0.3.1.0 --> 0.3.2.0 devel/hs-checkers 0.2.9_2 --> 0.3.1 devel/hs-classy-prelude 0.4.1 --> 0.4.3 devel/hs-classy-prelude-conduit 0.4.1 --> 0.4.3 devel/hs-conduit 0.5.5 --> 0.5.6 devel/hs-configurator 0.2.0.1 --> 0.2.0.2 devel/hs-cpphs 1.15 --> 1.16 devel/hs-edit-distance 0.2.1.1 --> 0.2.1.2 devel/hs-file-embed 0.0.4.6 --> 0.0.4.7 devel/hs-filestore 0.5.0.1 --> 0.6 devel/hs-fsnotify 0.0.4 --> 0.0.6 devel/hs-ghc-paths 0.1.0.8_5 --> 0.1.0.9 devel/hs-git-annex 3.20121211 --> 3.20130124 devel/hs-hashable 1.1.2.5 --> 1.2.0.5 devel/hs-hastache 0.4.2 --> 0.5.0 devel/hs-hlint 1.8.39 --> 1.8.43 devel/hs-hoogle 4.2.14 --> 4.2.15 devel/hs-hspec 1.4.2 --> 1.4.3 devel/hs-largeword 1.0.3 --> 1.0.4 devel/hs-lifted-base 0.2 --> 0.2.0.2 devel/hs-monad-logger 0.2.3 --> 0.2.3.2 devel/hs-optparse-applicative 0.4.2 --> 0.5.2.1 devel/hs-pool-conduit 0.1.0.3 --> 0.1.1 devel/hs-project-template 0.1.0.1 --> 0.1.1 devel/hs-silently 1.2.4 --> 1.2.4.1 devel/hs-smallcheck 0.6.1_2 --> 0.6.2 devel/hs-system-fileio 0.3.10 --> 0.3.11 devel/hs-unix-compat 0.4.0.0 --> 0.4.1.0 devel/hs-unordered-containers 0.2.2.1 --> 0.2.3.0 devel/hs-vault 0.2.0.1 --> 0.2.0.4 devel/hs-void 0.5.8 --> 0.5.11 devel/hs-word8 0.0.2 --> 0.0.3 mail/hs-mime-types 0.1.0.0 --> 0.1.0.2 math/hs-categories 1.0.4 --> 1.0.5 math/hs-comonad 3.0.0.2 --> 3.0.1.1 math/hs-comonad-transformers 3.0 --> 3.0.1 math/hs-distributive 0.2.2_2 --> 0.3 math/hs-pointed 3.0.1 --> 3.0.2 math/hs-semigroupoids 3.0.0.1 --> 3.0.2 math/hs-semigroups 0.8.4.1 --> 0.9 net/hs-network-conduit 0.6.1.1 --> 0.6.2.2 net/hs-simple-sendfile 0.2.8 --> 0.2.10 print/hs-hscolour 1.20.3,1 --> 1.20.3_1,1 security/hs-certificate 1.3.3 --> 1.3.5 security/hs-cipher-aes 0.1.5 --> 0.1.7 security/hs-clientsession 0.8.0.1 --> 0.8.1 security/hs-cprng-aes 0.2.4 --> 0.3.4 security/hs-crypto-conduit 0.4.1 --> 0.4.3 security/hs-cryptocipher 0.3.6 --> 0.4.0 security/hs-cryptohash 0.7.9 --> 0.8.3 security/hs-pem 0.1.1_2 --> 0.1.2 security/hs-skein 0.1.0.10 --> 0.1.0.11 security/hs-tls 1.0.2 --> 1.1.1 security/hs-tls-extra 0.5.0 --> 0.6.1 sysutils/hs-angel 0.3.3 --> 0.3.4 textproc/hs-Diff 0.1.3_3 --> 0.2.0 textproc/hs-attoparsec 0.10.2.0_2 --> 0.10.3.0 textproc/hs-blaze-html 0.5.1.1 --> 0.5.1.3 textproc/hs-blaze-markup 0.5.1.2 --> 0.5.1.4 textproc/hs-case-insensitive 0.4.0.3 --> 0.4.0.4 textproc/hs-citeproc-hs 0.3.6 --> 0.3.7 textproc/hs-double-conversion 0.2.0.5 --> 0.2.0.6 textproc/hs-highlighting-kate 0.5.3.3 --> 0.5.3.5 textproc/hs-hs-bibutils 4.15 --> 4.16 textproc/hs-regex-pcre-builtin 0.94.4.3.8.31 --> 0.94.4.5.8.31 textproc/hs-texmath 0.6.1.1 --> 0.6.1.3 textproc/hs-yaml 0.8.1.1 --> 0.8.2 www/hs-gitit 0.10.0.2 --> 0.10.1.2 www/hs-hamlet 1.1.1.1 --> 1.1.3.1 www/hs-heist 0.8.2 --> 0.11.0 www/hs-hjsmin 0.1.3 --> 0.1.4 www/hs-http-conduit 1.8.4.3 --> 1.8.7 www/hs-http-date 0.0.3 --> 0.0.4 www/hs-http-reverse-proxy 0.1.0.6 --> 0.1.1.1 www/hs-shakespeare-js 1.1.0 --> 1.1.1 www/hs-snap 0.9.2.2 --> 0.11.0 www/hs-wai-app-static 1.3.0.4 --> 1.3.1_1 www/hs-wai-extra 1.3.0.4 --> 1.3.2 www/hs-warp 1.3.5 --> 1.3.7.1 www/hs-xss-sanitize 0.3.2_2 --> 0.3.3 www/hs-yesod 1.1.4.1 --> 1.1.7.2 www/hs-yesod-auth 1.1.2 --> 1.1.3 www/hs-yesod-core 1.1.6.1 --> 1.1.7.1 www/hs-yesod-default 1.1.2 --> 1.1.3 www/hs-yesod-form 1.2.0.1 --> 1.2.0.2 www/hs-yesod-persistent 1.1.0 --> 1.1.0.1 www/hs-yesod-platform 1.1.5 --> 1.1.7.2 www/hs-yesod-static 1.1.1.1 --> 1.1.1.2 www/hs-yesod-test 0.3.1.1 --> 0.3.3 x11-wm/hs-xmonad 0.10_4 --> 0.11 x11-wm/hs-xmonad-contrib 0.10_4 --> 0.11 x11/hs-X11 1.5.0.1_3 --> 1.6.0.2 x11/hs-xmobar 0.14_3 --> 0.16 Obtained from: FreeBSD Haskell
Diffstat (limited to 'x11/hs-xmobar/Makefile')
-rw-r--r--x11/hs-xmobar/Makefile40
1 files changed, 31 insertions, 9 deletions
diff --git a/x11/hs-xmobar/Makefile b/x11/hs-xmobar/Makefile
index a658438b67a2..4985ab32b452 100644
--- a/x11/hs-xmobar/Makefile
+++ b/x11/hs-xmobar/Makefile
@@ -2,34 +2,36 @@
# $FreeBSD$
PORTNAME= xmobar
-PORTVERSION= 0.14
-PORTREVISION= 3
+PORTVERSION= 0.16
CATEGORIES= x11 haskell
MAINTAINER= haskell@FreeBSD.org
-COMMENT= A minimalistic text based status bar
+COMMENT= Minimalistic text-based status bar
LICENSE= BSD
-USE_CABAL= mtl parsec stm X11>=1.3.0
-USE_XORG= x11 xrandr
+USE_CABAL= mtl parsec stm>=2.3 X11
+USE_XORG= xrandr
EXECUTABLE= xmobar
STANDALONE= yes
INSTALL_PORTDATA= ${INSTALL_DATA} ${WRKSRC}/samples/xmobar.config ${DATADIR}
-OPTIONS_DEFINE= XFT UTF8 MPD
-OPTIONS_DEFAULT= UFT8
+OPTIONS_DEFINE= XFT UTF8 MPD INOTIFY DATEZONE THREADED
+OPTIONS_DEFAULT= UTF8
XFT_DESC= Use Xft to render text (UTF-8 support included)
UTF8_DESC= UTF-8 support
MPD_DESC= mpd support
+INOTIFY_DESC= inotify support
+DATEZONE_DESC= Localized date support
+THREADED_DESC= Use threaded runtime
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
-# Disable Linux-only options
-CONFIGURE_ARGS+= --flags="-with_inotify -with_iwlib"
+# Disable unsupported options
+CONFIGURE_ARGS+= --flags="-with_iwlib -with_dbus -with_mpris"
.if ${PORT_OPTIONS:MXFT}
CONFIGURE_ARGS+= --flags="with_xft"
@@ -54,5 +56,25 @@ USE_CABAL+= libmpd
CONFIGURE_ARGS+= --flags="-with_mpd"
.endif
+.if ${PORT_OPTIONS:MINOTIFY}
+CONFIGURE_ARGS+= --flags="with_inotify"
+USE_CABAL+= hinotify>=0.3
+.else
+CONFIGURE_ARGS+= --flags="-with_inotify"
+.endif
+
+.if ${PORT_OPTIONS:MDATEZONE}
+CONFIGURE_ARGS+= --flags="with_datezone"
+USE_CABAL+= timezone-olson>=0.1 timezone-series>=0.1
+.else
+CONFIGURE_ARGS+= --flags="-with_datezone"
+.endif
+
+.if ${PORT_OPTIONS:MTHREADED}
+CONFIGURE_ARGS+= --flags="with_threaded"
+.else
+CONFIGURE_ARGS+= --flags="-with_threaded"
+.endif
+
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>