git: fc5f821e0cfd - main - x11-toolkits/gtk4-layer-shell: simplify plist updates

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 09:19:58 UTC
The branch main has been updated by jbeich:

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

commit fc5f821e0cfdd162a444fbd73235b29c300fd3a2
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-09-10 09:07:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-09-10 09:19:32 +0000

    x11-toolkits/gtk4-layer-shell: simplify plist updates
---
 x11-toolkits/gtk4-layer-shell/Makefile  | 1 +
 x11-toolkits/gtk4-layer-shell/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/gtk4-layer-shell/Makefile b/x11-toolkits/gtk4-layer-shell/Makefile
index f26c68089cb0..8391745217f0 100644
--- a/x11-toolkits/gtk4-layer-shell/Makefile
+++ b/x11-toolkits/gtk4-layer-shell/Makefile
@@ -20,6 +20,7 @@ USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	wmww
 MESON_ARGS=	-Dsmoke-tests=false # Need luajit flavor of devel/lua-lgi
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
diff --git a/x11-toolkits/gtk4-layer-shell/pkg-plist b/x11-toolkits/gtk4-layer-shell/pkg-plist
index b777366f5110..c586e30bc610 100644
--- a/x11-toolkits/gtk4-layer-shell/pkg-plist
+++ b/x11-toolkits/gtk4-layer-shell/pkg-plist
@@ -3,7 +3,7 @@ include/gtk4-layer-shell/gtk4-layer-shell.h
 lib/girepository-1.0/Gtk4LayerShell-1.0.typelib
 lib/libgtk4-layer-shell.so
 lib/libgtk4-layer-shell.so.0
-lib/libgtk4-layer-shell.so.1.0.2
+lib/libgtk4-layer-shell.so.%%VERSION%%
 libdata/pkgconfig/gtk4-layer-shell-0.pc
 share/gir-1.0/Gtk4LayerShell-1.0.gir
 %%PORTDOCS%%share/gtk-doc/html/gtk4-layer-shell/api-index-full.html