summaryrefslogtreecommitdiff
path: root/net-mgmt/phpfpm_exporter/Makefile
blob: 6f47718bc623cc6cdac3800abf6aaa276f997566 (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
PORTNAME=	phpfpm_exporter
PORTVERSION=	0.4.1
DISTVERSIONPREFIX=v
CATEGORIES=	net-mgmt

MAINTAINER=	gasol.wu@gmail.com
COMMENT=	Export php-fpm metrics in Prometheus format

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go
USE_GITHUB=	yes
GH_ACCOUNT=	bakins
GH_PROJECT=	php-fpm-exporter

GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_TARGET=	./cmd/${GH_PROJECT}:${PORTNAME}

PLIST_FILES=	bin/${PORTNAME}
USE_RC_SUBR=	phpfpm_exporter
USERS=		prometheus
GROUPS=		prometheus

.include <bsd.port.mk>