diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index 7635e89921c3..4d9e1ce23c49 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,24 +1,30 @@ PORTNAME= swaync PORTVERSION= s20210802 +PORTREVISION= 1 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= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell 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= 9d5f328 PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}-client \ - etc/xdg/${PORTNAME}/style.css + "@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