Lines 1-7
Link Here
|
1 |
PORTNAME= thanos |
1 |
PORTNAME= thanos |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.28.0 |
3 |
DISTVERSION= 0.35.1 |
4 |
PORTREVISION= 15 |
|
|
5 |
CATEGORIES= net-mgmt |
4 |
CATEGORIES= net-mgmt |
6 |
|
5 |
|
7 |
MAINTAINER= ler@FreeBSD.org |
6 |
MAINTAINER= ler@FreeBSD.org |
Lines 11-36
WWW= https://thanos.io/
Link Here
|
11 |
LICENSE= APACHE20 |
10 |
LICENSE= APACHE20 |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
12 |
|
14 |
# fails to build on armv7/i386: pkg/store/cache/cache.go:166:22: constant 9223372036854775807 overflows int |
|
|
15 |
ONLY_FOR_ARCHS= aarch64 amd64 |
16 |
|
17 |
USES= go:modules |
13 |
USES= go:modules |
18 |
|
14 |
|
19 |
BUILD_DATE= $$(date +%d-%B-%Y) |
|
|
20 |
|
21 |
GO_MODULE= github.com/thanos-io/thanos |
15 |
GO_MODULE= github.com/thanos-io/thanos |
22 |
GO_TARGET= ./cmd/${PORTNAME} |
16 |
GO_TARGET= ./cmd/${PORTNAME} |
23 |
GO_BUILDFLAGS= -ldflags "\ |
17 |
GO_BUILDFLAGS= -ldflags "\ |
24 |
-s -w \ |
18 |
-s -w \ |
25 |
-X github.com/prometheus/common/version.Version=${DISTVERSION} \ |
19 |
-X github.com/prometheus/common/version.Version=${DISTVERSION} \ |
26 |
-X github.com/prometheus/common/version.Revision="31cacc4" \ |
20 |
-X github.com/prometheus/common/version.Revision="086a698" \ |
27 |
-X github.com/prometheus/common/version.Branch="master" \ |
21 |
-X github.com/prometheus/common/version.Branch="master" \ |
28 |
-X github.com/prometheus/common/version.BuildUser=${USER} \ |
22 |
-X github.com/prometheus/common/version.BuildUser=${USER} \ |
29 |
-X github.com/prometheus/common/version.BuildDate=${BUILD_DATE}" |
23 |
-X github.com/prometheus/common/version.BuildDate=${BUILD_DATE}" |
30 |
|
24 |
|
31 |
USE_GITHUB= yes |
|
|
32 |
GH_ACCOUNT= thanos-io |
33 |
|
34 |
PLIST_FILES= bin/${PORTNAME} |
25 |
PLIST_FILES= bin/${PORTNAME} |
35 |
|
26 |
|
|
|
27 |
BUILD_DATE= $$(date +%d-%B-%Y) |
28 |
|
36 |
.include <bsd.port.mk> |
29 |
.include <bsd.port.mk> |