Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 16:04:03 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555235 - in head/devel: . gradle-completion
Message-ID:  <202011151604.0AFG43t6032926@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Sun Nov 15 16:04:02 2020
New Revision: 555235
URL: https://svnweb.freebsd.org/changeset/ports/555235

Log:
  Add devel/gradle-completion
  
  Bash and Zsh completion support for Gradle.
  
  This provides fast tab completion for:
  
  - Gradle tasks for the current project and sub-projects
  - Gradle CLI switches (e.g. --parallel)
  - Common Gradle properties (e.g. -Dorg.gradle.debug)
  
  It also handles custom default build files, so rootProject.buildFileName =
  'build.gradle.kts' is supported.
  
  WWW: https://github.com/gradle/gradle-completion

Added:
  head/devel/gradle-completion/
  head/devel/gradle-completion/Makefile   (contents, props changed)
  head/devel/gradle-completion/distinfo   (contents, props changed)
  head/devel/gradle-completion/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Nov 15 15:50:37 2020	(r555234)
+++ head/devel/Makefile	Sun Nov 15 16:04:02 2020	(r555235)
@@ -861,6 +861,7 @@
     SUBDIR += gprbuild
     SUBDIR += gputils
     SUBDIR += gradle
+    SUBDIR += gradle-completion
     SUBDIR += gradle4
     SUBDIR += gradle5
     SUBDIR += gradle62

Added: head/devel/gradle-completion/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gradle-completion/Makefile	Sun Nov 15 16:04:02 2020	(r555235)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	gradle-completion
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.1
+CATEGORIES=	devel java
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Gradle tab completion for Bash and Zsh
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	gradle
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	share/bash-completion/completions/gradle \
+		share/zsh/site-functions/_gradle
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
+	${INSTALL_DATA} ${WRKSRC}/gradle-completion.bash \
+		${STAGEDIR}${PREFIX}/share/bash-completion/completions/gradle
+
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+	${INSTALL_DATA} ${WRKSRC}/_gradle \
+		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_gradle
+
+.include <bsd.port.mk>

Added: head/devel/gradle-completion/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gradle-completion/distinfo	Sun Nov 15 16:04:02 2020	(r555235)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1605456014
+SHA256 (gradle-gradle-completion-v1.4.1_GH0.tar.gz) = 5d77f0c739fe983cfa86078a615f43be9be0e3ce05a3a7b70cb813a1ebd1ceef
+SIZE (gradle-gradle-completion-v1.4.1_GH0.tar.gz) = 87535

Added: head/devel/gradle-completion/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gradle-completion/pkg-descr	Sun Nov 15 16:04:02 2020	(r555235)
@@ -0,0 +1,12 @@
+Bash and Zsh completion support for Gradle.
+
+This provides fast tab completion for:
+
+- Gradle tasks for the current project and sub-projects
+- Gradle CLI switches (e.g. --parallel)
+- Common Gradle properties (e.g. -Dorg.gradle.debug)
+
+It also handles custom default build files, so rootProject.buildFileName =
+'build.gradle.kts' is supported.
+
+WWW: https://github.com/gradle/gradle-completion



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