mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
54e279cd72
Ports: benchmarks/hey benchmarks/vegeta databases/influxdb devel/arduino-builder devel/arduinoOTA devel/awless devel/git-codereview devel/git-town devel/gitlab-runner devel/grv devel/hub devel/jfrog-cli editors/micro finance/fixc misc/exercism net-mgmt/intel-snap net-mgmt/kapacitor net-mgmt/telegraf net/goreplay net/syncthing net/syncthing-cli net/syncthing-discosrv net/syncthing-inotify print/cups-connector security/sops security/vault sysutils/amazon-ssm-agent sysutils/circonus-agent sysutils/consul sysutils/consul_exporter sysutils/envconsul sysutils/serf textproc/consul-template textproc/spiff www/gobuffalo www/grafana2 www/grafana3 www/mattermost-server www/minio www/minio-client www/uchiwa Approved by: tcberner (mentor, implicit) Approved by: portmgr (port compliance, infrastructure)
37 lines
742 B
Makefile
37 lines
742 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= serf
|
|
PORTVERSION= 0.8.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= hashicorp-
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Service discovery and configuration made easy
|
|
|
|
LICENSE= MPL20
|
|
|
|
BUILD_DEPENDS= go:lang/go
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= hashicorp
|
|
GH_SUBDIR:= src/github.com/${GH_ACCOUNT}/${PORTNAME}
|
|
|
|
USE_RC_SUBR= serf
|
|
|
|
USERS= serf
|
|
GROUPS= serf
|
|
|
|
PLIST_FILES= bin/serf
|
|
|
|
do-build:
|
|
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}; \
|
|
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC}:${WRKSRC}/vendor/ \
|
|
go build -o bin/${PORTNAME} ./cmd/serf/
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|