30 lines
619 B
Makefile
30 lines
619 B
Makefile
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eksctl
|
|
PORTVERSION= 0.1.11
|
|
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
|
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
|
|
|
USES= go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= weaveworks
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
GO_PKGNAME= github.com/weaveworks/${PORTNAME}
|
|
GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
|
|
GO_BUILDFLAGS= -ldflags="-X main.gitCommit=${PORTVERSION} \
|
|
-X main.builtAt=$$(date +'%s')"
|
|
|
|
.include <bsd.port.mk>
|