1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/www/fabio/Makefile
Shaun Amott 9517dea434 Update to 1.4.2.
PR:		218567
Submitted by:	Scott Larson <stl@ossuary.net> (maintainer)
2017-04-11 21:21:56 +00:00

33 lines
751 B
Makefile

# $FreeBSD$
PORTNAME= fabio
PORTVERSION= 1.4.2
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= stl@ossuary.net
COMMENT= Zero-conf load balancing HTTP(S) router managed by Consul
LICENSE= MIT
USES= go
USE_GITHUB= yes
GH_ACCOUNT= eBay
GH_PROJECT= fabio
GH_SUBDIR= src/github.com/eBay/fabio
USE_RC_SUBR= fabio
do-build:
@cd ${WRKSRC}/src/github.com/eBay/fabio; \
${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \
-ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/fabio
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/eBay/fabio/bin/fabio \
${STAGEDIR}${PREFIX}/sbin/fabio
${INSTALL_DATA} ${WRKSRC}/src/github.com/eBay/fabio/fabio.properties \
${STAGEDIR}${PREFIX}/etc/fabio.properties.sample
.include <bsd.port.mk>