blob: 97918c4e303ff12f749b74f45b1628505b47d57f (
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
29
|
PORTNAME= hyprwayland-scanner
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.5
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Hyprland implementation of wayland-scanner
WWW= https://github.com/hyprwm/hyprwayland-scanner
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpugixml.so:textproc/pugixml
USES= cmake compiler:c++11-lib pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= hyprwm
PLIST_FILES= bin/${PORTNAME} \
lib/cmake/${PORTNAME}/${PORTNAME}-config-version.cmake \
lib/cmake/${PORTNAME}/${PORTNAME}-config.cmake \
libdata/pkgconfig/${PORTNAME}.pc
# XXX Drop after FreeBSD 14.0 EOL around 2025-03-01
.if exists(/usr/include/c++/v1/__format/format_functions.h) && \
!exists(/usr/include/c++/v1/__format/write_escaped.h)
CXXFLAGS+= -fexperimental-library
.endif
.include <bsd.port.mk>
|