aboutsummaryrefslogtreecommitdiffstats
path: root/x11/swayidle/Makefile
blob: 20552d2c584972dc06c0631387dda167c12c1771 (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
# $FreeBSD$

PORTNAME=   swayidle
DISTVERSION=    1.1-14
DISTVERSIONSUFFIX=  -g72d15f8
CATEGORIES= x11

MAINTAINER= jbeich@FreeBSD.org
COMMENT=    Idle management daemon for Wayland

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  wayland-protocols>=1.14:graphics/wayland-protocols
LIB_DEPENDS=    libwayland-client.so:graphics/wayland

USES=       compiler:c11 meson pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= swaywm
PLIST_FILES=    bin/${PORTNAME} \
        share/bash-completion/completions/${PORTNAME} \
        share/fish/completions/${PORTNAME}.fish \
        share/zsh/site-functions/_${PORTNAME}

OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES

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

post-patch-MANPAGES-off:
    @${REINPLACE_CMD} -i '' "s/'scdoc/&-disabled/" ${WRKSRC}/meson.build

.include <bsd.port.mk>