Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2023 22:03:55 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 16dbb9b423fc - main - devel/gradle761: New port: Project automation tool
Message-ID:  <202306042203.354M3thL086947@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16dbb9b423fc2cc1228bbb115650bd246e679a0b

commit 16dbb9b423fc2cc1228bbb115650bd246e679a0b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-04 21:57:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-04 21:57:17 +0000

    devel/gradle761: New port: Project automation tool
---
 devel/Makefile                  |  1 +
 devel/gradle761/Makefile        | 35 +++++++++++++++++++++++++++++++++++
 devel/gradle761/distinfo        |  3 +++
 devel/gradle761/files/gradle.in |  2 ++
 devel/gradle761/pkg-descr       | 14 ++++++++++++++
 5 files changed, 55 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4e3362ad0aed..6a3fa9fb6447 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -918,6 +918,7 @@
     SUBDIR += gradle5
     SUBDIR += gradle6
     SUBDIR += gradle62
+    SUBDIR += gradle761
     SUBDIR += grantlee5
     SUBDIR += grcov
     SUBDIR += grex
diff --git a/devel/gradle761/Makefile b/devel/gradle761/Makefile
new file mode 100644
index 000000000000..8c65fa12283b
--- /dev/null
+++ b/devel/gradle761/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	gradle
+PORTVERSION=	7.6.1 # because 8.0.1 breaks biology/gatk, see https://github.com/gradle/gradle/issues/25275
+CATEGORIES=	devel java
+MASTER_SITES=	https://downloads.gradle.org/distributions/
+PKGNAMESUFFIX=	761
+EXTRACT_SUFX=	-bin.zip
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Project automation tool
+WWW=		https://www.gradle.org/
+
+LICENSE=	APACHE20 BSD3CLAUSE CDDL EPL LGPL21+ MIT MPL20
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cpe zip
+USE_JAVA=	yes
+
+CONFLICTS_INSTALL=	gradle gradle5 gradle6 gradle62
+
+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>
diff --git a/devel/gradle761/distinfo b/devel/gradle761/distinfo
new file mode 100644
index 000000000000..1c541baf56a5
--- /dev/null
+++ b/devel/gradle761/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681750840
+SHA256 (gradle-7.6.1-bin.zip) = 6147605a23b4eff6c334927a86ff3508cb5d6722cd624c97ded4c2e8640f1f87
+SIZE (gradle-7.6.1-bin.zip) = 122052640
diff --git a/devel/gradle761/files/gradle.in b/devel/gradle761/files/gradle.in
new file mode 100644
index 000000000000..25d4d31d87f5
--- /dev/null
+++ b/devel/gradle761/files/gradle.in
@@ -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 "$@"
diff --git a/devel/gradle761/pkg-descr b/devel/gradle761/pkg-descr
new file mode 100644
index 000000000000..d22733f96b39
--- /dev/null
+++ b/devel/gradle761/pkg-descr
@@ -0,0 +1,14 @@
+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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306042203.354M3thL086947>