Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 17:17:52 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474111 - head/benchmarks/bombardier
Message-ID:  <201807071717.w67HHq9g046768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Jul  7 17:17:52 2018
New Revision: 474111
URL: https://svnweb.freebsd.org/changeset/ports/474111

Log:
  - Update to 1.2

Modified:
  head/benchmarks/bombardier/Makefile
  head/benchmarks/bombardier/distinfo

Modified: head/benchmarks/bombardier/Makefile
==============================================================================
--- head/benchmarks/bombardier/Makefile	Sat Jul  7 17:14:46 2018	(r474110)
+++ head/benchmarks/bombardier/Makefile	Sat Jul  7 17:17:52 2018	(r474111)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bombardier
-PORTVERSION=	1.1.2
+PORTVERSION=	1.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	benchmarks
 
@@ -11,18 +11,24 @@ COMMENT=	Fast cross-platform HTTP benchmarking tool wr
 
 LICENSE=	MIT
 
+USES=		go
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	codesenberg
-USES=		go
 
 PLIST_FILES=	bin/${PORTNAME}
 
+post-patch:
+	${MKDIR} ${WRKDIR}/src/github.com/${GH_ACCOUNT}
+	${LN} -s ${WRKSRC} ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
+
 do-build:
-	cd ${WRKSRC}; \
-		${LN} -s vendor src; \
-		${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags "-X main.version=${PORTVERSION}" .
+	cd ${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \
+		GOPATH=${WRKDIR} go build -ldflags "-X main.version=${PORTVERSION}" .
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_PROGRAM} \
+		${WRKDIR}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/benchmarks/bombardier/distinfo
==============================================================================
--- head/benchmarks/bombardier/distinfo	Sat Jul  7 17:14:46 2018	(r474110)
+++ head/benchmarks/bombardier/distinfo	Sat Jul  7 17:17:52 2018	(r474111)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525311478
-SHA256 (codesenberg-bombardier-v1.1.2_GH0.tar.gz) = 169b77d083f1ac72a39f33604d2dc8ea9d0fbfbf379565e43686a7c8271b4493
-SIZE (codesenberg-bombardier-v1.1.2_GH0.tar.gz) = 579212
+TIMESTAMP = 1530975513
+SHA256 (codesenberg-bombardier-v1.2_GH0.tar.gz) = 7edefaa3705b90e8ec412a78f5061dfde580559e142c784bad2972ee30fd01f1
+SIZE (codesenberg-bombardier-v1.2_GH0.tar.gz) = 591331



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807071717.w67HHq9g046768>