blob: 0cffa02348ccc755f2a3d76a6416699097fce7b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PORTNAME= hyprutils
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.4
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= d504d45114ad.patch:-p1 # https://github.com/hyprwm/hyprutils/pull/16
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Hyprland utilities library used across the ecosystem
WWW= https://github.com/hyprwm/hyprutils
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++11-lib cmake:testing pkgconfig xorg
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_XORG= pixman
GH_ACCOUNT= hyprwm
PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
post-patch:
# Respect PREFIX for system-wide config
@${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \
${WRKSRC}/src/path/Path.cpp
.include <bsd.port.mk>
|