git: 8fa4a420decb - main - devel/wf-config: simplify plist updates

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 24 Aug 2024 18:10:14 UTC
The branch main has been updated by jbeich:

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

commit 8fa4a420decb57bfb75b02425cb72827c154f31a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-08-24 11:27:24 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-08-24 18:08:50 +0000

    devel/wf-config: simplify plist updates
---
 devel/wf-config/Makefile  | 1 +
 devel/wf-config/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/wf-config/Makefile b/devel/wf-config/Makefile
index 51f16a87e381..58c40b3e4a40 100644
--- a/devel/wf-config/Makefile
+++ b/devel/wf-config/Makefile
@@ -23,6 +23,7 @@ USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	WayfireWM
 MESON_ARGS=	-Dtests=disabled
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 pre-test:
 	@if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \
diff --git a/devel/wf-config/pkg-plist b/devel/wf-config/pkg-plist
index 92e3a236a2fe..a3c741960162 100644
--- a/devel/wf-config/pkg-plist
+++ b/devel/wf-config/pkg-plist
@@ -11,6 +11,6 @@ include/wayfire/util/duration.hpp
 include/wayfire/util/log.hpp
 include/wayfire/util/stringify.hpp
 lib/libwf-config.so
-lib/libwf-config.so.0.8.0
+lib/libwf-config.so.%%VERSION%%
 lib/libwf-config.so.1
 libdata/pkgconfig/wf-config.pc