freebsd-ports/games/jutils/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

37 lines
996 B
Makefile

PORTNAME= jutils
PORTVERSION= 1.0.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games java
MAINTAINER= voidanix@420blaze.it
COMMENT= Common utilities for Java Game Technology Group projects
WWW= https://github.com/jinput/jutils
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= mvn:devel/maven
# Using a fork because of maven dependencies
USE_GITLAB= yes
GL_ACCOUNT= voidanix
GL_TAGNAME= f950e23e42081308b4be3b0fc4b57d4dbab70dac
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
do-build:
cd ${WRKSRC}; \
${SETENV} mvn ${MAVEN_REPO} ${MAVEN_ARGS} --offline package
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}-SNAPSHOT.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar
.include <bsd.port.mk>