summaryrefslogtreecommitdiff
path: root/devel/gradle-completion/Makefile
blob: 5bcb771b95e724f12e7cdf1cb74051a473d90bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

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>