git: 0b6c19e4e729 - main - sysutils/libdisplay-info: simplify plist updates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jun 2024 20:33:10 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b6c19e4e7291a9f3872a86fe0ed8c0872f10801 commit 0b6c19e4e7291a9f3872a86fe0ed8c0872f10801 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-06-21 16:08:53 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-06-21 20:27:03 +0000 sysutils/libdisplay-info: simplify plist updates --- sysutils/libdisplay-info/Makefile | 1 + sysutils/libdisplay-info/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/libdisplay-info/Makefile b/sysutils/libdisplay-info/Makefile index 2da23452f87d..7e4e3f4974e4 100644 --- a/sysutils/libdisplay-info/Makefile +++ b/sysutils/libdisplay-info/Makefile @@ -17,6 +17,7 @@ USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_ACCOUNT= emersion SHEBANG_FILES= tool/*.py +PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ diff --git a/sysutils/libdisplay-info/pkg-plist b/sysutils/libdisplay-info/pkg-plist index 021571ac8189..7eb432eeba1c 100644 --- a/sysutils/libdisplay-info/pkg-plist +++ b/sysutils/libdisplay-info/pkg-plist @@ -7,6 +7,6 @@ include/libdisplay-info/edid.h include/libdisplay-info/gtf.h include/libdisplay-info/info.h lib/libdisplay-info.so -lib/libdisplay-info.so.0.1.1 +lib/libdisplay-info.so.%%VERSION%% lib/libdisplay-info.so.1 libdata/pkgconfig/libdisplay-info.pc