summaryrefslogtreecommitdiff
path: root/devel/gopls/Makefile
blob: 6635ff3515bc74733167e76a4f104cb13f72e380 (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
PORTNAME=	gopls
DISTVERSIONPREFIX=	v
DISTVERSION=	0.15.3
PORTREVISION=	2
CATEGORIES=	devel

MAINTAINER=	fuz@FreeBSD.org
COMMENT=	Go language LSP server
WWW=		https://pkg.go.dev/golang.org/x/tools/gopls

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
GO_MODULE=	golang.org/x/tools/gopls

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${COPYTREE_SHARE} "README.md doc" ${STAGEDIR}${DOCSDIR}
	${RM} ${STAGEDIR}${DOCSDIR}/doc/*.go

.include <bsd.port.mk>