Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 08:41:31 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500463 - head/devel/golint
Message-ID:  <201904300841.x3U8fVZ9093815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Apr 30 08:41:31 2019
New Revision: 500463
URL: https://svnweb.freebsd.org/changeset/ports/500463

Log:
  devel/golint: Switch to USES=go
  
  Approved by:	yuri (maintainer)

Modified:
  head/devel/golint/Makefile
  head/devel/golint/distinfo

Modified: head/devel/golint/Makefile
==============================================================================
--- head/devel/golint/Makefile	Tue Apr 30 08:29:02 2019	(r500462)
+++ head/devel/golint/Makefile	Tue Apr 30 08:41:31 2019	(r500463)
@@ -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>

Modified: head/devel/golint/distinfo
==============================================================================
--- head/devel/golint/distinfo	Tue Apr 30 08:29:02 2019	(r500462)
+++ head/devel/golint/distinfo	Tue Apr 30 08:41:31 2019	(r500463)
@@ -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



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