Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2019 14:24:25 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491813 - head/benchmarks/hey
Message-ID:  <201902011424.x11EOPVM078557@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Fri Feb  1 14:24:25 2019
New Revision: 491813
URL: https://svnweb.freebsd.org/changeset/ports/491813

Log:
  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)

Modified:
  head/benchmarks/hey/Makefile
  head/benchmarks/hey/distinfo

Modified: head/benchmarks/hey/Makefile
==============================================================================
--- head/benchmarks/hey/Makefile	Fri Feb  1 14:24:20 2019	(r491812)
+++ head/benchmarks/hey/Makefile	Fri Feb  1 14:24:25 2019	(r491813)
@@ -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>

Modified: head/benchmarks/hey/distinfo
==============================================================================
--- head/benchmarks/hey/distinfo	Fri Feb  1 14:24:20 2019	(r491812)
+++ head/benchmarks/hey/distinfo	Fri Feb  1 14:24:25 2019	(r491813)
@@ -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



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