Lines 4-9
Link Here
|
4 |
PORTNAME= blackbox_exporter |
4 |
PORTNAME= blackbox_exporter |
5 |
PORTVERSION= 0.16.0 |
5 |
PORTVERSION= 0.16.0 |
6 |
DISTVERSIONPREFIX=v |
6 |
DISTVERSIONPREFIX=v |
|
|
7 |
PORTREVISION= 1 |
7 |
CATEGORIES= net-mgmt |
8 |
CATEGORIES= net-mgmt |
8 |
|
9 |
|
9 |
MAINTAINER= bsam@FreeBSD.org |
10 |
MAINTAINER= bsam@FreeBSD.org |
Lines 16-21
Link Here
|
16 |
|
17 |
|
17 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= prometheus |
19 |
GH_ACCOUNT= prometheus |
|
|
20 |
GH_TUPLE= golang:net:83d349e8ac1a:golang_net/vendor/golang.org/x/net_83d349e8ac1a |
19 |
USE_RC_SUBR= blackbox_exporter |
21 |
USE_RC_SUBR= blackbox_exporter |
20 |
|
22 |
|
21 |
USERS= prometheus |
23 |
USERS= prometheus |
Lines 31-36
Link Here
|
31 |
${EXAMPLESDIR}/blackbox.yml \ |
33 |
${EXAMPLESDIR}/blackbox.yml \ |
32 |
${EXAMPLESDIR}/example.yml |
34 |
${EXAMPLESDIR}/example.yml |
33 |
|
35 |
|
|
|
36 |
post-extract: |
37 |
${RM} -r ${WRKSRC}/vendor/golang.org/x/net |
38 |
${MV} ${WRKSRC}/vendor/golang.org/x/net_83d349e8ac1a ${WRKSRC}/vendor/golang.org/x/net |
39 |
|
34 |
post-install: |
40 |
post-install: |
35 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
41 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
36 |
${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR} |
42 |
${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR} |