Date: Wed, 25 Mar 2020 11:46:23 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r529096 - head/x11/wlogout Message-ID: <202003251146.02PBkNc2035486@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 +@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003251146.02PBkNc2035486>