aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/wrk
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2013-03-20 14:35:10 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2013-03-20 14:35:10 +0000
commit187193b253d178513370e28902262d81d4f657ba (patch)
tree1e77a0088c44a39912691b1cd825d635be68a7b1 /benchmarks/wrk
parent3bf53b93a21cfd31ea2a928485ab0b41b95b1afc (diff)
downloadports-187193b253d178513370e28902262d81d4f657ba.tar.gz
ports-187193b253d178513370e28902262d81d4f657ba.zip
Notes
Diffstat (limited to 'benchmarks/wrk')
-rw-r--r--benchmarks/wrk/Makefile12
-rw-r--r--benchmarks/wrk/distinfo4
-rw-r--r--benchmarks/wrk/pkg-descr2
3 files changed, 7 insertions, 11 deletions
diff --git a/benchmarks/wrk/Makefile b/benchmarks/wrk/Makefile
index 40a2e053b258..0a50576828de 100644
--- a/benchmarks/wrk/Makefile
+++ b/benchmarks/wrk/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: wrk
-# Date created: 01 Aug 2012
-# Whom: Sergey A. Osokin <osa@FreeBSD.org>
-#
+# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= wrk
-PORTVERSION= 1.0.0
+PORTVERSION= 1.1.1
CATEGORIES= benchmarks www
MASTER_SITES= http://github.com/wg/${PORTNAME}/tarball/master/
DISTNAME= ${PORTNAME}-${PORTVERSION}-${GITVERSION}
@@ -17,7 +13,7 @@ COMMENT= The modern HTTP benchmarking tool
LICENSE= AL2
FETCH_ARGS= -pRr
-GITVERSION= 0-g6d143f1
+GITVERSION= 0-gae7a043
WRKSRC= ${WRKDIR}/wg-${PORTNAME}-${GITVERSION:S/^0-g//}
USE_GMAKE= yes
CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
@@ -31,7 +27,7 @@ BROKEN= does not link on FreeBSD 7.x
.endif
post-patch:
- @${REINPLACE_CMD} '1d' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} '1d;2s/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff --git a/benchmarks/wrk/distinfo b/benchmarks/wrk/distinfo
index ba1e06473d2a..1da3a31e524d 100644
--- a/benchmarks/wrk/distinfo
+++ b/benchmarks/wrk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wrk-1.0.0-0-g6d143f1.tar.gz) = 39de439025c6b93aa2f8cf81ab1e6f27e955275969de85510bf7a0364a27a05f
-SIZE (wrk-1.0.0-0-g6d143f1.tar.gz) = 37347
+SHA256 (wrk-1.1.1-0-gae7a043.tar.gz) = bc356b483b781a52ecd43f803a418bb0a59088767dcea80954557c452b4f3759
+SIZE (wrk-1.1.1-0-gae7a043.tar.gz) = 40625
diff --git a/benchmarks/wrk/pkg-descr b/benchmarks/wrk/pkg-descr
index 41444c356a41..bf599bbeb484 100644
--- a/benchmarks/wrk/pkg-descr
+++ b/benchmarks/wrk/pkg-descr
@@ -2,4 +2,4 @@ wrk is a modern HTTP benchmarking tool capable of generating significant
load when run on a single multi-core CPU. It combines a multithreaded
design with scalable event notification systems such as epoll and kqueue.
-WWW: https://github.com/wg/wrk/
+WWW: https://github.com/wg/wrk/