mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
a96b55f5ba
- sort plist - set JAVA_VERSION to set JAVA_VERSION to 1.7+, according to https://gradle.org/install/ it can run even with jdk 1.7 PR: 227240 Submitted by: timp87@gmail.com Approved by: Gasol Wu <gasol.wu@gmail.com> (maintainer), pi (mentor) Relnotes: https://docs.gradle.org/4.1/release-notes.html https://docs.gradle.org/4.2/release-notes.html https://docs.gradle.org/4.3/release-notes.html https://docs.gradle.org/4.4/release-notes.html https://docs.gradle.org/4.5/release-notes.html https://docs.gradle.org/4.6/release-notes.html
29 lines
591 B
Makefile
29 lines
591 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gradle
|
|
PORTVERSION= 4.6
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= https://downloads.gradle.org/distributions/
|
|
EXTRACT_SUFX= -bin.zip
|
|
|
|
MAINTAINER= gasol.wu@gmail.com
|
|
COMMENT= Project automation tool
|
|
|
|
LICENSE= APACHE20
|
|
|
|
NO_ARCH= yes
|
|
USES= zip
|
|
JAVA_VERSION= 1.7+
|
|
USE_JAVA= yes
|
|
NO_BUILD= yes
|
|
SUB_LIST= PORTVERSION=${PORTVERSION} \
|
|
JAVA=${JAVA}
|
|
SUB_FILES= gradle
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|