freebsd-ports/sysutils/istio/Makefile
Danilo Egea Gondolfo 6045abf779 - Update to 1.1.8
2019-06-07 21:02:08 +00:00

33 lines
778 B
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD$
PORTNAME= istio
PORTVERSION= 1.1.8
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
COMMENT= Open platform to connect, manage, and secure microservices
LICENSE= APACHE20
RUN_DEPENDS= kubectl:sysutils/kubectl
USES= go
OPTIONS_DEFINE= EXAMPLES
OPTIONS_SUB= yes
USE_GITHUB= yes
GO_PKGNAME= istio.io/istio
GO_TARGET= ${GO_PKGNAME}/istioctl/cmd/istioctl
GO_BUILDFLAGS= -ldflags="-X istio.io/istio/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>