From 03ac5dc93afe00a05032dabe6dbecd060a26d3dc Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Fri, 17 Aug 2018 21:43:38 +0000 Subject: - New port: sysutils/eksctl eksctl is a simple CLI tool for creating clusters on EKS - Amazon's new managed Kubernetes service for EC2. It is written in Go, and based on Amazon's official CloudFormation templates. --- sysutils/eksctl/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sysutils/eksctl/Makefile (limited to 'sysutils/eksctl/Makefile') diff --git a/sysutils/eksctl/Makefile b/sysutils/eksctl/Makefile new file mode 100644 index 000000000000..71840b19c1ab --- /dev/null +++ b/sysutils/eksctl/Makefile @@ -0,0 +1,39 @@ +# Created by: Danilo Egea Gondolfo +# $FreeBSD$ + +PORTNAME= eksctl +PORTVERSION= 0.1.0 +CATEGORIES= sysutils + +MAINTAINER= danilo@FreeBSD.org +COMMENT= CLI for Amazon EKS + +LICENSE= APACHE20 + +RUN_DEPENDS= kubectl:sysutils/kubectl \ + aws-iam-authenticator:security/aws-iam-authenticator + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= weaveworks + +PLIST_FILES= bin/${PORTNAME} + +post-patch: + ${LN} -s ${WRKSRC}/vendor ${WRKSRC}/src + ${MKDIR} ${WRKSRC}/src/github.com/weaveworks/eksctl + ${LN} -s ${WRKSRC}/pkg ${WRKSRC}/src/github.com/weaveworks/eksctl/pkg + +do-build: + cd ${WRKSRC}/cmd/${PORTNAME} && \ + GOPATH=${WRKSRC} go build \ + -ldflags="-X main.gitCommit=${PORTVERSION} \ + -X main.builtAt=$$(date +'%s')" + +do-install: + ${INSTALL_PROGRAM} \ + ${WRKSRC}/cmd/${PORTNAME}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include -- cgit v1.2.3