aboutsummaryrefslogtreecommitdiff
path: root/x11/hs-xmobar/Makefile
blob: 0aecc68abd13812f4dd6b73528f9fbdbb1042f48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
PORTNAME=	xmobar
PORTVERSION=	0.43
PORTREVISION=	1
CATEGORIES=	x11 haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Minimalistic text-based status bar
WWW=		https://xmobar.org/

LICENSE=	BSD3CLAUSE

USES=		cabal pkgconfig xorg

OPTIONS_DEFINE=		EXAMPLES XFT XPM MPD INOTIFY DATEZONE THREADED UVMETER
OPTIONS_DEFAULT=	XFT

XFT_DESC=		Use Xft to render text (UTF-8 support included)
XFT_CABAL_FLAGS=	with_xft
XFT_USE_CABAL=		X11-xft-0.3.4
XFT_USE=		xorg=xft

XPM_DESC=		Use Xpm to render icons
XPM_CABAL_FLAGS=	with_xpm
XPM_USE=		xorg=xpm

MPD_DESC=		Music Player Daemon support
MPD_CABAL_FLAGS=	with_mpd
MPD_USE_CABAL=		libmpd-0.10.0.0 safe-exceptions-0.1.7.2

INOTIFY_DESC=		inotify support (required for the Mail and MBox plugins)
INOTIFY_CABAL_FLAGS=	with_inotify
INOTIFY_USE_CABAL=	hinotify-0.4.1
INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify

DATEZONE_DESC=		Localized date support
DATEZONE_CABAL_FLAGS=	with_datezone
DATEZONE_USE_CABAL=	timezone-olson-0.2.1 timezone-series-0.1.13_1

THREADED_DESC=		Use threaded runtime
THREADED_CABAL_FLAGS=	with_threaded

UVMETER_DESC=		UV meter plugin
UVMETER_CABAL_FLAGS=	with_uvmeter

USE_XORG=	xrandr xrender xscrnsaver xinerama xext x11

USE_CABAL=	OneTuple-0.3.1_2 \
		QuickCheck-2.14.2 \
		StateVar-1.2.2 \
		X11-1.10.2 \
		aeson-2.0.3.0 \
		appar-0.1.8 \
		asn1-encoding-0.9.6_2 \
		asn1-parse-0.9.5 \
		asn1-types-0.3.4 \
		assoc-1.0.2_2 \
		async-2.2.4_1 \
		attoparsec-0.14.4_1 \
		base-compat-0.12.1 \
		base-compat-batteries-0.12.1_2 \
		base-orphans-0.8.6 \
		base64-bytestring-1.2.1.0 \
		basement-0.0.14 \
		bifunctors-5.5.12 \
		blaze-builder-0.4.2.2_1 \
		bsd-sysctl-1.0.8.0 \
		byteorder-1.0.4 \
		case-insensitive-1.2.1.0 \
		cereal-0.5.8.2 \
		comonad-5.0.8_1 \
		conduit-1.3.4.2 \
		conduit-extra-1.3.6 \
		connection-0.3.1_1 \
		contravariant-1.5.5 \
		cookie-0.4.5 \
		cryptonite-0.30 \
		data-default-class-0.1.2.0 \
		data-fix-0.3.2_2 \
		distributive-0.6.2.1_1 \
		dlist-1.0 \
		extensible-exceptions-0.1.1.4 \
		hashable-1.4.0.2 \
		hourglass-0.2.12 \
		hsc2hs-0.68.8 \
		http-client-0.7.11_1 \
		http-client-tls-0.3.6.1 \
		http-conduit-2.3.8 \
		http-types-0.12.3 \
		indexed-traversable-0.1.2_1 \
		indexed-traversable-instances-0.1.1 \
		integer-logarithms-1.0.3.1_2 \
		iproute-1.7.12 \
		memory-0.17.0 \
		mime-types-0.1.0.9 \
		mono-traversable-1.0.15.3 \
		network-3.1.2.7 \
		network-uri-2.6.4.1 \
		old-locale-1.0.0.7_2 \
		parsec-numbers-0.1.0 \
		pem-0.2.4 \
		primitive-0.7.3.0 \
		random-1.2.1.1 \
		regex-base-0.94.0.2 \
		regex-compat-0.95.2.1_1 \
		regex-posix-0.96.0.1 \
		resourcet-1.2.5 \
		scientific-0.3.7.0_2 \
		semialign-1.2.0.1_1 \
		semigroupoids-5.3.7 \
		socks-0.6.1 \
		split-0.2.3.4_2 \
		splitmix-0.1.0.4 \
		streaming-commons-0.2.2.4 \
		strict-0.4.0.1_4 \
		tagged-0.8.6.1_2 \
		text-short-0.1.5 \
		th-abstraction-0.4.3.0 \
		th-compat-0.1.3_1 \
		these-1.1.1.1_5 \
		time-compat-1.9.6.1_3 \
		tls-1.5.7 \
		transformers-compat-0.7.1_1 \
		typed-process-0.2.8.0_1 \
		unliftio-core-0.2.0.1_2 \
		unordered-containers-0.2.19.1 \
		utf8-string-1.0.2 \
		uuid-types-1.0.5_2 \
		vector-0.12.3.1_1 \
		vector-algorithms-0.8.0.4_1 \
		witherable-0.4.2_2 \
		x509-1.7.6 \
		x509-store-1.6.9 \
		x509-system-1.6.7 \
		x509-validation-1.6.12 \
		zlib-0.6.3.0

CABAL_FLAGS=		with_weather with_rtsopts with_utf8 \
			-with_mpris -with_dbus -with_iwlib -with_nl80211 -with_alsa -all_extensions

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/xmobar.config ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>