svn commit: r568545 - branches/2021Q1/x11-wm/river
Jan Beich
jbeich at FreeBSD.org
Tue Mar 16 08:49:06 UTC 2021
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 at 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>
More information about the svn-ports-branches
mailing list