blob: b61c319e1cb7b0f25ea9a0877017bea49344f8c3 (
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
|
PORTNAME= fabio
PORTVERSION= 1.6.0
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= stl@ossuary.net
COMMENT= Zero-conf load balancing HTTP(S) router managed by Consul
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_RC_SUBR= fabio
GO_MODULE= github.com/fabiolb/fabio
GO_TARGET= :${PREFIX}/sbin/fabio
GO_BUILDFLAGS= -ldflags "-X main.GitDescribe=v${PORTVERSION}"
PLIST_FILES= "@sample etc/fabio.properties.sample" \
sbin/fabio
post-install:
${INSTALL_DATA} ${GO_WRKSRC}/fabio.properties ${STAGEDIR}${PREFIX}/etc/fabio.properties.sample
.include <bsd.port.mk>
|