summaryrefslogtreecommitdiff
path: root/x11/wlrctl/Makefile
blob: 02ce09614c04821255e597153d1be8e5e91b33bd (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
28
29
30
31
32

PORTNAME=	wlrctl
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.1
CATEGORIES=	x11
MASTER_SITES=	https://git.sr.ht/~brocellous/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

PATCH_SITES=	https://git.sr.ht/~brocellous/${PORTNAME}/commit/
PATCHFILES+=	a9f5699256c9.patch:-p1

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Utility for miscellaneous wlroots extensions

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	evdev-proto>0:devel/evdev-proto
LIB_DEPENDS=	libwayland-client.so:graphics/wayland \
		libxkbcommon.so:x11/libxkbcommon

USES=		compiler:c11 meson pkgconfig
PLIST_FILES=	bin/${PORTNAME} \
		share/zsh/site-functions/_${PORTNAME}

OPTIONS_DEFINE=	MANPAGES
OPTIONS_DEFAULT=MANPAGES

MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED=	man-pages
MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz

.include <bsd.port.mk>