Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2019 20:24:00 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500367 - in head/devel: . golint
Message-ID:  <201904282024.x3SKO0uf045937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Apr 28 20:23:59 2019
New Revision: 500367
URL: https://svnweb.freebsd.org/changeset/ports/500367

Log:
  New port: devel/golint: Linter for Go source code
  
  PR:		205329

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Apr 28 20:15:49 2019	(r500366)
+++ head/devel/Makefile	Sun Apr 28 20:23:59 2019	(r500367)
@@ -841,6 +841,7 @@
     SUBDIR += goffice010
     SUBDIR += gogland-eap
     SUBDIR += gogs
+    SUBDIR += golint
     SUBDIR += google-gdata
     SUBDIR += google-perftools
     SUBDIR += google-styleguide

Added: head/devel/golint/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/golint/Makefile	Sun Apr 28 20:23:59 2019	(r500367)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	golint
+PORTVERSION=	g20190409
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Linter for Go source code
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/${GO_SUBDIR}/LICENSE
+
+BUILD_DEPENDS=	go:lang/go
+
+USE_GITHUB=	nodefault
+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
+
+GO_SUBDIR=	src/golang.org/x/lint
+
+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>

Added: head/devel/golint/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/golint/distinfo	Sun Apr 28 20:23:59 2019	(r500367)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1556481010
+SHA256 (golang-lint-959b441_GH0.tar.gz) = df0c8369150fcf23d5a79851293c232e3f79c931bfcff59460b0298b774c0a12
+SIZE (golang-lint-959b441_GH0.tar.gz) = 32982
+SHA256 (golang-tools-e65039e_GH0.tar.gz) = 29fd59183877a438012e2ec6d2875f4403b0f4b58aa8a793372edc9df3a3a20c
+SIZE (golang-tools-e65039e_GH0.tar.gz) = 2681790

Added: head/devel/golint/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/golint/pkg-descr	Sun Apr 28 20:23:59 2019	(r500367)
@@ -0,0 +1,12 @@
+A linter for Go source code.
+
+Invoke golint with one or more filenames, directories, or packages named by its
+import path. Golint uses the same import path syntax as the go command and
+therefore also supports relative import paths like ./.... Additionally the ...
+wildcard can be used as suffix on relative and absolute file paths to recurse
+into them.
+
+The output of this tool is a list of suggestions in Vim quickfix format, which
+is accepted by lots of different editors.
+
+WWW: https://github.com/golang/lint/



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