mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
7d1faa7179
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
38 lines
996 B
Makefile
38 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>
|