mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
cb051958d0
update golang.org/x/net to fix build on aarch64 PR: 244198 Approved by: bsam (maintainer timeout), manu (mentor)
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: Boris Samorodov <bsam@FreeBSDD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= blackbox_exporter
|
|
PORTVERSION= 0.16.0
|
|
DISTVERSIONPREFIX=v
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt
|
|
|
|
MAINTAINER= bsam@FreeBSD.org
|
|
COMMENT= Prometheus exporter for endpoints over HTTP(S), DNS, TCP and ICMP
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= go:modules
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= prometheus
|
|
GH_TUPLE= golang:net:83d349e8ac1a:golang_net/vendor/golang.org/x/net_83d349e8ac1a
|
|
USE_RC_SUBR= blackbox_exporter
|
|
|
|
USERS= prometheus
|
|
GROUPS= prometheus
|
|
|
|
PORTEXAMPLES= ${WRKSRC}/*.yml
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= GH_TAGNAME=${GH_TAGNAME}
|
|
PLIST_FILES= bin/blackbox_exporter \
|
|
${EXAMPLESDIR}/blackbox.yml \
|
|
${EXAMPLESDIR}/example.yml
|
|
|
|
post-extract:
|
|
${RM} -r ${WRKSRC}/vendor/golang.org/x/net
|
|
${MV} ${WRKSRC}/vendor/golang.org/x/net_83d349e8ac1a ${WRKSRC}/vendor/golang.org/x/net
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.yml ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|