1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/www/fabio/Makefile
Sean Chittenden b45fc27d35 Update www/fabio to 1.5.9
Submitted by:	seanc
Reviewed by:	mat
Approved by:	mat, maintainer
Sponsored by:	Joyent, Inc.
Differential Revision:	https://reviews.freebsd.org/D15464
2018-05-25 23:05:22 +00:00

34 lines
810 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_PROJECT= fabio
GH_SUBDIR= src/github.com/fabiolb/fabio
USE_RC_SUBR= fabio
do-build:
@cd ${WRKSRC}/src/github.com/fabiolb/fabio; \
${SETENV} ${MAKE_ENV} ${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/fabiolb/fabio/bin/fabio \
${STAGEDIR}${PREFIX}/sbin/fabio
${INSTALL_DATA} ${WRKSRC}/src/github.com/fabiolb/fabio/fabio.properties \
${STAGEDIR}${PREFIX}/etc/fabio.properties.sample
.include <bsd.port.mk>