aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-06-27 16:47:28 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-10-30 18:03:49 +0000
commit632c128acb51f3b4103a3fb0663c55c2c01bb2a8 (patch)
tree8792ddbc2c7c549eec7ab9212468e55911129811
parent64b51bfbf1a25d9504315f19d68dad9d905b387c (diff)
downloadports-632c128acb51f3b4103a3fb0663c55c2c01bb2a8.tar.gz
ports-632c128acb51f3b4103a3fb0663c55c2c01bb2a8.zip
multimedia/svt-av1-psy: simplify plist updates
-rw-r--r--multimedia/svt-av1-psy/Makefile1
-rw-r--r--multimedia/svt-av1-psy/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/svt-av1-psy/Makefile b/multimedia/svt-av1-psy/Makefile
index e3b56fea237a..0dc06c9d700f 100644
--- a/multimedia/svt-av1-psy/Makefile
+++ b/multimedia/svt-av1-psy/Makefile
@@ -24,6 +24,7 @@ USE_LDCONFIG= yes
GH_ACCOUNT= gianni-rosato
CMAKE_ON= ENABLE_NASM
CMAKE_OFF= NATIVE
+PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
CONFLICTS_INSTALL= svt-av1 # bin/SvtAv1EncApp
diff --git a/multimedia/svt-av1-psy/pkg-plist b/multimedia/svt-av1-psy/pkg-plist
index 16594d0b8c62..9b0de4c721bb 100644
--- a/multimedia/svt-av1-psy/pkg-plist
+++ b/multimedia/svt-av1-psy/pkg-plist
@@ -8,5 +8,5 @@ include/svt-av1/EbSvtAv1Formats.h
include/svt-av1/EbSvtAv1Metadata.h
lib/libSvtAv1Enc.so
lib/libSvtAv1Enc.so.2
-lib/libSvtAv1Enc.so.2.2.0
+lib/libSvtAv1Enc.so.%%VERSION%%
libdata/pkgconfig/SvtAv1Enc.pc