freebsd-ports/games/jinput/Makefile
Dmitry Marakasov 40887c7bc0 games/jinput: mark BROKEN: does not build
Approved by:	portmgr blanket
2022-05-17 17:41:54 +03:00

42 lines
1.2 KiB
Makefile

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}
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 ${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 <bsd.port.mk>