Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2021 08:49:06 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r568545 - branches/2021Q1/x11-wm/river
Message-ID:  <202103160849.12G8n6H4099629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Mar 16 08:49:06 2021
New Revision: 568545
URL: https://svnweb.freebsd.org/changeset/ports/568545

Log:
  MFH: r568544
  
  x11-wm/river: don't overwrite system-wide config

Modified:
  branches/2021Q1/x11-wm/river/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/x11-wm/river/Makefile
==============================================================================
--- branches/2021Q1/x11-wm/river/Makefile	Tue Mar 16 08:48:42 2021	(r568544)
+++ branches/2021Q1/x11-wm/river/Makefile	Tue Mar 16 08:49:06 2021	(r568545)
@@ -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}
@@ -65,5 +66,9 @@ 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103160849.12G8n6H4099629>