freebsd-ports/www/fabio/Makefile
2022-07-14 07:46:05 -05:00

27 lines
603 B
Makefile

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>