blob: 66b32a83c99ace157600afb533a877e57c4f3224 (
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
30
31
32
33
34
35
36
37
|
# Created by: Gasol Wu <gasol.wu@gmail.com>
PORTNAME= gradle
PORTVERSION= 6.2.2
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= https://downloads.gradle.org/distributions/
PKGNAMESUFFIX= 62
EXTRACT_SUFX= -bin.zip
MAINTAINER= yuri@FreeBSD.org
COMMENT= Project automation tool
LICENSE= APACHE20 BSD3CLAUSE CDDL EPL LGPL21+ MIT MPL20
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe zip
USE_JAVA= yes
CONFLICTS_INSTALL= gradle gradle6
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
NO_ARCH= yes
NO_BUILD= yes
PORTSCOUT= ignore:1
SUB_FILES= gradle
SUB_LIST= JAVA=${JAVA} \
PORTVERSION=${PORTVERSION}
PLIST_FILES= bin/gradle${PKGNAMESUFFIX}
PORTDATA= *
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle${PKGNAMESUFFIX}
(cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
|