blob: c21f59b743819146952dfe2aafe5ff6ca1d47b80 (
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
|
PORTNAME= nginx-prometheus-exporter
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
PORTREVISION= 3
CATEGORIES= www
MAINTAINER= arcade@b1t.name
COMMENT= Prometheus exporter for NGINX and NGINX Plus stats
WWW= https://github.com/nginxinc/nginx-prometheus-exporter
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules,1.21
USE_RC_SUBR= ${PORTNAME}
GO_MODULE= github.com/nginxinc/nginx-prometheus-exporter
GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}"
LD_FLAG_X_PREFIX= -X main
LD_FLAG_STRING= ${STRIP} ${LD_FLAG_X_PREFIX}.version=${PORTVERSION}
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|