x11/wlogout: preserve changes to system-wide config

This commit is contained in:
Jan Beich 2020-03-25 11:46:22 +00:00
parent 11e99ba77d
commit 6a1a7304f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529096
2 changed files with 9 additions and 2 deletions

View File

@ -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>

View File

@ -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