freebsd-ports/devel/gradle6/Makefile
Guangyuan Yang 55044a2200 devel/gradle6: New port
devel/gradle needs to be updated to 7.x, while some ports build failed
under the newer version, including:

- biology/jalview
- biology/igv

Updated them to use this devel/gradle6 until they officially support 7.x.
No functional changes for these ports.

Approved by:	lwhsu (mentor)
2021-06-26 21:51:07 -04:00

29 lines
655 B
Makefile

PORTNAME= gradle
PORTVERSION= 6.9
CATEGORIES= devel java
MASTER_SITES= https://downloads.gradle.org/distributions/
PKGNAMESUFFIX= 6
EXTRACT_SUFX= -bin.zip
MAINTAINER= ygy@FreeBSD.org
COMMENT= Project automation tool
LICENSE= APACHE20 BSD3CLAUSE CDDL EPL LGPL21+ MIT MPL20
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= zip
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= gradle
SUB_LIST= JAVA=${JAVA} \
PORTVERSION=${PORTVERSION}
PLIST_FILES= bin/gradle
PORTDATA= *
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle
(cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>