summaryrefslogtreecommitdiff
path: root/x11/sirula/Makefile
blob: a027cb89c033b16b93c093541a4b2039ea9f9722 (plain)
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=	sirula
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
PORTREVISION=	10
CATEGORIES=	x11 wayland

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

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

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}/cargo-crates/xdg-*/src/lib.rs

.include <bsd.port.mk>