summaryrefslogtreecommitdiff
path: root/x11/hybrid-bar/Makefile
blob: af752abb36cd2fe7c1b0c7745c59dc458dc3897b (plain)
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
PORTNAME=	hybrid-bar
DISTVERSION=	0.4.9
PORTREVISION=	1
CATEGORIES=	x11 wayland

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Status bar focused on wlroots Wayland compositors
WWW=		https://github.com/vars1ty/HybridBar

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell

USES=		cargo gnome
USE_GITHUB=	yes
USE_GNOME=	cairo gdkpixbuf2 gtk30
GH_ACCOUNT=	vars1ty
GH_PROJECT=	HybridBar
PLIST_FILES=	bin/${PORTNAME}

post-patch:
# Generic nodes are not supported by procfs(5)
	@${REINPLACE_CMD} -e 's,/proc,/compat/linux&,g' \
		${WRKSRC_crate_lxinfo}/src/info.rs

.include <bsd.port.mk>