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