Lines 1-33
Link Here
|
1 |
# Created by: Boris Samorodov <bsam@FreeBSDD.org> |
1 |
# Created by: Boris Samorodov <bsam@FreeBSDD.org> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= blackbox_exporter |
4 |
PORTNAME= blackbox_exporter |
5 |
PORTVERSION= 0.11.0 |
5 |
PORTVERSION= 0.12.0 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 1 |
7 |
DISTVERSIONPREFIX=v |
7 |
DISTVERSIONPREFIX=v |
8 |
CATEGORIES= net-mgmt |
8 |
CATEGORIES= net-mgmt |
9 |
|
9 |
|
10 |
MAINTAINER= bsam@FreeBSD.org |
10 |
MAINTAINER= bsam@FreeBSD.org |
11 |
COMMENT= Prometheus exporter for endpoints over HTTP(S), DNS, TCP and ICMP |
11 |
COMMENT= Prometheus exporter for endpoints over HTTP(S), DNS, TCP and ICMP |
12 |
|
12 |
|
13 |
LICENSE= APACHE20 |
13 |
LICENSE= APACHE20 |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
15 |
|
16 |
USES= go |
16 |
USES= go |
17 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
18 |
|
18 |
|
19 |
GH_ACCOUNT= prometheus |
19 |
GH_ACCOUNT= prometheus |
20 |
|
20 |
|
21 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} |
21 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} |
22 |
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME} |
22 |
GO_TARGET= github.com/${GH_ACCOUNT}/${PORTNAME} |
23 |
|
23 |
|
24 |
USE_RC_SUBR= ${PORTNAME} |
24 |
USE_RC_SUBR= ${PORTNAME} |
25 |
|
25 |
|
26 |
PORTEXAMPLES= ${WRKSRC}/*.yml |
26 |
PORTEXAMPLES= ${WRKSRC}/*.yml |
27 |
|
27 |
|
28 |
do-install: |
28 |
do-install: |
29 |
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
29 |
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
30 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
30 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR} |
32 |
|
32 |
|
33 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |