Index: games/Makefile =================================================================== --- games/Makefile +++ games/Makefile @@ -579,6 +579,7 @@ SUBDIR += lugaru SUBDIR += luola SUBDIR += lwjgl + SUBDIR += lwjgl3 SUBDIR += macopix SUBDIR += madbomber SUBDIR += maelstrom Index: games/lwjgl3/Makefile =================================================================== --- /dev/null +++ games/lwjgl3/Makefile @@ -0,0 +1,43 @@ +# Created by: Cameron Katri + +PORTNAME= lwjgl3 +DISTVERSION= 3.2.2 +DISTVERSIONSUFFIX= -full +CATEGORIES= games java +MASTER_SITES= https://github.com/CRKatri/lwjgl3/releases/download/${DISTVERSION}-freebsd-1/ + +MAINTAINER= me@cameronkatri.com +COMMENT= Lightweight Java Game Library 3 + +LICENSE= BSD3CLAUSE + +BUILD_DEPENDS= ${LOCALBASE}/lib/libdyncall_s.a:devel/dyncall +LIB_DEPENDS= libglfw.so:graphics/glfw \ + libopenal.so:audio/openal-soft \ + libopus.so:audio/opus \ + libOpenCL.so:devel/ocl-icd + +USES= gl gnome xorg pkgconfig +USE_ANT= yes +USE_GL= gl egl glesv2 +USE_GNOME= gtk30 glib20 +USE_JAVA= yes +USE_XORG= x11 + +MAKE_ENV+= LWJGL_BUILD_OFFLINE=true +ALL_TARGET= all release + +do-install: + @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} +.for x in ${WRKSRC}/bin/RELEASE/lwjgl*/*.jar + ${INSTALL_DATA} ${WRKSRC}${x} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/ +.endfor +.for x in ${WRKSRC}/bin/RELEASE/lwjgl*/*license.txt + ${INSTALL_DATA} ${WRKSRC}${x} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/ +.endfor +.for x in ${WRKSRC}/bin/libs/*.so + ${INSTALL_LIB} ${WRKSRC}${x} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/ +.endfor + +.include Index: games/lwjgl3/distinfo =================================================================== --- /dev/null +++ games/lwjgl3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1625838438 +SHA256 (lwjgl3-3.2.2-full.tar.gz) = ab0d92ef2ab5a06747eeaf46ff37834e8b1a04e9dde7c3f9b173ed9fb38d55c5 +SIZE (lwjgl3-3.2.2-full.tar.gz) = 68334964 Index: games/lwjgl3/files/patch-build.xml =================================================================== --- /dev/null +++ games/lwjgl3/files/patch-build.xml @@ -0,0 +1,72 @@ +--- build.xml.orig 2021-07-09 13:26:32 UTC ++++ build.xml +@@ -1050,69 +1050,6 @@ + + + +- +- +- +- +- LWJGL - @{title}]]> +- Copyright LWJGL. All Rights Reserved. License terms.]]> +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + + + Index: games/lwjgl3/pkg-descr =================================================================== --- /dev/null +++ games/lwjgl3/pkg-descr @@ -0,0 +1,5 @@ +The Lightweight Java Game Library (LWJGL) is a solution aimed +directly at professional and amateur Java programmers alike to +enable commercial quality games to be written in Java. + +WWW: https://github.com/CRKatri/lwjgl3 Index: games/lwjgl3/pkg-plist =================================================================== --- /dev/null +++ games/lwjgl3/pkg-plist @@ -0,0 +1,108 @@ +lib/lwjgl3/liblwjgl.so +lib/lwjgl3/liblwjgl_glfw.so +lib/lwjgl3/liblwjgl_libdivide.so +lib/lwjgl3/liblwjgl_llvm.so +lib/lwjgl3/liblwjgl_lz4.so +lib/lwjgl3/liblwjgl_meow.so +lib/lwjgl3/liblwjgl_nanovg.so +lib/lwjgl3/liblwjgl_nfd.so +lib/lwjgl3/liblwjgl_nuklear.so +lib/lwjgl3/liblwjgl_opengl.so +lib/lwjgl3/liblwjgl_opengles.so +lib/lwjgl3/liblwjgl_openvr.so +lib/lwjgl3/liblwjgl_par.so +lib/lwjgl3/liblwjgl_remotery.so +lib/lwjgl3/liblwjgl_rpmalloc.so +lib/lwjgl3/liblwjgl_sse.so +lib/lwjgl3/liblwjgl_stb.so +lib/lwjgl3/liblwjgl_tinyexr.so +lib/lwjgl3/liblwjgl_tinyfd.so +lib/lwjgl3/liblwjgl_vma.so +lib/lwjgl3/liblwjgl_xxhash.so +lib/lwjgl3/liblwjgl_yoga.so +%%JAVAJARDIR%%/lwjgl3/assimp_license.txt +%%JAVAJARDIR%%/lwjgl3/bgfx_license.txt +%%JAVAJARDIR%%/lwjgl3/blendish_license.txt +%%JAVAJARDIR%%/lwjgl3/cuda_license.txt +%%JAVAJARDIR%%/lwjgl3/dyncall_license.txt +%%JAVAJARDIR%%/lwjgl3/glfw_license.txt +%%JAVAJARDIR%%/lwjgl3/jemalloc_license.txt +%%JAVAJARDIR%%/lwjgl3/khronos_license.txt +%%JAVAJARDIR%%/lwjgl3/libdivide_license.txt +%%JAVAJARDIR%%/lwjgl3/llvm_license.txt +%%JAVAJARDIR%%/lwjgl3/lmdb_license.txt +%%JAVAJARDIR%%/lwjgl3/lwjgl-assimp.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-bgfx.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-cuda.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-egl.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-glfw.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-jawt.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-jemalloc.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-libdivide-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-libdivide.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-llvm-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-llvm.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-lmdb.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-lz4-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-lz4.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-meow-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-meow.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-nanovg-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-nanovg.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-nfd-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-nfd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-nuklear-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-nuklear.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-odbc.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-openal.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-opencl.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-opengl-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-opengl.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-opengles-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-opengles.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-openvr-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-openvr.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-opus.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-par-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-par.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-remotery-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-remotery.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-rpmalloc-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-rpmalloc.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-sse-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-sse.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-stb-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-stb.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-tinyexr-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-tinyexr.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-tinyfd-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-tinyfd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-tootle.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-vma-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-vma.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-vulkan.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-xxhash-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-xxhash.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-yoga-natives-freebsd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-yoga.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl-zstd.jar +%%JAVAJARDIR%%/lwjgl3/lwjgl.jar +%%JAVAJARDIR%%/lwjgl3/lz4_license.txt +%%JAVAJARDIR%%/lwjgl3/meow_license.txt +%%JAVAJARDIR%%/lwjgl3/nanosvg_license.txt +%%JAVAJARDIR%%/lwjgl3/nanovg_license.txt +%%JAVAJARDIR%%/lwjgl3/nfd_license.txt +%%JAVAJARDIR%%/lwjgl3/openal_soft_license.txt +%%JAVAJARDIR%%/lwjgl3/openvr_license.txt +%%JAVAJARDIR%%/lwjgl3/opus_license.txt +%%JAVAJARDIR%%/lwjgl3/remotery_license.txt +%%JAVAJARDIR%%/lwjgl3/rpmalloc_license.txt +%%JAVAJARDIR%%/lwjgl3/tinyexr_license.txt +%%JAVAJARDIR%%/lwjgl3/tinyfd_license.txt +%%JAVAJARDIR%%/lwjgl3/tootle_directxmesh_license.txt +%%JAVAJARDIR%%/lwjgl3/tootle_license.txt +%%JAVAJARDIR%%/lwjgl3/vma_license.txt +%%JAVAJARDIR%%/lwjgl3/xxhash_license.txt +%%JAVAJARDIR%%/lwjgl3/yoga_license.txt +%%JAVAJARDIR%%/lwjgl3/zstd_license.txt