blob: b63b2774157ce659bb122fe01df9c4b814f63658 (
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
36
37
|
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$
PORTNAME= wrk
PORTVERSION= 3.0.4
CATEGORIES= benchmarks www
MASTER_SITES= https://github.com/wg/wrk/archive/
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= osa@FreeBSD.org
COMMENT= The modern HTTP benchmarking tool
LICENSE= AL2
FETCH_ARGS= -pRr
LIB_DEPENDS+= libluajit-5.1.so:${PORTSDIR}/lang/luajit
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake
CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
PLIST_FILES= bin/wrk
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not link on FreeBSD 7.x
.endif
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g;' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>
|