# Created by: Sergey A. Osokin # $FreeBSD: head/benchmarks/wrk/Makefile 413109 2016-04-12 10:43:37Z osa $ PORTNAME= wrk PORTVERSION= 4.0.2 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 WITH_OPENSSL_PORT= yes CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH MAKE_ENV+= WITH_OPENSSL=${LOCALBASE} WITH_LUAJIT=${LOCALBASE} VER=${PORTVERSION} PLIST_FILES= bin/wrk .include # 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