aboutsummaryrefslogtreecommitdiff
path: root/x11/wmenu/Makefile
blob: 5742f8bad6fd10843b6a23896fc1b50f06a66492 (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
PORTNAME=	wmenu
DISTVERSION=	0.1.8
CATEGORIES=	x11 wayland
MASTER_SITES=	https://git.sr.ht/~adnano/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/

MAINTAINER=	o.hushchenkov@gmail.com
COMMENT=	Efficient dynamic menu for Wayland
WWW=		https://sr.ht/~adnano/wmenu/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

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

USES=		compiler:c11 gnome meson pkgconfig
USE_GNOME=	cairo pango

# XXX Drop after FreeBSD 13.4 EOL around 2026-01-31
# https://cgit.freebsd.org/src/commit/?id=af93fea71038
.if !exists(/usr/include/sys/timerfd.h)
LIB_DEPENDS+=	libepoll-shim.so:devel/libepoll-shim
CPPFLAGS+=	`pkg-config --cflags epoll-shim`
LDFLAGS+=	`pkg-config --libs epoll-shim`
.endif

PLIST_FILES=	bin/wmenu \
		bin/wmenu-run \
		share/man/man1/wmenu.1.gz

.include <bsd.port.mk>