From e9b23231d1d785c78a7262ed459e1fb8e0f7d639 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 16 Mar 2021 08:49:06 +0000 Subject: MFH: r568544 x11-wm/river: don't overwrite system-wide config --- x11-wm/river/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x11-wm/river/Makefile b/x11-wm/river/Makefile index 5ad5df87db9f..2140e5496192 100644 --- a/x11-wm/river/Makefile +++ b/x11-wm/river/Makefile @@ -2,6 +2,7 @@ PORTNAME= river PORTVERSION= s20210314 +PORTREVISION= 1 CATEGORIES= x11-wm MAINTAINER= jbeich@FreeBSD.org @@ -35,7 +36,7 @@ NO_INSTALL= yes # strip(1) breaks runtime PLIST_FILES= bin/${PORTNAME} \ bin/${PORTNAME}ctl \ bin/${PORTNAME}tile \ - ${ETCDIR}/init \ + "@sample ${ETCDIR}/init.sample" \ share/bash-completion/completions/${PORTNAME}ctl \ share/zsh/site-functions/_${PORTNAME}ctl \ ${NULL} @@ -66,4 +67,8 @@ do-build: do-test: @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}) +post-install: +# Let @sample handle default files under etc/ + @${MV} ${STAGEDIR}${ETCDIR}/init ${STAGEDIR}${ETCDIR}/init.sample + .include -- cgit v1.2.3