diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2018-08-17 21:43:38 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2018-08-17 21:43:38 +0000 |
commit | 03ac5dc93afe00a05032dabe6dbecd060a26d3dc (patch) | |
tree | 679bc461b7e06299758eb1a711405449b6422a28 /sysutils/eksctl/Makefile | |
parent | security/botan2: update to 2.7.0 (diff) |
- 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.
Notes
Notes:
svn path=/head/; revision=477450
Diffstat (limited to 'sysutils/eksctl/Makefile')
-rw-r--r-- | sysutils/eksctl/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
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 <danilo@FreeBSD.org> +# $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 <bsd.port.mk> |