PORTNAME= mysqld_exporter PORTVERSION= 0.12.1 DISTVERSIONPREFIX=v PORTREVISION= 16 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