git: 2a92527886dc - main - x11/fuzzel: unbreak fish completion for --icon-theme

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 19:21:46 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a92527886dc6dd3548e439be8cd05289badfde1

commit 2a92527886dc6dd3548e439be8cd05289badfde1
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-27 19:18:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-27 19:20:53 +0000

    x11/fuzzel: unbreak fish completion for --icon-theme
    
    find: /usr/share/icons: No such file or directory
---
 x11/fuzzel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11/fuzzel/Makefile b/x11/fuzzel/Makefile
index 4f97961529df..0cc01118da91 100644
--- a/x11/fuzzel/Makefile
+++ b/x11/fuzzel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fuzzel
 DISTVERSION=	1.8.2
+PORTREVISION=	1
 CATEGORIES=	x11 wayland
 MASTER_SITES=	https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
@@ -49,6 +50,7 @@ PNG_MESON_OFF=		-Dpng-backend=none
 post-patch:
 # Respect PREFIX for icons
 	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+		${WRKSRC}/completions/fish/${PORTNAME}.fish \
 		${WRKSRC}/completions/zsh/_${PORTNAME} \
 		${WRKSRC}/xdg.c
 # Respect PREFIX for system-wide config