From 1bd69b9f3a92b39ca2185796b31fb6cdd7d2cfb2 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 16 Aug 2021 14:26:51 -0600 Subject: shells/fish: /usr/local/etc/config.fish is a config file Mark it as @sample Approved by: lcook (ports) Reviewed by: lcook Differential Revision: https://reviews.freebsd.org/D31571 --- shells/fish/Makefile | 2 ++ shells/fish/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'shells') diff --git a/shells/fish/Makefile b/shells/fish/Makefile index 2adf0855ba41..4421ae3771f0 100644 --- a/shells/fish/Makefile +++ b/shells/fish/Makefile @@ -2,6 +2,7 @@ PORTNAME= fish DISTVERSION= 3.3.1 +PORTREVISION= 1 CATEGORIES= shells MASTER_SITES= https://github.com/fish-shell/fish-shell/releases/download/${PORTVERSION}/ @@ -51,6 +52,7 @@ post-install: .for i in fish fish_indent fish_key_reader @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor + @${MV} ${STAGEDIR}${ETCDIR}/config.fish ${STAGEDIR}${ETCDIR}/config.fish.sample post-stage-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo diff --git a/shells/fish/pkg-plist b/shells/fish/pkg-plist index 9d903b35fe82..04eab0996b7e 100644 --- a/shells/fish/pkg-plist +++ b/shells/fish/pkg-plist @@ -3,7 +3,7 @@ bin/fish_indent bin/fish_key_reader share/applications/fish.desktop share/pixmaps/fish.png -%%ETCDIR%%/config.fish +@sample %%ETCDIR%%/config.fish.sample libdata/pkgconfig/fish.pc %%MANPAGES%%man/man1/fish.1.gz %%MANPAGES%%man/man1/fish_indent.1.gz -- cgit v1.2.3