Browse Source

benchmarks/hey:

- Update to 0.1.1
- Add LICENSE
- Switch to USES=go and remove the hacks
master
Bernhard Fröhlich 6 months ago
parent
commit
6b54439cdc
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
2 changed files with 17 additions and 19 deletions
  1. 10
    14
      benchmarks/hey/Makefile
  2. 7
    5
      benchmarks/hey/distinfo

+ 10
- 14
benchmarks/hey/Makefile View File

@@ -2,32 +2,28 @@
# $FreeBSD: head/benchmarks/hey/Makefile 463776 2018-03-07 08:06:24Z yuri $

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

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}
post-patch:
${MKDIR} ${WRKSRC}/vendor/github.com/rakyll/hey
${LN} -s ${WRKSRC}/requester ${WRKSRC}/vendor/github.com/rakyll/hey/requester

.include <bsd.port.mk>

+ 7
- 5
benchmarks/hey/distinfo View File

@@ -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

Loading…
Cancel
Save