git: 9cae52c97d4f - 2024Q3 - textproc/nuspell: simplify plist updates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jul 2024 12:06:00 UTC
The branch 2024Q3 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9cae52c97d4fc51be37fdbb796ea1d607834e6ce
commit 9cae52c97d4fc51be37fdbb796ea1d607834e6ce
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-07-04 00:26:06 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-05 12:05:29 +0000
textproc/nuspell: simplify plist updates
(cherry picked from commit 819e3439b08a65b93df5bb66ab8caaf8ccfa710a)
---
textproc/nuspell/Makefile | 1 +
textproc/nuspell/pkg-plist | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/textproc/nuspell/Makefile b/textproc/nuspell/Makefile
index 198f43b5b7f1..a8cb0339b44e 100644
--- a/textproc/nuspell/Makefile
+++ b/textproc/nuspell/Makefile
@@ -18,6 +18,7 @@ USES= cmake:testing compiler:c++17-lang
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_OFF+= ${CMAKE_TESTING_ON}
+PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
# Skip README as it only contains install instructions
diff --git a/textproc/nuspell/pkg-plist b/textproc/nuspell/pkg-plist
index 659e4ccd96f4..d0b4a0242e49 100644
--- a/textproc/nuspell/pkg-plist
+++ b/textproc/nuspell/pkg-plist
@@ -14,5 +14,5 @@ lib/cmake/nuspell/NuspellTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/nuspell/NuspellTargets.cmake
lib/libnuspell.so
lib/libnuspell.so.5
-lib/libnuspell.so.5.1.4
+lib/libnuspell.so.%%VERSION%%
libdata/pkgconfig/nuspell.pc