From owner-svn-ports-all@freebsd.org Tue Jul 10 11:58:37 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9D1A10447C9; Tue, 10 Jul 2018 11:58:36 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97BC2729C9; Tue, 10 Jul 2018 11:58:36 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 74A1423A1E; Tue, 10 Jul 2018 11:58:36 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6ABwaM2020646; Tue, 10 Jul 2018 11:58:36 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6ABwaSF020645; Tue, 10 Jul 2018 11:58:36 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201807101158.w6ABwaSF020645@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 10 Jul 2018 11:58:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474356 - head/benchmarks/vegeta X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/benchmarks/vegeta X-SVN-Commit-Revision: 474356 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 11:58:37 -0000 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 (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