From 15310f990c169b91061ab98e1be080cad8980b70 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sat, 10 Jul 2021 09:06:18 -0400 Subject: portclippy, patch out sources and javadoc --- games/lwjgl3/Makefile | 11 +++--- games/lwjgl3/files/patch-build.xml | 72 ++++++++++++++++++++++++++++++++++++++ games/lwjgl3/pkg-descr | 2 ++ 3 files changed, 78 insertions(+), 7 deletions(-) create mode 100644 games/lwjgl3/files/patch-build.xml diff --git a/games/lwjgl3/Makefile b/games/lwjgl3/Makefile index 7b54d81..2497673 100644 --- a/games/lwjgl3/Makefile +++ b/games/lwjgl3/Makefile @@ -21,23 +21,20 @@ LIB_DEPENDS= libglfw.so:graphics/glfw \ libOpenCL.so:devel/ocl-icd USES= gl gnome xorg -USE_XORG= x11 -USE_GL= gl egl glesv2 -USE_JAVA= yes USE_ANT= yes +USE_GL= gl egl glesv2 USE_GNOME= gtk30 glib20 -ALL_TARGET= all release +USE_JAVA= yes +USE_XORG= x11 MAKE_ENV+= LWJGL_BUILD_OFFLINE=true +ALL_TARGET= all release .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 diff --git a/games/lwjgl3/files/patch-build.xml b/games/lwjgl3/files/patch-build.xml new file mode 100644 index 0000000..24e75ef --- /dev/null +++ b/games/lwjgl3/files/patch-build.xml @@ -0,0 +1,72 @@ +--- build.xml.orig ++++ build.xml +@@ -1050,69 +1050,6 @@ + + + +- +- +- +- +- LWJGL - @{title}]]> +- Copyright LWJGL. All Rights Reserved. License terms.]]> +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + + + diff --git a/games/lwjgl3/pkg-descr b/games/lwjgl3/pkg-descr index 935875e..7894f85 100644 --- a/games/lwjgl3/pkg-descr +++ b/games/lwjgl3/pkg-descr @@ -1,3 +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 -- cgit v1.2.3-56-ge451