devel/kyua: Install kyua.conf as a sample file

Previously, kyua upgrades would override users' changes to
/usr/local/etc/kyua/kyua.conf.  Now the upgrade will only affect
/usr/local/etc/kyua/kyua.conf.sample.

PR:		217990
Reported by:	ngie
Reviewed by:	jmmv, ngie
Approved by:	jmmv (maintainer)
Approved by:	brd (ports)
Sponsored by:	Spectra Logic Corp
This commit is contained in:
Alan Somers 2017-05-24 14:34:19 +00:00
parent bdf8440b9a
commit a60d9df4ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441600
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= kyua
PORTVERSION= 0.13
PORTEPOCH= 3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= https://github.com/jmmv/kyua/releases/download/${PORTNAME}-${PORTVERSION}/ \
LOCAL/jmmv
@ -50,7 +50,7 @@ MAKE_FLAGS+= dist_examples_DATA=
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/kyua/
${INSTALL_DATA} ${WRKDIR}/kyua.conf ${STAGEDIR}${PREFIX}/etc/kyua/
${INSTALL_DATA} ${WRKDIR}/kyua.conf ${STAGEDIR}${PREFIX}/etc/kyua/kyua.conf.sample
${INSTALL_DATA} ${WRKSRC}/examples/Kyuafile.top \
${STAGEDIR}${PREFIX}/tests/Kyuafile

View file

@ -1,5 +1,5 @@
bin/kyua
etc/kyua/kyua.conf
@sample etc/kyua/kyua.conf.sample
man/man1/kyua-about.1.gz
man/man1/kyua-config.1.gz
man/man1/kyua-db-exec.1.gz