freebsd-ports/net/bosh-cli/Makefile
Jean-Sébastien Pédron 969b6ba3cf net/bosh-{bootloader,cli}: New ports for the BOSH CLI v2
The new BOSH CLI is comprised of two executables: `bbl` and `bosh`. They
replace the previous version of the CLI (sysutils/rubygem-bosh_cli).

Sponsored by:	Pivotal
2018-01-27 19:02:01 +00:00

29 lines
544 B
Makefile

# $FreeBSD$
PORTNAME= bosh-cli
PORTVERSION= 2.0.48
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>