mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
24 lines
538 B
Makefile
24 lines
538 B
Makefile
PORTNAME= phpfpm_exporter
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.6.1
|
|
PORTREVISION= 14
|
|
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>
|