diff --git a/games/Makefile b/games/Makefile --- a/games/Makefile +++ b/games/Makefile @@ -579,6 +579,7 @@ SUBDIR += lugaru SUBDIR += luola SUBDIR += lwjgl + SUBDIR += lwjgl3 SUBDIR += macopix SUBDIR += madbomber SUBDIR += maelstrom diff --git a/games/lwjgl3/Makefile b/games/lwjgl3/Makefile new file mode 100644 --- /dev/null +++ b/games/lwjgl3/Makefile @@ -0,0 +1,52 @@ +# 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/ +DISTNAME= lwjgl3-${DISTVERSION}-full + +MAINTAINER= me@cameronkatri.com +COMMENT= Lightweight Java Game Library 3 + +LICENSE= BSD3CLAUSE + +ONLY_FOR_ARCHS= amd64 + +BUILD_DEPENDS= ${LOCALBASE}/lib/libdyncall_s.a:devel/dyncall \ + ${LOCALBASE}/lib/libdyncallback_s.a:devel/dyncall \ + ${LOCALBASE}/lib/libdynload_s.a:devel/dyncall +LIB_DEPENDS= libgtk-3.so:x11-toolkits/gtk30 \ + libgobject-2.0.so:devel/glib20 \ + libglib-2.0.so:devel/glib20 \ + libglfw.so:graphics/glfw \ + libopenal.so:audio/openal-soft + +USES= gl +USE_GL= gl +USE_JAVA= yes +USE_ANT= yes +ALL_TARGET= all release + +MAKE_ENV+= LWJGL_BUILD_OFFLINE=true + +.include + +do-install: + @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} + ${RM} -f ${WRKSRC}/bin/RELEASE/lwjgl*/lwjgl*-sources.jar \ + ${WRKSRC}/bin/RELEASE/lwjgl*/lwjgl*-javadoc.jar \ + ${WRKSRC}/bin/RELEASE/lwjgl*/lwjgl*-linux.jar +.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 diff --git a/games/lwjgl3/distinfo b/games/lwjgl3/distinfo new file mode 100644 --- /dev/null +++ b/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 diff --git a/games/lwjgl3/pkg-descr b/games/lwjgl3/pkg-descr new file mode 100644 --- /dev/null +++ b/games/lwjgl3/pkg-descr @@ -0,0 +1,3 @@ +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. diff --git a/games/lwjgl3/pkg-plist b/games/lwjgl3/pkg-plist new file mode 100644 --- /dev/null +++ b/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