c47b28b2c2
PR: 215413 Submitted by: luca.pizzamiglio@gmail.com (maintainer)
33 lines
725 B
Makefile
33 lines
725 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= stress-ng
|
|
PORTVERSION= 0.07.11
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://kernel.ubuntu.com/~cking/tarballs/stress-ng/
|
|
|
|
MAINTAINER= luca.pizzamiglio@gmail.com
|
|
COMMENT= Stress test benchmarks
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_aarch64= Fails to link: missing sbrk
|
|
|
|
USES= gmake
|
|
ALL_TARGET= # empty
|
|
|
|
PLIST_FILES= bin/stress-ng man/man1/stress-ng.1.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1000000
|
|
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-stress-cpu.h \
|
|
${FILESDIR}/extrapatch-Makefile
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.post.mk>
|