freebsd-ports/sysutils/kops/Makefile
Danilo Egea Gondolfo b1eef327f2 - New port: sysutils/kops
kops helps you create, destroy, upgrade and maintain production-grade,
highly available, Kubernetes clusters from the command line.
AWS (Amazon Web Services) is currently officially supported, with GCE
in beta support , and VMware vSphere in alpha, and other platforms planned.
2018-08-02 21:54:55 +00:00

35 lines
663 B
Makefile

# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
# $FreeBSD$
PORTNAME= kops
PORTVERSION= 1.9.2
CATEGORIES= sysutils
MAINTAINER= danilo@FreeBSD.org
COMMENT= Kubernetes Operations
LICENSE= APACHE20
USES= gmake go
USE_GITHUB= yes
GH_ACCOUNT= kubernetes
PLIST_FILES= bin/${PORTNAME}
post-patch:
${MKDIR} ${WRKDIR}/src/k8s.io/
${LN} -s ${WRKSRC} ${WRKDIR}/src/k8s.io/${PORTNAME}
${REINPLACE_CMD} -e 's/^GITSHA/#GITSHA/' -e 's/sha1sum/sha1/' \
${WRKSRC}/Makefile
do-build:
cd ${WRKSRC} && \
GOPATH=${WRKDIR} ${GMAKE}
do-install:
${INSTALL_PROGRAM} \
${WRKDIR}/bin/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>