git: b25620bce11d - main - multimedia/aom: simplify plist updates

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 31 Aug 2024 00:58:19 UTC
The branch main has been updated by jbeich:

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

commit b25620bce11d9d228f2aa9aed9f6202b01dd8194
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-08-30 11:20:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-08-31 00:57:56 +0000

    multimedia/aom: simplify plist updates
---
 multimedia/aom/Makefile  | 1 +
 multimedia/aom/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/multimedia/aom/Makefile b/multimedia/aom/Makefile
index 9bf5ed5c2678..9b5d6508a170 100644
--- a/multimedia/aom/Makefile
+++ b/multimedia/aom/Makefile
@@ -20,6 +20,7 @@ USE_PERL5=	build
 USE_LDCONFIG=	yes
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	ENABLE_DOCS ENABLE_TESTS
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 OPTIONS_DEFINE=	JXL VMAF
 OPTIONS_DEFAULT=JXL VMAF
diff --git a/multimedia/aom/pkg-plist b/multimedia/aom/pkg-plist
index 4142a7f6a3b0..fca3d5c5c228 100644
--- a/multimedia/aom/pkg-plist
+++ b/multimedia/aom/pkg-plist
@@ -13,5 +13,5 @@ include/aom/aomdx.h
 lib/libaom.a
 lib/libaom.so
 lib/libaom.so.3
-lib/libaom.so.3.9.1
+lib/libaom.so.%%VERSION%%
 libdata/pkgconfig/aom.pc