1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/devel/gradle4/Makefile
2020-09-28 05:05:24 +00:00

36 lines
825 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= gradle
PORTVERSION= 4.10.3
CATEGORIES= devel java
MASTER_SITES= https://downloads.gradle.org/distributions/
PKGNAMESUFFIX= 4
EXTRACT_SUFX= -bin.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Project automation tool
LICENSE= APACHE20
DEPRECATED= only needed for expiring biology/igv and java/openjfx8-devel
EXPIRATION_DATE= 2020-11-30
USES= zip
USE_JAVA= yes
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX}
PORTSCOUT= ignore:1
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>