blob: 878cc9c9bb177344600378b36fd5b2e6b1af9575 (
plain) (
blame)
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.1.0
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 ssl
LLD_UNSAFE= yes
CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH -I/${LOCALBASE}/include/luajit-2.0
MAKE_ENV+= WITH_OPENSSL=${OPENSSLBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
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>
|