mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Use GO_* variables to simplify the Makefile
This commit is contained in:
parent
429b2ef3b9
commit
ae1a85e388
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497574
@ -17,16 +17,14 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= kubernetes-sigs
|
||||
GH_SUBDIR= src/github.com/heptio/authenticator
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
GO_PKGNAME= github.com/heptio/authenticator
|
||||
GO_TARGET= ${GO_PKGNAME}/cmd/heptio-authenticator-aws
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/${GH_SUBDIR} && \
|
||||
GOPATH=${WRKSRC} go build \
|
||||
./cmd/heptio-authenticator-aws
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/heptio-authenticator-aws \
|
||||
${GO_WRKDIR_BIN}/heptio-authenticator-aws \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user