svn commit: r529096 - head/x11/wlogout
Jan Beich
jbeich at FreeBSD.org
Wed Mar 25 11:46:32 UTC 2020
Author: jbeich
Date: Wed Mar 25 11:46:22 2020
New Revision: 529096
URL: https://svnweb.freebsd.org/changeset/ports/529096
Log:
x11/wlogout: preserve changes to system-wide config
Modified:
head/x11/wlogout/Makefile (contents, props changed)
head/x11/wlogout/pkg-plist (contents, props changed)
Modified: head/x11/wlogout/Makefile
==============================================================================
--- head/x11/wlogout/Makefile Wed Mar 25 11:24:05 2020 (r529095)
+++ head/x11/wlogout/Makefile Wed Mar 25 11:46:22 2020 (r529096)
@@ -2,6 +2,7 @@
PORTNAME= wlogout
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= jbeich at FreeBSD.org
@@ -29,5 +30,11 @@ post-patch:
${WRKSRC}/main.c \
${WRKSRC}/man/${PORTNAME}.1.scd \
${WRKSRC}/style.css
+
+post-install:
+# Let @sample handle default files under etc/
+ @for f in ${STAGEDIR}${ETCDIR}/*; do \
+ ${MV} $$f $$f.sample; \
+ done
.include <bsd.port.mk>
Modified: head/x11/wlogout/pkg-plist
==============================================================================
--- head/x11/wlogout/pkg-plist Wed Mar 25 11:24:05 2020 (r529095)
+++ head/x11/wlogout/pkg-plist Wed Mar 25 11:46:22 2020 (r529096)
@@ -1,6 +1,6 @@
bin/wlogout
-%%ETCDIR%%/layout
-%%ETCDIR%%/style.css
+ at sample %%ETCDIR%%/layout.sample
+ at sample %%ETCDIR%%/style.css.sample
%%MANPAGES%%man/man1/wlogout.1.gz
%%MANPAGES%%man/man5/wlogout.5.gz
share/bash-completion/completions/wlogout.bash
More information about the svn-ports-all
mailing list