blob: c34f186c32acfe8ccdbd2c85884737697936d844 (
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= 21
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>
|