summaryrefslogtreecommitdiff
path: root/games/linux-steam-utils/Makefile
blob: 62a4e2269a4078f07abdae0324f225abf02d17fa (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42

PORTNAME=	steam-utils
DISTVERSION=	20210303
CATEGORIES=	games linux
PKGNAMEPREFIX=	linux-

MAINTAINER=	iwtcex@gmail.com
COMMENT=	Steam launcher for FreeBSD

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

IGNORE_FreeBSD_11=not tested at all
ONLY_FOR_ARCHS=	amd64

RUN_DEPENDS=	ca_root_nss>=0:security/ca_root_nss \
		liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf

USES=		linux

USE_GITHUB=	yes
GH_ACCOUNT=	shkhln
GH_PROJECT=	linuxulator-steam-utils

USE_LINUX=	devtools:build dbuslibs gtk2 dri nss alsa-plugins-oss
USE_RUBY=	yes

RUBY_NO_BUILD_DEPENDS=	yes

MAKE_ARGS+=	PREFIX=${STAGEDIR}${PREFIX}
ALL_TARGET=	build

PORTSCOUT=	ignore:1

.include <bsd.port.options.mk>

post-install:
.for executable in steam steam-install lsu-pkg32 lsu-register-proton lsu-wine-env
	${LN} -s ../steam-utils/bin/${executable} ${STAGEDIR}${PREFIX}/bin/${executable}
.endfor

.include <bsd.port.mk>