18c6e18276
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk Notable changes are. - Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk. - USE_RUBY=yes is replaced with USES=ruby. - USE_RUBY_EXTCONF is replaced with USES=ruby:extconf. - USE_RUBY_RDOC is replaced with USES=ruby:rdoc. - USE_RUBY_SETUP is replaces with USES=ruby:setup. - RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with USES=ruby:{build,none,run}. - RUBY_REQUIRE isn't used anywhere, so removed. - USES=gem now implies USES=ruby. This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863 I have just made some cosmetic changes and ran exp-run to test that the tree is not in a BROKEN state. Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D37925
43 lines
935 B
Makefile
43 lines
935 B
Makefile
PORTNAME= steam-utils
|
|
DISTVERSION= 20221113
|
|
CATEGORIES= games linux
|
|
PKGNAMEPREFIX= linux-
|
|
|
|
MAINTAINER= iwtcex@gmail.com
|
|
COMMENT= Steam launcher for FreeBSD
|
|
WWW= https://github.com/shkhln/linuxulator-steam-utils
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
|
|
gtar:archivers/gtar \
|
|
liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf \
|
|
zenity:x11/zenity
|
|
|
|
USES= linux ruby:run
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= shkhln
|
|
GH_PROJECT= linuxulator-steam-utils
|
|
|
|
USE_LINUX= devtools:build dbuslibs gtk2 dri nss alsa-plugins-oss
|
|
|
|
|
|
MAKE_ARGS+= PREFIX=${STAGEDIR}${PREFIX}
|
|
ALL_TARGET= build
|
|
|
|
PORTSCOUT= ignore:1
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.for executable in steam steam-install lsu-register-proton lsu-wine-env
|
|
${LN} -s ../steam-utils/bin/${executable} ${STAGEDIR}${PREFIX}/bin/${executable}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|