blob: fc1eafd4676ac136952f41b39f5a70ac2f80e4f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: Makefile,v 1.44 2022/12/08 16:14:22 bsiegert Exp $
DISTNAME= node_exporter-1.4.0
MASTER_SITES= ${MASTER_SITE_GITHUB:=prometheus/}
PKGREVISION= 3
CATEGORIES= sysutils
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@pkgsrc.org
HOMEPAGE= https://github.com/prometheus/node_exporter
COMMENT= Prometheus exporter for hardware and OS metrics
LICENSE= apache-2.0
GO_BUILD_PATTERN+= -ldflags ' \
-X github.com/prometheus/common/version.Version=${PKGVERSION_NOREV} \
-X github.com/prometheus/common/version.Revision=${PKGREVISION} \
-X github.com/prometheus/common/version.Branch=${GITHUB_TAG}'
GO_BUILD_PATTERN+= .
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
|