Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 20:20:35 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456183 - in head/devel: . go-godef
Message-ID:  <201712122020.vBCKKZaP047583@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ultima
Date: Tue Dec 12 20:20:34 2017
New Revision: 456183
URL: https://svnweb.freebsd.org/changeset/ports/456183

Log:
  Godef - find symbol information in Go source
  
  Godef, given an expression or a location in a source file, prints
  the location of the definition of the symbol referred to.
  
  Known limitations:
  
  - it does not understand about "." imports
  - it does not deal well with definitions in tests.
  
  WWW: https://github.com/rogpeppe/godef

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Dec 12 19:13:30 2017	(r456182)
+++ head/devel/Makefile	Tue Dec 12 20:20:34 2017	(r456183)
@@ -820,6 +820,7 @@
     SUBDIR += go-glide
     SUBDIR += go-go.uuid
     SUBDIR += go-gocode
+    SUBDIR += go-godef
     SUBDIR += go-goregen
     SUBDIR += go-hashicorp-logutils
     SUBDIR += go-json-rest

Added: head/devel/go-godef/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-godef/Makefile	Tue Dec 12 20:20:34 2017	(r456183)
@@ -0,0 +1,24 @@
+# Created by: Richard Gallamore <ultima@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	godef
+PORTVERSION=	g20170920
+CATEGORIES=	devel
+PKGNAMEPREFIX=	go-
+
+MAINTAINER=	ultima@FreeBSD.org
+COMMENT=	Print where symbols are defined in Go source code
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go
+USE_GITHUB=	yes
+GH_ACCOUNT=	rogpeppe
+GH_TAGNAME=	b692db1de
+
+GO_PKGNAME=	github.com/rogpeppe/godef
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/devel/go-godef/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-godef/distinfo	Tue Dec 12 20:20:34 2017	(r456183)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513067461
+SHA256 (rogpeppe-godef-g20170920-b692db1de_GH0.tar.gz) = d92fd71707e3192f2bc31dc5275e32fda37ce69695cb9b29c0c061e8d5f3781a
+SIZE (rogpeppe-godef-g20170920-b692db1de_GH0.tar.gz) = 132179

Added: head/devel/go-godef/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/go-godef/pkg-descr	Tue Dec 12 20:20:34 2017	(r456183)
@@ -0,0 +1,11 @@
+Godef - find symbol information in Go source
+
+Godef, given an expression or a location in a source file, prints
+the location of the definition of the symbol referred to.
+
+Known limitations:
+
+- it does not understand about "." imports
+- it does not deal well with definitions in tests.
+
+WWW: https://github.com/rogpeppe/godef



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