freebsd-ports/benchmarks/wrk/Makefile
Beat Gaetzi 48de2dcf2c - Mark BROKEN on FreeBSD 7.x: does not link
undefined reference to `sqrtl'

Reported by:	pointyhat
2012-09-25 17:52:49 +00:00

39 lines
829 B
Makefile

# New ports collection makefile for: wrk
# Date created: 01 Aug 2012
# Whom: Sergey A. Osokin <osa@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wrk
PORTVERSION= 1.0.0
CATEGORIES= benchmarks www
MASTER_SITES= http://github.com/wg/${PORTNAME}/tarball/master/
DISTNAME= ${PORTNAME}-${PORTVERSION}-${GITVERSION}
MAINTAINER= osa@FreeBSD.org
COMMENT= The modern HTTP benchmarking tool
LICENSE= AL2
FETCH_ARGS= -pRr
GITVERSION= 0-g6d143f1
WRKSRC= ${WRKDIR}/wg-${PORTNAME}-${GITVERSION:S/^0-g//}
USE_GMAKE= yes
CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
PLIST_FILES= bin/wrk
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not link on FreeBSD 7.x
.endif
post-patch:
@${REINPLACE_CMD} '1d' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>