blob: fce315e527627f1c1c3c4b17429a03ea3b3199de (
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
33
34
35
36
37
38
|
PORTNAME= wlogout
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Wayland-based logout menu
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>
|