blob: d1402a72df4cf6392f6717ea33613b565aa0e268 (
plain) (
blame)
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
29
30
|
PORTNAME= bosh-bootloader
PORTVERSION= 7.6.0
PORTREVISION= 23
CATEGORIES= net sysutils
MAINTAINER= dumbbell@FreeBSD.org
COMMENT= CLI for standing up CloudFoundry or Concourse on an IAAS
WWW= https://github.com/cloudfoundry/bosh-bootloader
LICENSE= APACHE20
USE_GITHUB= yes
GH_TUPLE= cloudfoundry:bosh-bootloader:v${PORTVERSION} \
golang:sys:v0.6.0:sys
USES= go tar:xz
GO_PKGNAME= github.com/cloudfoundry/bosh-bootloader
GO_TARGET= github.com/cloudfoundry/bosh-bootloader/bbl
PLIST_FILES= bin/bbl
pre-patch:
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
post-patch:
${REINPLACE_CMD} -E -e 's|(Version = )"dev"|\1"${PORTVERSION}"|' ${WRKSRC}/bbl/main.go
.include <bsd.port.mk>
|