freebsd-ports/devel/gradle5/Makefile
Tobias Kortkamp 456263afc3 Create devel/gradle5 in preparation of devel/gradle update
Many consumers fail to build with newer Gradle versions.

PR:		239875, 239900, 239901, 239902
2019-11-20 09:51:43 +00:00

32 lines
737 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= gradle
PORTVERSION= 5.0
CATEGORIES= devel java
MASTER_SITES= https://downloads.gradle.org/distributions/
EXTRACT_SUFX= -bin.zip
PKGNAMESUFFIX= 5
MAINTAINER= yuri@FreeBSD.org
COMMENT= Project automation tool
LICENSE= APACHE20
NO_ARCH= yes
USES= zip
JAVA_VERSION= 1.7+
USE_JAVA= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
PORTSCOUT= ignore:1
PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX}
SUB_LIST= PORTVERSION=${PORTVERSION} \
JAVA=${JAVA}
SUB_FILES= gradle
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle${PKGNAMESUFFIX}
(cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>