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