Lines 1-7
Link Here
|
1 |
PORTNAME= grafana |
1 |
PORTNAME= grafana |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 8.3.6 |
3 |
DISTVERSION= 8.3.6 |
4 |
PORTREVISION= 1 |
4 |
PORTREVISION= 2 |
5 |
CATEGORIES= www |
5 |
CATEGORIES= www |
6 |
MASTER_SITES= https://dl.grafana.com/oss/release/:public |
6 |
MASTER_SITES= https://dl.grafana.com/oss/release/:public |
7 |
PKGNAMESUFFIX= ${DISTVERSION:C/([0-9]).*/\1/1} |
7 |
PKGNAMESUFFIX= ${DISTVERSION:C/([0-9]).*/\1/1} |
Lines 25-30
USE_GITHUB= yes
Link Here
|
25 |
USE_RC_SUBR= grafana |
25 |
USE_RC_SUBR= grafana |
26 |
TAG= bf8766b |
26 |
TAG= bf8766b |
27 |
|
27 |
|
|
|
28 |
GO_PORT= lang/go117 |
28 |
GO_TARGET= ./pkg/cmd/grafana-server \ |
29 |
GO_TARGET= ./pkg/cmd/grafana-server \ |
29 |
./pkg/cmd/grafana-cli |
30 |
./pkg/cmd/grafana-cli |
30 |
GO_BUILDFLAGS= -ldflags="-w -X main.version=${PORTVERSION} -X main.commit=${TAG}" |
31 |
GO_BUILDFLAGS= -ldflags="-w -X main.version=${PORTVERSION} -X main.commit=${TAG}" |