blob: e9581026307cd6fd5463e6b443d2f5395b03f7f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PORTNAME= bosh-cli
PORTVERSION= 5.5.0
PORTREVISION= 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>
|