freebsd-ports/net/bosh-cli/Makefile
Jean-Sébastien Pédron 8cd2b0b310 net/bosh-cli: Update to 4.0.1
Sponsored by:	Pivotal Software, Inc.
2018-06-04 13:54:44 +00:00

29 lines
543 B
Makefile

# $FreeBSD$
PORTNAME= bosh-cli
PORTVERSION= 4.0.1
CATEGORIES= net sysutils
MAINTAINER= dumbbell@FreeBSD.org
COMMENT= CLI for BOSH
LICENSE= APACHE20
USE_GITHUB= yes
GH_TUPLE= cloudfoundry:bosh-cli:v${PORTVERSION}
CONFLICTS_INSTALL= rubygem-bosh_cli
USES= go tar:xz
GO_PKGNAME= github.com/cloudfoundry/bosh-cli
PLIST_FILES= bin/bosh
post-patch:
${REINPLACE_CMD} -e 's|\[DEV BUILD\]|${PORTVERSION}|' ${WRKSRC}/cmd/version.go
post-install:
${MV} ${STAGEDIR}${PREFIX}/bin/bosh-cli ${STAGEDIR}${PREFIX}/bin/bosh
.include <bsd.port.mk>