PORTNAME= prismlauncher DISTVERSION= 8.4 CATEGORIES= games java MAINTAINER= Alexander88207@protonmail.com COMMENT= Minecraft launcher with ability to manage multiple instances WWW= https://prismlauncher.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libcmark.so:textproc/cmark \ libquazip1-qt6.so:archivers/quazip@qt6 \ libtomlplusplus.so:devel/tomlplusplus RUN_DEPENDS= lwjgl>0:games/lwjgl \ lwjgl3>0:games/lwjgl3 \ openjdk21>0:java/openjdk21 \ xrandr:x11/xrandr USES= cmake compiler:c++17-lang desktop-file-utils gl kde:6 qt:6 \ shared-mime-info USE_GITHUB= yes GH_ACCOUNT= PrismLauncher GH_PROJECT= ${GH_ACCOUNT} GH_TUPLE= gulrak:filesystem:2fc4b463:filesystem/libraries/filesystem \ PrismLauncher:libnbtplusplus:23b95512:libnbtplusplus/libraries/libnbtplusplus USE_GL= opengl USE_JAVA= yes USE_KDE= ecm:build USE_QT= 5compat base CMAKE_ARGS= -DJAVA_HOME=${JAVA_HOME} -DJava_JAVAC_EXECUTABLE=${JAVAC} \ -DLauncher_BUILD_PLATFORM=FreeBSD .include .if ${JAVA_PORT_VERSION} >= 20 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-libraries_javacheck_CMakeLists.txt \ ${PATCHDIR}/extra-patch-libraries_launcher_CMakeLists.txt .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/launcher/minecraft/LaunchProfile.cpp \ ${WRKSRC}/launcher/minecraft/MinecraftInstance.cpp .include