git: f468ecf1e25b - main - x11/hyprcursor: simplify plist updates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Mar 2024 03:28:26 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f468ecf1e25be6b8556f13516d6e40dcb47ef8ef
commit f468ecf1e25be6b8556f13516d6e40dcb47ef8ef
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-10 03:26:36 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-10 03:27:45 +0000
x11/hyprcursor: simplify plist updates
---
x11/hyprcursor/Makefile | 1 +
x11/hyprcursor/pkg-plist | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile
index a0b643e8815e..cff5ab0984e7 100644
--- a/x11/hyprcursor/Makefile
+++ b/x11/hyprcursor/Makefile
@@ -17,5 +17,6 @@ USES= compiler:c++11-lib cmake:testing gnome pathfix pkgconfig
USE_GITHUB= yes
USE_GNOME= cairo librsvg2
GH_ACCOUNT= hyprwm
+PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
.include <bsd.port.mk>
diff --git a/x11/hyprcursor/pkg-plist b/x11/hyprcursor/pkg-plist
index a1cf45b433f8..a536544c799c 100644
--- a/x11/hyprcursor/pkg-plist
+++ b/x11/hyprcursor/pkg-plist
@@ -5,5 +5,5 @@ include/hyprcursor/hyprcursor.hpp
include/hyprcursor/shared.h
lib/libhyprcursor.so
lib/libhyprcursor.so.0
-lib/libhyprcursor.so.0.1.2
+lib/libhyprcursor.so.%%VERSION%%
libdata/pkgconfig/hyprcursor.pc