summaryrefslogtreecommitdiff
path: root/x11/wev/Makefile
blob: c6d815fe4c0b65345fc48a66fa9b7be23c4c641c (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

PORTNAME=	wev
PORTVERSION=	1.0.0
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

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

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Wayland event viewer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

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

USES=		compiler:c11 gmake pkgconfig
PLIST_FILES=	bin/${PORTNAME} \
		share/man/man1/${PORTNAME}.1.gz

post-patch:
	@${REINPLACE_CMD} -e 's/ -lrt//' ${WRKSRC}/Makefile

.include <bsd.port.mk>