mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
66f1e80dee
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
25 lines
449 B
Makefile
25 lines
449 B
Makefile
# 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>
|