mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
2eb92d3a78
PR: 234273 Submitted by: arcade@b1t.name (maintainer)
30 lines
572 B
Makefile
30 lines
572 B
Makefile
# Created by: Jev Björsell <ports@ecadlabs.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nginx-prometheus-exporter
|
|
PORTVERSION= 0.2.0
|
|
DISTVERSIONPREFIX=v
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= arcade@b1t.name
|
|
COMMENT= Prometheus exporter for NGINX and NGINX Plus stats
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= nginxinc
|
|
|
|
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|