Page MenuHomeFreeBSD

D21057.1775456310.diff
No OneTemporary

Size
3 KB
Referenced Files
None
Subscribers
None

D21057.1775456310.diff

Index: games/jinput/Makefile
===================================================================
--- games/jinput/Makefile
+++ games/jinput/Makefile
@@ -1,40 +1,45 @@
-# Created by: loader <loader@freebsdmall.com>
# $FreeBSD$
PORTNAME= jinput
-DISTVERSION= 20110801.r247
+DISTVERSION= 2.0.10
+PORTEPOCH= 1
CATEGORIES= games java
-MASTER_SITES= LOCAL/loader
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= voidanix@420blaze.it
COMMENT= Java Game Controller API
-BUILD_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:games/jutils
-RUN_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:games/jutils
+LICENSE= BSD2CLAUSE
-BROKEN_armv6= fails to compile: build.xml: compilation failed
-BROKEN_armv7= fails to compile: build.xml: compilation failed
+BROKEN_armv6= fails to compile
+BROKEN_armv7= fails to compile
-USES= tar:bzip2
-USE_JAVA= yes
-JAVA_OS= native
-JAVA_VENDOR= openjdk
-USE_ANT= yes
-ALL_TARGET= simple_linux
-NO_ARCH= yes
+BUILD_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils \
+ mvn:devel/maven
+RUN_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils
-PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar
+# Using a fork because of maven dependencies
+USE_GITLAB= yes
+GL_ACCOUNT= voidanix
+GL_COMMIT= bf22dd975bbba31f01895332255b63df376894e6
-post-patch:
- @${LN} -sf ${JAVALIBDIR}/jutils/jutils.jar ${WRKSRC}/lib/
+USE_JAVA= 8+
+PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar
+PLIST_DIRS= ${JAVAJARDIR}/${PORTNAME}
+
+MAVEN_ARGS= -Dmaven.antrun.skip -Dmaven.javadoc.skip -Dmaven.source.skip -Dmaven.test.skip -DskipTests -DskipITs
+MAVEN_REPO= -Dmaven.repo.local=${WRKSRC}/repository
+
+pre-build:
+ ${CP} ${JAVAJARDIR}/jutils/jutils.jar ${WRKSRC}/repository/net/java/jutils/jutils/1/jutils-1.jar
+
do-build:
- @(cd ${BUILD_WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${ANT} ${ALL_TARGET})
+ cd ${WRKSRC}; \
+ ${SETENV} mvn -P windows,linux,osx,wintab ${MAVEN_REPO} ${MAVEN_ARGS} --offline package
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar \
- ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/uberjar/target/${PORTNAME}-${PORTVERSION}-SNAPSHOT.jar \
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar
.include <bsd.port.mk>
Index: games/jinput/distinfo
===================================================================
--- games/jinput/distinfo
+++ games/jinput/distinfo
@@ -1,2 +1,3 @@
-SHA256 (jinput-20110801.r247.tar.bz2) = 2275512294a1ed8ca739d60653ff12a4beb775dd43e929433488884e7d4691f7
-SIZE (jinput-20110801.r247.tar.bz2) = 1565811
+TIMESTAMP = 1575771995
+SHA256 (voidanix-jinput-bf22dd975bbba31f01895332255b63df376894e6_GL0.tar.gz) = 33b9c7c07c0a27c54df9fd89ba9431b9ce5f6b6a0f2498f6f855ee533ad09570
+SIZE (voidanix-jinput-bf22dd975bbba31f01895332255b63df376894e6_GL0.tar.gz) = 33104752
Index: games/jinput/files/patch-openjdk7
===================================================================
--- games/jinput/files/patch-openjdk7
+++ games/jinput/files/patch-openjdk7
@@ -1,10 +0,0 @@
---- plugins/linux/build.xml.orig
-+++ plugins/linux/build.xml
-@@ -56,6 +56,7 @@
- <javah destdir="src/native">
- <classpath>
- <pathelement location="classes"/>
-+ <pathelement location="../../coreAPI/bin/jinput-core.jar"/>
- </classpath>
- <class name="net.java.games.input.LinuxEventDevice"/>
- <class name="net.java.games.input.LinuxJoystickDevice"/>
Index: games/jinput/pkg-descr
===================================================================
--- games/jinput/pkg-descr
+++ games/jinput/pkg-descr
@@ -1,3 +1,3 @@
Java Game Controller API
-WWW: https://svn.java.net/svn/jinput~svn/trunk
+WWW: https://github.com/jinput/jinput

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 6:18 AM (32 m, 2 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28271458
Default Alt Text
D21057.1775456310.diff (3 KB)

Event Timeline