diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-08-06 19:26:40 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-08-07 00:36:29 +0000 |
commit | bf465edb834ff1a7b7f5599485c64a3e90ae6040 (patch) | |
tree | 4ac4b7114013a679157fdd92a26810a04a55b4c6 | |
parent | 89ee76aafac5fe37f6d3457e1d9ff6f35e7f414f (diff) | |
download | ports-bf465edb834ff1a7b7f5599485c64a3e90ae6040.tar.gz ports-bf465edb834ff1a7b7f5599485c64a3e90ae6040.zip |
x11/swaync: allow editing system-wide config
-rw-r--r-- | x11/swaync/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index 7635e89921c3..4d9e1ce23c49 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,5 +1,6 @@ PORTNAME= swaync PORTVERSION= s20210802 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org @@ -19,6 +20,11 @@ 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 <bsd.port.mk> |