freebsd-ports/www/fabio/Makefile
Dmitri Goutnik 4476f89764 all: Bump PORTREVISION after Go update
Bump Go ports PORTREVISION after GO_DEFAULT and lang/go118 update.
2022-08-03 16:35:13 -05:00

27 lines
603 B
Makefile

PORTNAME= fabio
PORTVERSION= 1.6.0
PORTREVISION= 3
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>