1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/fabio/Makefile
Dmitri Goutnik fc95b3f0cf Go ports: cleanup, finish transition to USES=go started with r505321 (cat. sysutils-x11)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Reviewed by:	tobik
Approved by:	araujo (mentor), portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D21744
2019-09-29 22:34:31 +00:00

28 lines
565 B
Makefile

# $FreeBSD$
PORTNAME= fabio
PORTVERSION= 1.5.9
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
USE_GITHUB= yes
GH_ACCOUNT= fabiolb
GH_SUBDIR= src/github.com/fabiolb/fabio
GO_BUILDFLAGS= -ldflags "-X main.GitDescribe=v${PORTVERSION}"
GO_TARGET= :${PREFIX}/sbin/fabio
USE_RC_SUBR= fabio
post-install:
${INSTALL_DATA} ${GO_WRKSRC}/fabio.properties ${STAGEDIR}${PREFIX}/etc/fabio.properties.sample
.include <bsd.port.mk>