Date: Sat, 7 Aug 2021 00:37:12 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bf465edb834f - main - x11/swaync: allow editing system-wide config Message-ID: <202108070037.1770bChH054633@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf465edb834ff1a7b7f5599485c64a3e90ae6040 commit bf465edb834ff1a7b7f5599485c64a3e90ae6040 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-08-06 19:26:40 +0000 Commit: Jan Beich <jbeich@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@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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108070037.1770bChH054633>