1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/x11/hyprcursor/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

33 lines
890 B
Makefile

PORTNAME= hyprcursor
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.10
CATEGORIES= x11
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= f8e8455e998e.patch:-p1 # https://github.com/hyprwm/hyprcursor/pull/66
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 \
libtomlplusplus.so:devel/tomlplusplus
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/-.*//}
post-patch:
# Respect PREFIX for icons
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp
.include <bsd.port.mk>