mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
d113af84d2
Ports: www/fabio benchmarks/bombardier www/go-www net-mgmt/prometheus2 sysutils/immortal sysutils/docker-freebsd audio/pms-devel sysutils/consul-alerts net-mgmt/pushgateway net/nsq textproc/jid net-mgmt/alertmanager sysutils/nomad security/ssh-vault Approved by: portmgr (port compliance, infrastructure)
34 lines
810 B
Makefile
34 lines
810 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= fabio
|
|
PORTVERSION= 1.5.6
|
|
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>
|