summaryrefslogtreecommitdiff
path: root/x11/sirula/Makefile
blob: 27126948234d52e6b7c4ca69edb96bb329ecdb6c (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=	17
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

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>