aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2017-03-02 08:08:29 +0800
committerdanilo <danilo@FreeBSD.org>2017-03-02 08:08:29 +0800
commit99894dcf124e1ea10247e10487773f537110d0bd (patch)
treea7373dfff43b9890b05f19b83501be56418a2229 /benchmarks
parent74765d4779dde594ae65bac61609543ad99d1615 (diff)
downloadfreebsd-ports-gnome-99894dcf124e1ea10247e10487773f537110d0bd.tar.gz
freebsd-ports-gnome-99894dcf124e1ea10247e10487773f537110d0bd.tar.zst
freebsd-ports-gnome-99894dcf124e1ea10247e10487773f537110d0bd.zip
- Update to 1.0.1
- Add 'go' to USES - Use dependencies from bombardier sources
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bombardier/Makefile17
-rw-r--r--benchmarks/bombardier/distinfo24
2 files changed, 7 insertions, 34 deletions
diff --git a/benchmarks/bombardier/Makefile b/benchmarks/bombardier/Makefile
index fe831abdd9ef..c82c05b8163c 100644
--- a/benchmarks/bombardier/Makefile
+++ b/benchmarks/bombardier/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bombardier
-PORTVERSION= 1.0
+PORTVERSION= 1.0.1
DISTVERSIONPREFIX= v
CATEGORIES= benchmarks
@@ -11,27 +11,18 @@ COMMENT= Fast cross-platform HTTP benchmarking tool written in Go
LICENSE= MIT
-BUILD_DEPENDS= go>=1.7:lang/go
-
USE_GITHUB= yes
GH_ACCOUNT= codesenberg
-GH_TUPLE= cheggaaa:pb:v1.0.7:pb/src/github.com/cheggaaa/pb \
- valyala:fasthttp:v20160617:fasthttp/src/github.com/valyala/fasthttp \
- klauspost:compress:v1.2.1:compress/src/github.com/klauspost/compress \
- klauspost:cpuid:v1.0:cpuid/src/github.com/klauspost/cpuid \
- klauspost:crc32:v1.1:crc32/src/github.com/klauspost/crc32 \
- alecthomas:kingpin:v2.2.3:kingpin/src/github.com/alecthomas/kingpin \
- alecthomas:template:a0175ee:template/src/github.com/alecthomas/template \
- alecthomas:units:2efee85:units/src/github.com/alecthomas/units \
- mattn:go-runewidth:v0.0.2:go_runewidth/src/github.com/mattn/go-runewidth
+USES= go
PLIST_FILES= bin/${PORTNAME}
do-build:
cd ${WRKSRC}; \
+ ${LN} -s vendor src; \
${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -ldflags "-X main.version=${PORTVERSION}" .
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-1.0 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
diff --git a/benchmarks/bombardier/distinfo b/benchmarks/bombardier/distinfo
index 049dbb611161..21b71e73d9d4 100644
--- a/benchmarks/bombardier/distinfo
+++ b/benchmarks/bombardier/distinfo
@@ -1,21 +1,3 @@
-TIMESTAMP = 1488238314
-SHA256 (codesenberg-bombardier-v1.0_GH0.tar.gz) = 87b424ec261bf1364790803723aa108f9c75f1a63797c28ff16c21f692c7d0d3
-SIZE (codesenberg-bombardier-v1.0_GH0.tar.gz) = 284939
-SHA256 (cheggaaa-pb-v1.0.7_GH0.tar.gz) = ff76e8aa0059ff016f0918f979548f23e0ce7d779ea8276ffcf0ed6a1530abe1
-SIZE (cheggaaa-pb-v1.0.7_GH0.tar.gz) = 10600
-SHA256 (valyala-fasthttp-v20160617_GH0.tar.gz) = 342253f1cab10aae3c5a4ac2daa8207fec23fdcff044d5c910ee393f792b225c
-SIZE (valyala-fasthttp-v20160617_GH0.tar.gz) = 148822
-SHA256 (klauspost-compress-v1.2.1_GH0.tar.gz) = 5c95b4b8dba515d275c4071675d35415512b0415d103653ba00f7305bb9ecfa9
-SIZE (klauspost-compress-v1.2.1_GH0.tar.gz) = 2725575
-SHA256 (klauspost-cpuid-v1.0_GH0.tar.gz) = 9739cdbf54eb6c26752c37ae567f59d52ceb879bba7b925b161caf920155d43d
-SIZE (klauspost-cpuid-v1.0_GH0.tar.gz) = 205089
-SHA256 (klauspost-crc32-v1.1_GH0.tar.gz) = 4f48f442a3d79e936dc558843d5bcbeb9f1081c4553cb24167d035dc35abd8e4
-SIZE (klauspost-crc32-v1.1_GH0.tar.gz) = 16086
-SHA256 (alecthomas-kingpin-v2.2.3_GH0.tar.gz) = 1950744e84f83796d39298c2a85c3895b1bf37c4e01c2fdb9f81db309c8da33c
-SIZE (alecthomas-kingpin-v2.2.3_GH0.tar.gz) = 43770
-SHA256 (alecthomas-template-a0175ee_GH0.tar.gz) = 18330bd4bf73af704ec42953b6106e256b58314c7931bcd5aedf41b470ee3dc8
-SIZE (alecthomas-template-a0175ee_GH0.tar.gz) = 55261
-SHA256 (alecthomas-units-2efee85_GH0.tar.gz) = 8e84e0468232e23459212cf84e38164a43b1c8b7a2788a44c9446c01b684c39d
-SIZE (alecthomas-units-2efee85_GH0.tar.gz) = 3445
-SHA256 (mattn-go-runewidth-v0.0.2_GH0.tar.gz) = 6c7734401fdf829af4f35a5af21a54548f7d3a68336940fb550178ddfe95b076
-SIZE (mattn-go-runewidth-v0.0.2_GH0.tar.gz) = 22367
+TIMESTAMP = 1488384668
+SHA256 (codesenberg-bombardier-v1.0.1_GH0.tar.gz) = 83837649a8e5fe5cba219fbae5f88e384b9282877d33b82235db3f032a22aea6
+SIZE (codesenberg-bombardier-v1.0.1_GH0.tar.gz) = 467942