diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-03-25 11:46:22 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-03-25 11:46:22 +0000 |
commit | 6a1a7304f24402a403c20a3c319c6f70cad02a69 (patch) | |
tree | db522d5c9768c227c5e155483f56c72c527bde62 | |
parent | multimedia/gmmlib: update to 20.1.1 (diff) |
x11/wlogout: preserve changes to system-wide config
Notes
Notes:
svn path=/head/; revision=529096
-rw-r--r-- | x11/wlogout/Makefile | 7 | ||||
-rw-r--r-- | x11/wlogout/pkg-plist | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/x11/wlogout/Makefile b/x11/wlogout/Makefile index 486bb04bf2b8..9f73689ba943 100644 --- a/x11/wlogout/Makefile +++ b/x11/wlogout/Makefile @@ -2,6 +2,7 @@ PORTNAME= wlogout PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org @@ -30,4 +31,10 @@ post-patch: ${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> diff --git a/x11/wlogout/pkg-plist b/x11/wlogout/pkg-plist index adce77e010e6..5c2278c65c6e 100644 --- a/x11/wlogout/pkg-plist +++ b/x11/wlogout/pkg-plist @@ -1,6 +1,6 @@ bin/wlogout -%%ETCDIR%%/layout -%%ETCDIR%%/style.css +@sample %%ETCDIR%%/layout.sample +@sample %%ETCDIR%%/style.css.sample %%MANPAGES%%man/man1/wlogout.1.gz %%MANPAGES%%man/man5/wlogout.5.gz share/bash-completion/completions/wlogout.bash |