blob: fe3778d8f165d4ef9b15d2a468f0c6d5fe2d3a8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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= cpe 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>
|