mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
32 lines
725 B
Makefile
32 lines
725 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
|
|
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>
|