diff --git a/games/jinput/Makefile b/games/jinput/Makefile index f917f2d94a45..ef74a1afd763 100644 --- a/games/jinput/Makefile +++ b/games/jinput/Makefile @@ -1,42 +1,41 @@ PORTNAME= jinput DISTVERSION= 2.0.10 PORTEPOCH= 1 CATEGORIES= games java MAINTAINER= voidanix@420blaze.it COMMENT= Java Game Controller API LICENSE= BSD2CLAUSE -BROKEN= does not build: .../input/example/ReadAllEvents.java:[5,28] cannot find symbol - BUILD_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils \ mvn:devel/maven RUN_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils # Using a fork because of maven dependencies USE_GITLAB= yes GL_ACCOUNT= voidanix GL_COMMIT= bf22dd975bbba31f01895332255b63df376894e6 USE_JAVA= 8+ -PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar PLIST_DIRS= ${JAVAJARDIR}/${PORTNAME} +PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar 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 + ${SED} -i -e '/example/d' ${WRKSRC}/pom.xml # example/ReadAllEvents.java:[5,28] cannot find symbol ... do-build: cd ${WRKSRC}; \ ${SETENV} mvn -P windows,linux,osx,wintab ${MAVEN_REPO} ${MAVEN_ARGS} --offline package do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/uberjar/target/${PORTNAME}-${PORTVERSION}-SNAPSHOT.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar .include