summaryrefslogtreecommitdiff
path: root/devel/go-perf/Makefile
blob: 840a5c2120a356df58259cf32eeeed49aaacc440 (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
PORTNAME=	go-perf
PORTVERSION=	${MODVERSION:S/-/./g:R}
DISTVERSIONPREFIX=	v
PORTREVISION=	4
CATEGORIES=	devel

MAINTAINER=	fuz@FreeBSD.org
COMMENT=	Go performance measurement, storage, and analysis tools
WWW=		https://golang.org/x/perf

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules
MODVERSION=	0.0.0-20231127181059-b53752263861
GO_MODULE=	golang.org/x/perf@v${MODVERSION}

GO_TARGET=	./cmd/benchsave \
		./cmd/benchseries \
		./cmd/benchstat \
		./cmd/benchfilter

PLIST_FILES=	${GO_TARGET:T:S,^,bin/,}

OPTIONS_DEFINE=	DEPRECATED
DEPRECATED_DESC=	Install deprecated utilities
DEPRECATED_VARS=	GO_TARGET+="./analysis/localperf ./storage/localperfdata"

.include <bsd.port.mk>