blob: cab697df4cdd0a1ff2f2979f8289b43694dffbf6 (
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
35
36
37
38
39
|
PORTNAME= wlogout
PORTVERSION= 1.1.1
PORTREVISION= 3
CATEGORIES= x11 wayland
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Wayland-based logout menu
WWW= https://github.com/ArtsyMacaw/wlogout
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell
USES= compiler:c11 gnome meson pkgconfig
USE_GITHUB= yes
USE_GNOME= gtk30
GH_ACCOUNT= ArtsyMacaw
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
${WRKSRC}/main.c \
${WRKSRC}/man/${PORTNAME}.1.scd \
${WRKSRC}/style.css
post-install:
# Let @sample handle default files under etc/
@for f in ${STAGEDIR}${ETCDIR}/*; do \
${MV} $$f $$f.sample; \
done
.include <bsd.port.mk>
|