--- mc-libs-freebsd -- Librarys & helpers for Minecraft on FreeBSD ---- Edits by fall under Unlicense copyright >> and are released onto the public domain >>>> Original sources fall under UNKNOWN copyright >>>> Submodules fall under their own copyright --- Setup -- 1 Compile & Install lwjgl3 ---- 1. # cp -a ./lwjgl3/src /usr/ports/games/lwjgl3 ---- 2. # make install -- 2 Compile & install PolyMC ---- 1. $ git clone --recursive https://github.com/PolyMC/PolyMC.git ./polymc ---- 2. # pkg install qt5 kf5-extra-cmake-modules openjdk8 openjdk17 ---- 3. $ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake -DENABLE_LTO=ON && cd build >> a. System Binary may have issues >>>>> Use portable install: >>>>> 1. mkdir install >>>>> 2. cmake -S . -B build -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_PREFIX_PATH=/usr/local/lib/qt5/cmake -DENABLE_LTO=ON >>>>> 3. cd build && make -j$(nproc) install >>>>> Binaries are in polymc/install/bin ---- 4. # make -j$(nproc) install -- 3 Make PolyMC use ./lwjgl3/java17-wrapper as java binary ---