blob: dddd46bc389ce9260460b8f30a2ded7362688148 (
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
|
PORTNAME= swaync
PORTVERSION= s20211013
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= 37ea6c6
PLIST_FILES= bin/${PORTNAME} \
bin/${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>
|