aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-11-21 00:54:23 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-11-21 00:57:19 +0000
commit9e67c6d74d7cbfd8ab6ed1678a3d538197b94367 (patch)
tree7c19adb923224357896fbd8b8247ea99a5b154ce
parent6390ecd88763489f8f02f6655710980e341a8c3f (diff)
downloadports-9e67c6d74d7cbfd8ab6ed1678a3d538197b94367.tar.gz
ports-9e67c6d74d7cbfd8ab6ed1678a3d538197b94367.zip
devel/sdbus-cpp: simplify plist updates
-rw-r--r--devel/sdbus-cpp/Makefile1
-rw-r--r--devel/sdbus-cpp/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/sdbus-cpp/Makefile b/devel/sdbus-cpp/Makefile
index 6bdb67d96f42..c704fbe0ab8f 100644
--- a/devel/sdbus-cpp/Makefile
+++ b/devel/sdbus-cpp/Makefile
@@ -22,5 +22,6 @@ GH_ACCOUNT= Kistler-Group
CMAKE_ON= SDBUSCPP_BUILD_CODEGEN
CMAKE_OFF= SDBUSCPP_BUILD_DOCS
CMAKE_TESTING_ON= SDBUSCPP_BUILD_TESTS
+PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.mk>
diff --git a/devel/sdbus-cpp/pkg-plist b/devel/sdbus-cpp/pkg-plist
index a1fbaafc13b7..1c8634ecc104 100644
--- a/devel/sdbus-cpp/pkg-plist
+++ b/devel/sdbus-cpp/pkg-plist
@@ -26,6 +26,6 @@ lib/cmake/sdbus-c++/sdbus-c++-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/sdbus-c++/sdbus-c++-targets.cmake
lib/libsdbus-c++.so
lib/libsdbus-c++.so.2
-lib/libsdbus-c++.so.2.0.0
+lib/libsdbus-c++.so.%%VERSION%%
libdata/pkgconfig/sdbus-c++-tools.pc
libdata/pkgconfig/sdbus-c++.pc