git: bf465edb834f - main - x11/swaync: allow editing system-wide config
Jan Beich
jbeich at FreeBSD.org
Sat Aug 7 00:37:13 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bf465edb834ff1a7b7f5599485c64a3e90ae6040
commit bf465edb834ff1a7b7f5599485c64a3e90ae6040
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-08-06 19:26:40 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-08-07 00:36:29 +0000
x11/swaync: allow editing system-wide config
---
x11/swaync/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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 at 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>
More information about the dev-commits-ports-all
mailing list