Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2024 18:43:09 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 48cf291fa1be - main - devel/hyprutils: simplify plist updates
Message-ID:  <202406191843.45JIh97Q012888@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=48cf291fa1beb3ca7c6da448bc6fb59eed56be63

commit 48cf291fa1beb3ca7c6da448bc6fb59eed56be63
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-06-19 18:26:57 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-06-19 18:42:15 +0000

    devel/hyprutils: simplify plist updates
---
 devel/hyprutils/Makefile  | 1 +
 devel/hyprutils/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile
index 5fb27a5461ab..f6316ef8bf55 100644
--- a/devel/hyprutils/Makefile
+++ b/devel/hyprutils/Makefile
@@ -14,6 +14,7 @@ USES=		compiler:c++11-lib cmake:testing
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	hyprwm
+PLIST_SUB=	VERSION=${DISTVERSION:C/-.*//}
 
 # XXX Drop after FreeBSD 13.2 EOL around 2024-07-01 (don't forget distinfo)
 .if ${CXX} == c++ && exists(/usr/lib/libc++.so)
diff --git a/devel/hyprutils/pkg-plist b/devel/hyprutils/pkg-plist
index fac71576c531..98790a7af22b 100644
--- a/devel/hyprutils/pkg-plist
+++ b/devel/hyprutils/pkg-plist
@@ -6,5 +6,5 @@ include/hyprutils/string/String.hpp
 include/hyprutils/string/VarList.hpp
 lib/libhyprutils.so
 lib/libhyprutils.so.0
-lib/libhyprutils.so.0.1.3
+lib/libhyprutils.so.%%VERSION%%
 libdata/pkgconfig/hyprutils.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406191843.45JIh97Q012888>