From owner-svn-ports-all@freebsd.org Thu Sep 27 21:06:29 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 1BE8A10BA7CD; Thu, 27 Sep 2018 21:06:29 +0000 (UTC) (envelope-from danilo@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 C0A1F77DF3; Thu, 27 Sep 2018 21:06:28 +0000 (UTC) (envelope-from danilo@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 BA108393E; Thu, 27 Sep 2018 21:06:28 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8RL6SOe051994; Thu, 27 Sep 2018 21:06:28 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8RL6S3v051993; Thu, 27 Sep 2018 21:06:28 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201809272106.w8RL6S3v051993@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Thu, 27 Sep 2018 21:06:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480819 - head/benchmarks/bombardier X-SVN-Group: ports-head X-SVN-Commit-Author: danilo X-SVN-Commit-Paths: head/benchmarks/bombardier X-SVN-Commit-Revision: 480819 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: Thu, 27 Sep 2018 21:06:29 -0000 Author: danilo Date: Thu Sep 27 21:06:28 2018 New Revision: 480819 URL: https://svnweb.freebsd.org/changeset/ports/480819 Log: - Simplify the Makefile with GO_* variables Modified: head/benchmarks/bombardier/Makefile Modified: head/benchmarks/bombardier/Makefile ============================================================================== --- head/benchmarks/bombardier/Makefile Thu Sep 27 20:42:29 2018 (r480818) +++ head/benchmarks/bombardier/Makefile Thu Sep 27 21:06:28 2018 (r480819) @@ -16,19 +16,9 @@ USES= go USE_GITHUB= yes GH_ACCOUNT= codesenberg -PLIST_FILES= bin/${PORTNAME} +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +GO_BUILDFLAGS= -ldflags "-X main.version=${PORTVERSION}" -post-patch: - ${MKDIR} ${WRKDIR}/src/github.com/${GH_ACCOUNT} - ${LN} -s ${WRKSRC} ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME} - -do-build: - cd ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \ - GOPATH=${WRKDIR} go build -ldflags "-X main.version=${PORTVERSION}" . - -do-install: - ${INSTALL_PROGRAM} \ - ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} .include