blob: 51646e54a2aed9b261a220184a6e212fb33d48b7 (
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= mysqld_exporter
PORTVERSION= 0.12.1
DISTVERSIONPREFIX=v
PORTREVISION= 20
CATEGORIES= net-mgmt
MAINTAINER= mr.deadlystorm@gmail.com
COMMENT= Prometheus exporter for MySQL server metrics
WWW= https://github.com/prometheus/mysqld_exporter
LICENSE= APACHE20
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= prometheus
GH_TUPLE= golang:sys:v0.6.0:sys
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/mysqld_exporter
USE_RC_SUBR= mysqld_exporter
pre-patch:
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
.include <bsd.port.mk>
|