mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
a878b344ff
Gradle is build automation evolved. Gradle can automate the building, testing, publishing, deployment and more of software packages or other types of projects such as generated static websites, generated documentation or indeed anything else. Gradle combines the power and flexibility of Ant with the dependency management and conventions of Maven into a more effective way to build. Powered by a Groo- vy DSL and packed with innovation, Gradle provides a declarative way to descri- be all kinds of builds through sensible defaults. Gradle is quickly becoming the build system of choice for many open source projects, leading edge enterpr- ises and legacy automation challenges. WWW: http://www.gradle.org/ PR: ports/189858 Submitted by: Gasol Wu <gasol.wu@gmail.com>
33 lines
773 B
Makefile
33 lines
773 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gradle
|
|
PORTVERSION= 1.12
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= https://services.gradle.org/distributions/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
|
|
|
MAINTAINER= gasol.wu@gmail.com
|
|
COMMENT= Project automation tool
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= zip
|
|
USE_JAVA= yes
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-bin$$//}
|
|
SUB_LIST= PORTVERSION=${PORTVERSION} \
|
|
JAVA=${JAVA}
|
|
SUB_FILES= gradle
|
|
|
|
do-install:
|
|
@${ECHO_MSG} -n ">> Installing scripts..."
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
@${ECHO_MSG} -n ">> Installing data directory 'lib'..."
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR}
|
|
@${ECHO_MSG} " [ DONE ]"
|
|
|
|
.include <bsd.port.mk>
|