1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/net/cloudflared/Makefile
Vinícius Zavam 14a766584e net/cloudflared: update 2020.8.2 to 2020.9.3
github.com/cloudflare/cloudflared/blob/2020.9.3/RELEASE_NOTES
2020-09-26 20:21:40 +00:00

32 lines
674 B
Makefile

# $FreeBSD$
PORTNAME= cloudflared
DISTVERSION= 2020.9.3
CATEGORIES= net www
MAINTAINER= egypcio@FreeBSD.org
COMMENT= Cloudflare's Argo Tunnel client
LICENSE= cloudflare
LICENSE_NAME= cloudflare
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= no-dist-sell no-pkg-sell
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= cloudflare
CPE_VENDOR= cloudflare
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_TARGET= ${GO_PKGNAME}/cmd/cloudflared
GO_BUILDFLAGS+= -ldflags '-s -w -X main.Version=${PORTVERSION}'
PLIST_FILES= bin/${PORTNAME}
RESTRICTED= Not sure if we are allowed to redistribute it.
.include <bsd.port.mk>