Created attachment 206792 [details] games/linux-unigine-superposition This is a split-off from 239783. It contains the new port games/linux-unigine-superposition
Created attachment 207135 [details] Updated Port. Add USES= ssl
Created attachment 207136 [details] Updated Port. replace spaces with tab in line 17
# make describe passes. # portlint WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. 0 fatal errors and 1 warning found. # make check-plist ... ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) # make stage-qa ====> Running Q/A tests (stage-qa) Warning: License is not auto-accepted, packages will not be built, ports depending on this one will be ignored. Warning: License does not allow package to be distributed, ports depending on this one will be ignored /!\ To run stage-qa automatically add DEVELOPER=yes to your environment /!\ # port test . only (falsely?) complains about: actual-package-depends: dependency on linux-c7-dri>0 not registered pkg-static: No packages installed actual-package-depends: dependency on linux-c7-openal-soft>0 not registered pkg-static: No packages installed actual-package-depends: dependency on linux-c7-xorg-libs>0 not registered pkg-static: No packages installed
Created attachment 207429 [details] New Makefile Here's a new Makefile with the following changes: - Add a .desktop entry. - Install icons like the included postinstall.sh script does. - Remove USES=ssl, it's for FreeBSD programs, not Linux. - Add USE_LINUX=dbuslibs, needed by the included Qt5 libraries. - Install Superposition launcher and replace the /usr/local/bin/linux-unigine-superposition script with a symlink to it. The launcher needs the latest linux-c7-xorg-libs (7.7_7). You still need to update pkg-plist and feel free to make other changes of course.
You may also want to replace '“' and '”' in pkg-license with ASCII '"', because the former don't display properly here.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=eed17095ea9bff5a585bfeda1261afcdddc90dd4 commit eed17095ea9bff5a585bfeda1261afcdddc90dd4 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-06-09 12:54:34 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-06-09 12:54:34 +0000 benchmarks/linux-unigine-superposition: new port had been added (+) Extreme performance and stability test for PC hardware: video card, power supply, cooling system. Also includes interactive experience in a beautiful, detailed environment. This is the fifth and the latest Unigine benchmark featured in our Ports Collection. PR: 240041 benchmarks/Makefile | 1 + .../linux-unigine-superposition/Makefile (new) | 53 ++++++++++ .../linux-unigine-superposition/distinfo (new) | 3 + .../files/wrapper.sh.in (new) | 22 ++++ .../linux-unigine-superposition/pkg-descr (new) | 19 ++++ .../linux-unigine-superposition/pkg-license (new) | 65 ++++++++++++ .../linux-unigine-superposition/pkg-plist (new) | 116 +++++++++++++++++++++ 7 files changed, 279 insertions(+)
I've taken the liberty to finish this work, hope you don't mind guys. I've implemented Tijl's suggestions, moved the port to a more appropriate category, and also provided user-friendly startup script that checks for certain things like required mounted filesystems.