blob: 1400fa39422fd26e4f4157cb57e5bc6b8bef408d (
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
|
PORTNAME= phpfpm_exporter
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.1
PORTREVISION= 10
CATEGORIES= net-mgmt
MAINTAINER= gasol.wu@gmail.com
COMMENT= Export php-fpm metrics in Prometheus format
WWW= https://github.com/bakins/php-fpm-exporter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/bakins/php-fpm-exporter
GO_TARGET= cmd/php-fpm-exporter/main.go:${PREFIX}/bin/${PORTNAME}
USE_RC_SUBR= phpfpm_exporter
USERS= prometheus
GROUPS= prometheus
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>
|