diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile index cff5ab0984e7..5ce8516dc4fd 100644 --- a/x11/hyprcursor/Makefile +++ b/x11/hyprcursor/Makefile @@ -1,22 +1,27 @@ PORTNAME= hyprcursor DISTVERSIONPREFIX= v DISTVERSION= 0.1.2 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= Hyprland cursor format, library and utilities WWW= https://github.com/hyprwm/hyprcursor LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libzip.so:archivers/libzip \ libhyprlang.so:devel/hyprlang 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/-.*//} +post-patch: +# Respect PREFIX for icons + @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ + ${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp + .include