1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

devel/golint: Switch to USES=go

Approved by:	yuri (maintainer)
This commit is contained in:
Tobias Kortkamp 2019-04-30 08:41:31 +00:00
parent 11943f3e0b
commit c2fa04ad6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500463
2 changed files with 8 additions and 17 deletions

View File

@ -8,26 +8,17 @@ MAINTAINER= yuri@FreeBSD.org
COMMENT= Linter for Go source code
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/${GO_SUBDIR}/LICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go:lang/go
USE_GITHUB= nodefault
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= golang
GH_PROJECT= lint
GH_TAGNAME= 959b441
GH_TUPLE= golang:lint:959b441:main/src/golang.org/x/lint \
golang:tools:e65039e:golang_tools/src/golang.org/x/tools
GH_TUPLE= golang:tools:e65039e:golang_tools/vendor/golang.org/x/tools
GO_SUBDIR= src/golang.org/x/lint
GO_TARGET= ./golint
PLIST_FILES= bin/golint
do-build:
@cd ${WRKSRC}/${GO_SUBDIR}/golint && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${GO_SUBDIR}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1556481010
SHA256 (golang-lint-959b441_GH0.tar.gz) = df0c8369150fcf23d5a79851293c232e3f79c931bfcff59460b0298b774c0a12
SIZE (golang-lint-959b441_GH0.tar.gz) = 32982
TIMESTAMP = 1556566840
SHA256 (golang-lint-g20190409-959b441_GH0.tar.gz) = df0c8369150fcf23d5a79851293c232e3f79c931bfcff59460b0298b774c0a12
SIZE (golang-lint-g20190409-959b441_GH0.tar.gz) = 32982
SHA256 (golang-tools-e65039e_GH0.tar.gz) = 29fd59183877a438012e2ec6d2875f4403b0f4b58aa8a793372edc9df3a3a20c
SIZE (golang-tools-e65039e_GH0.tar.gz) = 2681790