mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
39 lines
700 B
Makefile
39 lines
700 B
Makefile
PORTNAME= serf
|
|
PORTVERSION= 0.10.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 11
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= hashicorp-
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Service discovery and configuration made easy
|
|
WWW= https://www.serf.io/
|
|
|
|
LICENSE= MPL20
|
|
|
|
USES= go:modules
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hashicorp
|
|
GH_TUPLE= golang:net:v0.8.0:net \
|
|
golang:sys:v0.6.0:sys
|
|
|
|
GO_MODULE= github.com/hashicorp/serf
|
|
GO_TARGET= ./cmd/${PORTNAME}
|
|
|
|
USE_RC_SUBR= serf
|
|
|
|
USERS= serf
|
|
GROUPS= serf
|
|
|
|
PLIST_FILES= bin/serf
|
|
|
|
pre-patch:
|
|
.for m in net sys
|
|
${RM} -r ${WRKSRC}/vendor/golang.org/x/$m
|
|
${LN} -s ${WRKDIR}/$m-* ${WRKSRC}/vendor/golang.org/x/$m
|
|
.endfor
|
|
${RM} ${WRKSRC}/vendor/modules.txt
|
|
|
|
.include <bsd.port.mk>
|