summaryrefslogtreecommitdiff
path: root/sysutils/sockaddr/Makefile
blob: 1410cd25e8e927f14549759d771d4053275ebfd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PORTNAME=	sockaddr
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.2
PORTREVISION=	11
CATEGORIES=	sysutils

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Command line utility for querying IP information
WWW=		https://github.com/hashicorp/go-sockaddr/tree/master/cmd/sockaddr

LICENSE=	MPL20
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

USE_GITHUB=	yes
GH_ACCOUNT=	hashicorp
GH_PROJECT=	go-sockaddr
GH_TUPLE=	\
		armon:go-radix:7fddfc383310:armon_go_radix/vendor/github.com/armon/go-radix \
		bgentry:speakeasy:v0.1.0:bgentry_speakeasy/vendor/github.com/bgentry/speakeasy \
		fatih:color:v1.7.0:fatih_color/vendor/github.com/fatih/color \
		golang:sys:11551d06cbcc:golang_sys/vendor/golang.org/x/sys \
		hashicorp:errwrap:v1.0.0:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \
		hashicorp:go-multierror:v1.0.0:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \
		mattn:go-colorable:v0.0.9:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
		mattn:go-isatty:v0.0.3:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
		mitchellh:cli:v1.0.0:mitchellh_cli/vendor/github.com/mitchellh/cli \
		mitchellh:go-wordwrap:v1.0.0:mitchellh_go_wordwrap/vendor/github.com/mitchellh/go-wordwrap \
		posener:complete:v1.1.1:posener_complete/vendor/github.com/posener/complete \
		ryanuber:columnize:v2.1.0:ryanuber_columnize/vendor/github.com/ryanuber/columnize

GO_TARGET=	./cmd/${PORTNAME}
GO_BUILDFLAGS=	-ldflags "-X main.Version=${DISTVERSIONFULL} -s -w"

PLIST_FILES=	bin/sockaddr

.include <bsd.port.mk>