Date: Tue, 10 Jul 2018 11:58:36 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474356 - head/benchmarks/vegeta Message-ID: <201807101158.w6ABwaSF020645@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Tue Jul 10 11:58:36 2018 New Revision: 474356 URL: https://svnweb.freebsd.org/changeset/ports/474356 Log: benchmarks/vegeta: making better use of Go framework PR: 229668 Submitted by: VinÃcius Zavam <egypcio@googlemail.com> (maintainer) Modified: head/benchmarks/vegeta/Makefile (contents, props changed) Modified: head/benchmarks/vegeta/Makefile ============================================================================== --- head/benchmarks/vegeta/Makefile Tue Jul 10 11:49:01 2018 (r474355) +++ head/benchmarks/vegeta/Makefile Tue Jul 10 11:58:36 2018 (r474356) @@ -3,6 +3,7 @@ PORTNAME= vegeta DISTVERSIONPREFIX= v DISTVERSION= 8.0.0 +PORTREVISION= 1 CATEGORIES= benchmarks www MAINTAINER= egypcio@googlemail.com @@ -11,13 +12,12 @@ COMMENT= HTTP load testing tool and library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= go:lang/go - PLIST_FILES= bin/${PORTNAME} +USES= go USE_GITHUB= yes -GH_ACCOUNT= tsenart +GH_ACCOUNT= tsenart GH_TUPLE= streadway:quantile:b0c5887:quantile/github.com/streadway/quantile \ golang:net:ed29d75:net/golang.org/x/net \ golang:text:v0.3.0:text/golang.org/x/text \ @@ -28,8 +28,8 @@ do-build: @${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} @${RLN} ${WRKSRC} ${WRKSRC}/src @cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ - go build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} + ${SETENV} ${MAKE_ENV} ${GO_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ + ${GO_CMD} build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}/${LOCALBASE}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807101158.w6ABwaSF020645>