summaryrefslogtreecommitdiff
path: root/x11/hyprcursor
diff options
context:
space:
mode:
Diffstat (limited to 'x11/hyprcursor')
-rw-r--r--x11/hyprcursor/Makefile23
-rw-r--r--x11/hyprcursor/distinfo6
-rw-r--r--x11/hyprcursor/pkg-plist4
3 files changed, 23 insertions, 10 deletions
diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile
index d72ec7513138..026435ed893f 100644
--- a/x11/hyprcursor/Makefile
+++ b/x11/hyprcursor/Makefile
@@ -1,9 +1,9 @@
PORTNAME= hyprcursor
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.12
+DISTVERSION= 0.1.13
CATEGORIES= x11
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tagattie@FreeBSD.org
COMMENT= Hyprland cursor format, library and utilities
WWW= https://github.com/hyprwm/hyprcursor
@@ -16,14 +16,27 @@ LIB_DEPENDS= libzip.so:archivers/libzip \
RUN_DEPENDS= xcur2png:x11/xcur2png
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/-.*//}
+
+USE_GNOME= cairo librsvg2
+USE_LDCONFIG= yes
+
+PLIST_SUB= SOVERSION_MAJOR=0 \
+ SOVERSION_FULL=${DISTVERSION:C/-.*//}
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
post-patch:
# Respect PREFIX for icons
- @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ @${REINPLACE_CMD} 's|/usr/share|${DATADIR:H}|' \
${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>
diff --git a/x11/hyprcursor/distinfo b/x11/hyprcursor/distinfo
index c7162cce6902..5e5190dd8e1b 100644
--- a/x11/hyprcursor/distinfo
+++ b/x11/hyprcursor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742215473
-SHA256 (hyprwm-hyprcursor-v0.1.12_GH0.tar.gz) = 3200a7a31e28884b9d046f8ec7b0aa67ede9ce0ab0d20193c2b61ee522d6b1f2
-SIZE (hyprwm-hyprcursor-v0.1.12_GH0.tar.gz) = 28714
+TIMESTAMP = 1754142984
+SHA256 (hyprwm-hyprcursor-v0.1.13_GH0.tar.gz) = 82af8b2ce27242ffdd6baebaa71b3f6c8665dc25c52bfcfccc16912622896af8
+SIZE (hyprwm-hyprcursor-v0.1.13_GH0.tar.gz) = 28681
diff --git a/x11/hyprcursor/pkg-plist b/x11/hyprcursor/pkg-plist
index a536544c799c..f5dae674e582 100644
--- a/x11/hyprcursor/pkg-plist
+++ b/x11/hyprcursor/pkg-plist
@@ -4,6 +4,6 @@ include/hyprcursor/hyprcursor.h
include/hyprcursor/hyprcursor.hpp
include/hyprcursor/shared.h
lib/libhyprcursor.so
-lib/libhyprcursor.so.0
-lib/libhyprcursor.so.%%VERSION%%
+lib/libhyprcursor.so.%%SOVERSION_MAJOR%%
+lib/libhyprcursor.so.%%SOVERSION_FULL%%
libdata/pkgconfig/hyprcursor.pc