svn commit: r505625 - head/sysutils/serf
Steve Wills
swills at FreeBSD.org
Mon Jul 1 17:55:33 UTC 2019
Author: swills
Date: Mon Jul 1 17:55:32 2019
New Revision: 505625
URL: https://svnweb.freebsd.org/changeset/ports/505625
Log:
sysutils/serf: Switch to USES=go:modules, fix build with go1.13beta1
PR: 238927
Submitted by: Dmitri Goutnik <dg at syrec.org>
Modified:
head/sysutils/serf/Makefile (contents, props changed)
Modified: head/sysutils/serf/Makefile
==============================================================================
--- head/sysutils/serf/Makefile Mon Jul 1 17:48:22 2019 (r505624)
+++ head/sysutils/serf/Makefile Mon Jul 1 17:55:32 2019 (r505625)
@@ -11,26 +11,18 @@ COMMENT= Service discovery and configuration made easy
LICENSE= MPL20
-USES= go
+USES= go:modules
USE_GITHUB= yes
-
GH_ACCOUNT= hashicorp
-GH_SUBDIR:= src/github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_TARGET= ./cmd/${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>
More information about the svn-ports-head
mailing list