mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
50dca64987
- Remove the misc/compat9x dependency since the bundled native-platform no longer depends on libstdc++.so.6 - Fix MASTER_SITES: Both {https,http}://services.gradle.org redirect to https://downloads.gradle.org - Set EXTRACT_SUFX instead of setting WRKSRC + DISTNAME PR: 220322 Submitted by: timp87@gmail.com Approved by: mat (mentor), gasol.wu@gmail.com (maintainer timeout, 2 weeks) Differential Revision: https://reviews.freebsd.org/D11565
28 lines
572 B
Makefile
28 lines
572 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gradle
|
|
PORTVERSION= 4.0
|
|
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
|
|
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>
|