aboutsummaryrefslogtreecommitdiff
path: root/x11/sirula/Makefile
blob: 38d95a34371b827f2a3da780e9254adf61e5d71a (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
30
PORTNAME=	sirula
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
PORTREVISION=	25
CATEGORIES=	x11 wayland

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple app launcher for Wayland written in Rust
WWW=		https://github.com/DorianRudolph/sirula

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_powerpc64le=	rust compiler crashes, see https://github.com/rust-lang/rust/issues/120583

LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell

USES=		cargo gnome
USE_GITHUB=	yes
USE_GNOME=	cairo gdkpixbuf2 gtk30
GH_ACCOUNT=	DorianRudolph
PLIST_FILES=	bin/${PORTNAME}

post-patch:
# Respect PREFIX for system config
	@${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \
		-e 's,/etc,${PREFIX}&,' \
		${WRKSRC_crate_xdg}/src/lib.rs

.include <bsd.port.mk>