From owner-svn-ports-head@freebsd.org Tue Dec 12 20:20:36 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61E4DE83516; Tue, 12 Dec 2017 20:20:36 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B9F570A6A; Tue, 12 Dec 2017 20:20:36 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBCKKZn8047587; Tue, 12 Dec 2017 20:20:35 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBCKKZaP047583; Tue, 12 Dec 2017 20:20:35 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201712122020.vBCKKZaP047583@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Tue, 12 Dec 2017 20:20:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456183 - in head/devel: . go-godef X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/devel: . go-godef X-SVN-Commit-Revision: 456183 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 20:20:36 -0000 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 +# $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 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