aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/hey
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2019-02-01 14:24:25 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2019-02-01 14:24:25 +0000
commit245d7b06ea834fe356d6bfa0fd449038e91f5d4a (patch)
tree845b47ec350419a2c7412321abd19bc31807d04f /benchmarks/hey
parenta9afc131641b3a04d260d87c7f23379cea278455 (diff)
downloadports-245d7b06ea834fe356d6bfa0fd449038e91f5d4a.tar.gz
ports-245d7b06ea834fe356d6bfa0fd449038e91f5d4a.zip
benchmarks/hey:
- Update to 0.1.1 - Add LICENSE - Switch to USES=go and remove some hacks - Use GO_PKGNAME to remove post-patch [1] PR: 235291 Submitted by: myself, Dmitri Goutnik <dg@syrec.org> [1] Approved by: brd@ (maintainer)
Notes
Notes: svn path=/head/; revision=491813
Diffstat (limited to 'benchmarks/hey')
-rw-r--r--benchmarks/hey/Makefile24
-rw-r--r--benchmarks/hey/distinfo12
2 files changed, 16 insertions, 20 deletions
diff --git a/benchmarks/hey/Makefile b/benchmarks/hey/Makefile
index d7c595678eb5..3425ca2bc767 100644
--- a/benchmarks/hey/Makefile
+++ b/benchmarks/hey/Makefile
@@ -2,32 +2,26 @@
# $FreeBSD$
PORTNAME= hey
-PORTVERSION= 0.1.0
+PORTVERSION= 0.1.1
DISTVERSIONPREFIX= v
CATEGORIES= benchmarks
MAINTAINER= brd@FreeBSD.org
COMMENT= Tiny program that sends some load to a web application
-BUILD_DEPENDS= go>=1.7:lang/go
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go
+
+GO_PKGNAME= github.com/rakyll/hey
USE_GITHUB= yes
GH_ACCOUNT= rakyll
-GH_TUPLE= golang:net:41bba8d:net/src/golang.org/x/net
+GH_TUPLE= golang:net:04a2e54:net/vendor/golang.org/x/net \
+ golang:text:v0.3.0:text/vendor/golang.org/x/text
PLIST_FILES= bin/hey
-do-build:
- ( cd ${WRKSRC}; \
- ${MKDIR} src/github.com/rakyll/hey; \
- cd src/github.com/rakyll/hey; \
- ${LN} -s ../../../../requester . )
- ( cd ${WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${BUILD_ENV} GOPATH=${WRKSRC} CC=clang \
- go build ${BUILD_FLAGS} )
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${PORTVERSION} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
.include <bsd.port.mk>
diff --git a/benchmarks/hey/distinfo b/benchmarks/hey/distinfo
index fab2f145e1d3..a21c6851a7ad 100644
--- a/benchmarks/hey/distinfo
+++ b/benchmarks/hey/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1497559091
-SHA256 (rakyll-hey-v0.1.0_GH0.tar.gz) = a8127634e21897c587c6c375f88121e907ce4af8bf71374db44c5d752ae4a296
-SIZE (rakyll-hey-v0.1.0_GH0.tar.gz) = 11853
-SHA256 (golang-net-41bba8d_GH0.tar.gz) = 003c999bb8c3d73cc3dae0ca48e8afcb77cf58cb6e2b25b4486ff602deacb8eb
-SIZE (golang-net-41bba8d_GH0.tar.gz) = 770083
+TIMESTAMP = 1548751798
+SHA256 (rakyll-hey-v0.1.1_GH0.tar.gz) = c068017b8299fbfa4d386e6f98fb1a4ecca2be49cee41ae9dffcf60be4c2ed0b
+SIZE (rakyll-hey-v0.1.1_GH0.tar.gz) = 14283
+SHA256 (golang-net-04a2e54_GH0.tar.gz) = c5242b0eac35a3460dbaa3c19c518f802ec82ce9a025bb41dab7a8ef7dcc45c2
+SIZE (golang-net-04a2e54_GH0.tar.gz) = 967090
+SHA256 (golang-text-v0.3.0_GH0.tar.gz) = 8f4c9a048345befc7beccd09267737ee1f55c7b35e5ff80f344ec9e0aa90febb
+SIZE (golang-text-v0.3.0_GH0.tar.gz) = 6102619