freebsd-ports/sysutils/istio/Makefile
Danilo Egea Gondolfo e7d580afff - Switch to USES=go:modules, fix build with go1.13 [1]
while here
- Update to 1.2.5

PR:		240288
Submitted by:	Dmitri Goutnik <dg@syrec.org> [1]
2019-09-02 23:19:26 +00:00

32 lines
763 B
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD$
PORTNAME= istio
PORTVERSION= 1.2.5
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
COMMENT= Open platform to connect, manage, and secure microservices
LICENSE= APACHE20
RUN_DEPENDS= kubectl:sysutils/kubectl
USES= go:modules
OPTIONS_DEFINE= EXAMPLES
OPTIONS_SUB= yes
USE_GITHUB= yes
GO_TARGET= ./istioctl/cmd/istioctl
GO_BUILDFLAGS= -ldflags="-X istio.io/istio/vendor/istio.io/pkg/version.buildVersion=${PORTVERSION} \
-X istio.io/istio/pkg/version.buildDockerHub=docker.io/istio"
post-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} install ${STAGEDIR}${DATADIR})
post-install-EXAMPLES-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} samples ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>