blob: 7331039a324904d82380b6050b0be06ee93d70fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
PORTNAME= wrk
PORTVERSION= 4.0.1
PORTREVISION= 3
CATEGORIES= benchmarks www
MAINTAINER= osa@FreeBSD.org
COMMENT= Modern HTTP benchmarking tool
LICENSE= APACHE20
LIB_DEPENDS= libluajit-5.1.so:lang/luajit
USE_GITHUB= yes
GH_ACCOUNT= wg
USES= gmake
USE_OPENSSL= yes
CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
PLIST_FILES= bin/wrk
.include <bsd.port.pre.mk>
# Port requires 64 bit atomics
.if ${ARCH} == i386 && empty(MACHINE_CPU:Mi586)
CFLAGS+= -march=i586
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>
|