git: 74f6032bdf36 - main - x11/wl-clipboard: update to 2.1.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 19 Mar 2022 12:35:25 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74f6032bdf36a55110126984939b8919fd39ca42

commit 74f6032bdf36a55110126984939b8919fd39ca42
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-19 12:12:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-03-19 12:35:07 +0000

    x11/wl-clipboard: update to 2.1.0
    
    Changes:        https://github.com/bugaevc/wl-clipboard/releases/tag/v2.1.0
    Reported by:    GitHub (watch releases)
---
 x11/wl-clipboard/Makefile | 8 +++++++-
 x11/wl-clipboard/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/x11/wl-clipboard/Makefile b/x11/wl-clipboard/Makefile
index 1b81679d4436..9673fbe5488f 100644
--- a/x11/wl-clipboard/Makefile
+++ b/x11/wl-clipboard/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wl-clipboard
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.0.0
+DISTVERSION=	2.1.0
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	greg@unrelenting.technology
@@ -23,7 +23,13 @@ PLIST_FILES=	bin/wl-copy \
 		man/man1/wl-paste.1.gz \
 		share/bash-completion/completions/wl-copy \
 		share/bash-completion/completions/wl-paste \
+		share/fish/vendor_completions.d/wl-copy.fish \
+		share/fish/vendor_completions.d/wl-paste.fish \
 		share/zsh/site-functions/_wl-copy \
 		share/zsh/site-functions/_wl-paste
 
+post-patch:
+	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+		${WRKSRC}/completions/fish/meson.build
+
 .include <bsd.port.mk>
diff --git a/x11/wl-clipboard/distinfo b/x11/wl-clipboard/distinfo
index ebf66a6ed14c..ce064019756e 100644
--- a/x11/wl-clipboard/distinfo
+++ b/x11/wl-clipboard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1570104969
-SHA256 (bugaevc-wl-clipboard-v2.0.0_GH0.tar.gz) = 2c42f182432adabe56da0f1144d5fcc40b7aae3d8e14d2bc4dc4c3f91b51808d
-SIZE (bugaevc-wl-clipboard-v2.0.0_GH0.tar.gz) = 41922
+TIMESTAMP = 1647691920
+SHA256 (bugaevc-wl-clipboard-v2.1.0_GH0.tar.gz) = 72dab9a7d3835c76d6ff2089f15ffec9e064a321e5f3cbbe961a8fa81aff5573
+SIZE (bugaevc-wl-clipboard-v2.1.0_GH0.tar.gz) = 43198