Date: Tue, 29 Mar 2022 14:02:09 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 747a7086aa70 - main - net/mpd5: Use @sample for sample configuration files Message-ID: <202203291402.22TE29PW022793@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=747a7086aa7009638bf286ac49d2219b4d568438 commit 747a7086aa7009638bf286ac49d2219b4d568438 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-29 13:58:02 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-03-29 13:58:02 +0000 net/mpd5: Use @sample for sample configuration files The port installs some ".sample" configuration files into etc. Let's use the @sample keyword to manage them correctly during upgrades and deinstallations. Approved by: portmgr blanket --- net/mpd5/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile index 97f2a8fb013c..e0ed5e8ac0c8 100644 --- a/net/mpd5/Makefile +++ b/net/mpd5/Makefile @@ -2,7 +2,7 @@ PORTNAME= mpd DISTVERSION= 5.9 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION} PKGNAMESUFFIX= 5 @@ -50,7 +50,8 @@ USE_RC_SUBR= mpd5 CONFSUF= conf secret script DOCSDIR= ${PREFIX}/share/doc/mpd5 PORTDOCS= README mpd* -PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5 +PLIST_FILES= ${CONFSUF:C|(.*)|"@sample etc/mpd5/mpd.\1.sample"|} \ + sbin/mpd5 .if !defined(WITHOUT_MAN) PLIST_FILES+= man/man8/mpd5.8.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203291402.22TE29PW022793>