svn commit: r568544 - head/x11-wm/river
Jan Beich
jbeich at FreeBSD.org
Tue Mar 16 08:48:43 UTC 2021
Author: jbeich
Date: Tue Mar 16 08:48:42 2021
New Revision: 568544
URL: https://svnweb.freebsd.org/changeset/ports/568544
Log:
x11-wm/river: don't overwrite system-wide config
Modified:
head/x11-wm/river/Makefile (contents, props changed)
Modified: head/x11-wm/river/Makefile
==============================================================================
--- head/x11-wm/river/Makefile Tue Mar 16 08:30:24 2021 (r568543)
+++ head/x11-wm/river/Makefile Tue Mar 16 08:48:42 2021 (r568544)
@@ -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-all
mailing list