svn commit: r477624 - head/security/aws-iam-authenticator
Danilo Egea Gondolfo
danilo at FreeBSD.org
Mon Aug 20 03:36:17 UTC 2018
Author: danilo
Date: Mon Aug 20 03:36:16 2018
New Revision: 477624
URL: https://svnweb.freebsd.org/changeset/ports/477624
Log:
- Use GH_SUBDIR instead of post-patch
Modified:
head/security/aws-iam-authenticator/Makefile
Modified: head/security/aws-iam-authenticator/Makefile
==============================================================================
--- head/security/aws-iam-authenticator/Makefile Mon Aug 20 03:33:07 2018 (r477623)
+++ head/security/aws-iam-authenticator/Makefile Mon Aug 20 03:36:16 2018 (r477624)
@@ -15,21 +15,18 @@ USES= go
USE_GITHUB= yes
GH_ACCOUNT= kubernetes-sigs
+GH_SUBDIR= src/github.com/heptio/authenticator
PLIST_FILES= bin/${PORTNAME}
-post-patch:
- ${LN} -s ${WRKSRC}/vendor ${WRKSRC}/src
- ${MKDIR} ${WRKSRC}/src/github.com/heptio/authenticator
- ${LN} -s ${WRKSRC}/pkg ${WRKSRC}/src/github.com/heptio/authenticator/pkg
-
do-build:
- cd ${WRKSRC}/cmd/heptio-authenticator-aws && \
- GOPATH=${WRKSRC} go build
+ cd ${WRKSRC}/${GH_SUBDIR} && \
+ GOPATH=${WRKSRC} go build \
+ ./cmd/heptio-authenticator-aws
do-install:
${INSTALL_PROGRAM} \
- ${WRKSRC}/cmd/heptio-authenticator-aws/heptio-authenticator-aws \
+ ${WRKSRC}/heptio-authenticator-aws \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list