blob: 75f2a6b3aa29c8f6a14af922574ba746117504d9 (
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
|
PORTNAME= swaync
PORTVERSION= s20211228
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Simple Wayland notification daemon with GTK panel
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \
libhandy-1.so:x11-toolkits/libhandy
USES= compiler:c11 gnome localbase:ldflags meson pkgconfig
USE_GITHUB= yes
USE_GNOME= gdkpixbuf2 gtk30 introspection:build
GH_ACCOUNT= ErikReider
GH_PROJECT= SwayNotificationCenter
GH_TAGNAME= c1eb052
PLIST_FILES= bin/${PORTNAME} \
bin/${PORTNAME}-client \
share/bash-completion/completions/${PORTNAME} \
share/bash-completion/completions/${PORTNAME}-client \
share/fish/vendor_completions.d/${PORTNAME}-client.fish \
share/fish/vendor_completions.d/${PORTNAME}.fish \
share/zsh/site-functions/_${PORTNAME} \
share/zsh/site-functions/_${PORTNAME}-client \
"@sample etc/xdg/${PORTNAME}/config.json.sample" \
"@sample etc/xdg/${PORTNAME}/style.css.sample"
post-patch:
# Let @sample handle default files under etc/
@${REINPLACE_CMD} -e "/inst.*conf/s/'[^']*/&', rename: &.sample/1" \
${WRKSRC}/src/meson.build
.include <bsd.port.mk>
|