opnsense-ports/net/bosh-cli/Makefile
Franco Fichtner bc9fc2848c */*: sync with upstream
Taken from: FreeBSD
2023-04-11 09:42:51 +02:00

29 lines
592 B
Makefile

PORTNAME= bosh-cli
PORTVERSION= 5.5.0
PORTREVISION= 13
CATEGORIES= net sysutils
MAINTAINER= dumbbell@FreeBSD.org
COMMENT= CLI for BOSH
WWW= https://bosh.io/docs/cli-v2.html
LICENSE= APACHE20
USE_GITHUB= yes
GH_TUPLE= cloudfoundry:bosh-cli:v${PORTVERSION}
USES= go tar:xz
CONFLICTS_INSTALL= schilyutils # bin/bosh
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>