Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103066145
D31119.id92076.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
10 KB
Referenced Files
None
Subscribers
None
D31119.id92076.diff
View Options
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,45 @@
+# Created by: Cameron Katri <me@cameronkatri.com>
+
+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
+
+ONLY_FOR_ARCHS= amd64
+
+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
+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 <bsd.port.mk>
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 @@
+ <local name="hasMain"/>
+ <available file="${module.lwjgl}/@{name}/src/main/java" type="dir" property="hasMain"/>
+
+- <!-- Bundle javadoc -->
+- <!-- This is slow, comment out the following section for fast local builds -->
+- <mkdir dir="${release}/${module}/javadoc"/>
+- <javadoc
+- destdir="${release}/${module}/javadoc"
+- source="9"
+- windowtitle="LWJGL ${build.version} - @{title}"
+- encoding="UTF-8"
+- docencoding="UTF-8"
+- charset="UTF-8"
+- useexternalfile="true"
+- nohelp="true"
+- notree="true"
+- public="true"
+- failonerror="true"
+- >
+- <doctitle><![CDATA[<h1>LWJGL - @{title}</h1>]]></doctitle>
+- <bottom><![CDATA[<i>Copyright LWJGL. All Rights Reserved. <a href="https://www.lwjgl.org/license">License terms</a>.</i>]]></bottom>
+-
+- <classpath>
+- <pathelement path="${module.classpath}"/>
+- <pathelement path="${lib}/java/jsr305.jar"/>
+- </classpath>
+-
+- <fileset dir="${module.lwjgl}/@{name}/src/main/java" includes="**" if:set="hasMain"/>
+- <fileset dir="${module.lwjgl}/@{name}/src/generated/java" includes="**"/>
+-
+- <arg value="-XDignore.symbol.file"/> <!-- Suppresses internal API (e.g. Unsafe) usage warnings -->
+-
+- <arg line="-Xdoclint:html,reference,syntax"/>
+- <arg line="-Xmaxerrs 1000 -Xmaxwarns 1000"/>
+- <arg line="-notimestamp"/>
+- <arg value="-html5" if:set="jdk9"/>
+- <arg line="-J-Dfile.encoding=UTF8 -J-Dline.separator= "/>
+- <arg line="--add-exports jdk.javadoc/com.sun.tools.doclets=ALL-UNNAMED" if:set="jdk9"/>
+- </javadoc>
+- <get-quiet name="favicon" url="https://www.lwjgl.org/favicon.ico" dest="${release}/${module}/javadoc"/>
+-
+- <java classname="org.lwjgl.system.JavadocPostProcess" failonerror="true">
+- <classpath path="${bin.generator}"/>
+-
+- <arg value="${release}/${module}/javadoc"/>
+- </java>
+- <zip destfile="${release}/${module}/${module}-javadoc.jar" basedir="${release}/${module}/javadoc" includes="**" level="9"/>
+- <delete dir="${release}/${module}/javadoc"/>
+-
+- <!-- Bundle source -->
+- <quiet>
+- <copy
+- file ="${module.lwjgl}/@{name}/src/main/resources/module-info.java"
+- todir="${module.lwjgl}/@{name}/src/generated/java/META-INF/versions/9"
+- quiet="true"
+- if:set="jdk9"
+- />
+- </quiet>
+- <jar destfile="${release}/${module}/${module}-sources.jar" level="9">
+- <fileset dir="${module.lwjgl}/@{name}/src/main/java" includes="**" if:set="hasMain"/>
+- <fileset dir="${module.lwjgl}/@{name}/src/generated/java" includes="**"/>
+- </jar>
+- <quiet>
+- <delete dir="${module.lwjgl}/@{name}/src/generated/java/META-INF" quiet="true"/>
+- </quiet>
+-
+ <!-- Copy license -->
+ <quiet>
+ <copy todir="${release}/${module}">
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 21, 11:56 AM (1 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14760946
Default Alt Text
D31119.id92076.diff (10 KB)
Attached To
Mode
D31119: games/lwjgl3: Lightweight Java Game Library 3
Attached
Detach File
Event Timeline
Log In to Comment