1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/fabio/Makefile
Danilo G. Baio 16a6a4d523 www/fabio: Update to 1.5.2
While here, add LICENSE_FILE.

PR:		222307
Submitted by:	Scott Larson <stl@ossuary.net> (maintainer)
2017-09-17 11:55:34 +00:00

34 lines
798 B
Makefile

# $FreeBSD$
PORTNAME= fabio
PORTVERSION= 1.5.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
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} ${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>