freebsd-ports/x11/hs-xmobar/Makefile
Tobias C. Berner 932e6dc413 Switch C compiler used to compile GHC to base Clang.
This removes build dependency on gcc and runtime dependency on gcc's runtime libraries.

Big thanks to Gleb for working on this.

PR:		225185
Submitted by:	Gleb Popov <6yearold@gmail.com>
Exp-run by:	antoine
Reviewed by:	pgj
Differential Revision:	https://reviews.freebsd.org/D12043
2018-02-10 08:03:22 +00:00

54 lines
1.3 KiB
Makefile

# Created by: Samy Al Bahra <sbahra@kerneled.org>
# $FreeBSD$
PORTNAME= xmobar
PORTVERSION= 0.24.5
PORTREVISION= 1
CATEGORIES= x11 haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Minimalistic text-based status bar
LICENSE= BSD3CLAUSE
USE_CABAL= HTTP>=4000.2.4 mtl>=2.1 parsec>=3.1 regex-compat stm>=2.3 \
X11>=1.6.1
USE_XORG= xpm
EXECUTABLE= xmobar
STANDALONE= yes
INSTALL_PORTDATA= ${INSTALL_DATA} ${WRKSRC}/samples/xmobar.config ${STAGEDIR}${DATADIR}
FLAGS_DEFINE= XFT UTF8 MPD INOTIFY DATEZONE THREADED
FLAGS_DEFAULT= UTF8
XFT_DESC= Use Xft to render text (UTF-8 support included)
XFT_FLAG_ENABLE= with_xft
XFT_FLAG_CABAL= utf8-string X11-xft>=0.2
UTF8_DESC= UTF-8 support
UTF8_FLAG_ENABLE= with_utf8
UTF8_FLAG_CABAL= utf8-string
MPD_DESC= mpd support
MPD_FLAG_ENABLE= with_mpd
MPD_FLAG_CABAL= libmpd
INOTIFY_DESC= inotify support
INOTIFY_FLAG_ENABLE= with_inotify
INOTIFY_FLAG_CABAL= hinotify>=0.3
DATEZONE_DESC= Localized date support
DATEZONE_FLAG_ENABLE= with_datezone
DATEZONE_FLAG_CABAL= timezone-olson>=0.1 timezone-series>=0.1
THREADED_DESC= Use threaded runtime
THREADED_FLAG_ENABLE= with_threaded
# Disable unsupported options
FLAGS_DISABLE= with_mpris with_dbus with_iwlib with_alsa
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>