add gradle

This commit is contained in:
ziggi
2020-02-13 08:11:11 +00:00
parent 35063aff1e
commit c7d09841b5
5 changed files with 55 additions and 10 deletions

28
java/gradle/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD: head/devel/gradle/Makefile 524011 2020-01-25 05:16:02Z tobik $
PORTNAME= gradle
PORTVERSION= 6.1.1
CATEGORIES= devel java
MASTER_SITES= https://downloads.gradle.org/distributions/
EXTRACT_SUFX= -bin.zip
MAINTAINER= tobik@FreeBSD.org
COMMENT= Project automation tool
USES= zip
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= gradle
SUB_LIST= JAVA=${JAVA} PORTVERSION=${PORTVERSION}
PLIST_FILES= bin/gradle
PORTDATA= *
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/gradle ${STAGEDIR}${PREFIX}/bin/gradle
cd ${WRKSRC} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

3
java/gradle/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1579929232
SHA256 (gradle-6.1.1-bin.zip) = 9d94e6e4a28ad328072ef6e56bce79a810494ae756751fdcedffdeaf27c093b1
SIZE (gradle-6.1.1-bin.zip) = 97472434

View File

@@ -0,0 +1,2 @@
#!/bin/sh
exec "%%JAVA%%" -Dorg.gradle.native=false $JAVA_OPTS -classpath "%%DATADIR%%/lib/gradle-launcher-%%PORTVERSION%%.jar" org.gradle.launcher.GradleMain "$@"

16
java/gradle/pkg-descr Normal file
View File

@@ -0,0 +1,16 @@
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 Groovy DSL and packed with innovation, Gradle
provides a declarative way to describe all kinds of builds through
sensible defaults. Gradle is quickly becoming the build system of
choice for many open source projects, leading edge enterprises and
legacy automation challenges.
WWW: http://www.gradle.org/

View File

@@ -2,24 +2,20 @@
# $FreeBSD: head/devel/maven-wrapper/Makefile 346734 2014-03-02 05:22:25Z tabthorpe $
PORTNAME= maven-wrapper
PORTVERSION= 1.2
PORTVERSION= 1
CATEGORIES= devel java
MASTER_SITES= #
DISTFILES= #
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= Wrapper script for the various installations of Maven
NO_BUILD= yes
SUB_FILES= mvn.sh
SUB_LIST+= CAT=${CAT}
SUB_LIST+= FIND=${FIND}
SUB_LIST+= TAIL=${TAIL}
SUB_LIST= CAT=${CAT} FIND=${FIND} TAIL=${TAIL}
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/maven-wrapper/instances.d
${INSTALL_SCRIPT} ${WRKDIR}/mvn.sh ${STAGEDIR}${PREFIX}/bin/mvn
${MKDIR} "${STAGEDIR}${PREFIX}/etc/maven-wrapper/instances.d"
${INSTALL_SCRIPT} "${WRKDIR}/mvn.sh" "${STAGEDIR}${PREFIX}/bin/mvn"
.include <bsd.port.mk>
#EOF