Index: head/security/aws-iam-authenticator/Makefile =================================================================== --- head/security/aws-iam-authenticator/Makefile (revision 497573) +++ head/security/aws-iam-authenticator/Makefile (revision 497574) @@ -1,32 +1,30 @@ # Created by: Danilo Egea Gondolfo # $FreeBSD$ PORTNAME= aws-iam-authenticator PORTVERSION= 0.3.0 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= danilo@FreeBSD.org COMMENT= Use AWS IAM credentials to authenticate to a Kubernetes cluster LICENSE= APACHE20 USES= go USE_GITHUB= yes GH_ACCOUNT= kubernetes-sigs GH_SUBDIR= src/github.com/heptio/authenticator +GO_PKGNAME= github.com/heptio/authenticator +GO_TARGET= ${GO_PKGNAME}/cmd/heptio-authenticator-aws + PLIST_FILES= bin/${PORTNAME} -do-build: - cd ${WRKSRC}/${GH_SUBDIR} && \ - GOPATH=${WRKSRC} go build \ - ./cmd/heptio-authenticator-aws - do-install: ${INSTALL_PROGRAM} \ - ${WRKSRC}/heptio-authenticator-aws \ + ${GO_WRKDIR_BIN}/heptio-authenticator-aws \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include