freebsd-ports/sysutils/phpfpm_exporter/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

25 lines
483 B
Makefile

# $FreeBSD$
PORTNAME= phpfpm_exporter
PORTVERSION= 0.3.3
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
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
.include <bsd.port.mk>