mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
benchmarks/wrk: add luajit and luajit-openresty flavors.
Bump PORTREVISION.
This commit is contained in:
parent
fa23bcdfc5
commit
f7dc9143c8
1 changed files with 17 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= wrk
|
||||
PORTVERSION= 4.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= benchmarks www
|
||||
|
||||
MAINTAINER= osa@FreeBSD.org
|
||||
|
@ -9,15 +10,29 @@ COMMENT= Modern HTTP benchmarking tool
|
|||
|
||||
LICENSE= APACHE20
|
||||
|
||||
LIB_DEPENDS= libluajit-5.1.so:lang/luajit
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= wg
|
||||
|
||||
FLAVORS= luajit luajitor
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
|
||||
luajit_PKGNAMESUFFIX= -luajit
|
||||
luajitor_PKGNAMESUFFIX= -luajit-openresty
|
||||
|
||||
luajit_CONFLICTS_INSTALL= ${PORTNAME}-luajit-openresty
|
||||
luajitor_CONFLICTS_INSTALL= ${PORTNAME}-luajit
|
||||
|
||||
USES= gmake ssl
|
||||
USE_CSTD= c99
|
||||
LLD_UNSAFE= yes
|
||||
.if ${FLAVOR} == luajit
|
||||
CFLAGS+= -I${LOCALBASE}/include/luajit-2.0
|
||||
LIB_DEPENDS= libluajit-5.1.so:lang/luajit
|
||||
.else
|
||||
CFLAGS+= -I${LOCALBASE}/include/luajit-2.1
|
||||
LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
|
||||
.endif
|
||||
|
||||
MAKE_ENV+= WITH_OPENSSL=${OPENSSLBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION}
|
||||
|
||||
PLIST_FILES= bin/wrk
|
||||
|
|
Loading…
Add table
Reference in a new issue