86b2c5122a
A big Thank You to the original contributors of these ports: * Alexander Logvinov <ports@logvinov.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey V. Degtyarev * Andreas Kohn <andreas@syndrom23.de> * Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su> * Andrey Zakhvatov <andy@FreeBSD.org> * Andy Clark <andrewclarkii@gmail.com> * Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) * Bill Fumerola <billf@chc-chimes.com> * Brad Davis <brd@FreeBSD.org> * Bruce A. Mah <bmah@FreeBSD.org> * Chao Shin <quakelee@cn.freebsd.org> * Danilo Egea Gondolfo <danilo@FreeBSD.org> * David O'Brien (obrien@FreeBSD.org) * David O'Brien (obrien@NUXI.com) * Dima Sivachenko <dima@chg.ru> * Gabriel M. Dutra <0xdutra@gmail.com> * Gea-Suan Lin <gslin@ccca.nctu.edu.tw> * Gea-Suan Lin <gslin@gslin.org> * Hannes Hauswedell <h2+fbsdports@fsfe.org> * Johannes Dieterich <dieterich@ogolem.org> * Johannes Dieterich <jmd@FreeBSD.org> * Joseph Koshy <jkoshy@FreeBSD.org> * Kris Moore <kmoore@FreeBSD.org> * Lars Eggert <lars@eggert.org> * Mark Pulford <mark@kyne.com.au> * Matthias Fechner <mfechner@FreeBSD.org> * NAKAJI Hiroyuki <nakaji@jp.freebsd.org> * NAKATA Maho <maho@FreeBSD.org> * Oliver Lehmann <oliver@FreeBSD.org> * Pete Fritchman <petef@databits.net> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Radim Kolar * Radim Kolar <hsn@sendmail.cz> * Roman Bogorodskiy <bogorodskiy@inbox.ru> * Scott Flatman <sf@dsinw.com> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Kandaurov <pluknet@gmail.com> * Sergey Skvortsov <skv@protey.ru> * Slava Shwartsman <slavash@FreeBSD.org> * Stephen Montgomery-Smith <stephen@math.missouri.edu> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Thomas Dreibholz <dreibh@iem.uni-due.de> * Tom Judge <tom@tomjudge.com> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vsevolod Stakhov <vsevolod@FreeBSD.org> * Will Andrews <andrews@technologist.com> * Yen-Ming Lee <leeym@FreeBSD.org> * Ying-Chieh Liao <ijliao@FreeBSD.org> * arved * asami * dikshie <dikshie@lapi.itb.ac.id> * gnn * ijliao * janos.mohacsi@bsd.hu * jesper@jdn.dk * jmz * koshy * luigi@FreeBSD.org * mharo@FreeBSD.org * mich@freebsdcluster.org * mr * se * shalunov * thierry@pompo.net * trasz <trasz@pin.if.uz.zgora.pl> * uminac With hat: portmgr
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
PORTNAME= netperf
|
|
PORTVERSION= 2.7.1.p20170921
|
|
PORTREVISION= 1
|
|
CATEGORIES= benchmarks
|
|
|
|
MAINTAINER= marius@FreeBSD.org
|
|
COMMENT= Network performance benchmarking package
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= HewlettPackard
|
|
#GH_TAGNAME= ${PORTNAME}-${PORTVERSION}
|
|
GH_TAGNAME= d566775bf
|
|
|
|
OPTIONS_DEFINE= EXAMPLES EXS HISTOGRAM INFO OMNI SCTP SOCKETS
|
|
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
|
|
|
|
EXS_DESC= Enable ICSC async socket support
|
|
HISTOGRAM_DESC= Enable histogram output
|
|
OMNI_DESC= Enable OMNI tests (disable for aio(4) support)
|
|
SCTP_DESC= Enable SCTP support
|
|
SOCKETS_DESC= Enable Unix Domain socket support
|
|
|
|
USE_CSTD= gnu89
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= "transform="
|
|
CONFIGURE_ARGS= --program-prefix="" --program-suffix="" --enable-dirty \
|
|
--enable-demo --enable-burst --enable-intervals
|
|
CFLAGS+= -fcommon
|
|
|
|
INFO_INFO= netperf
|
|
|
|
EXS_CONFIGURE_ENABLE= exs
|
|
HISTOGRAM_CONFIGURE_ENABLE= histogram
|
|
OMNI_CONFIGURE_ENABLE= omni
|
|
SCTP_CONFIGURE_ENABLE= sctp
|
|
SOCKETS_CONFIGURE_ENABLE= unixdomain
|
|
|
|
SCRIPTS= arr_script bloat.sh find_max_burst.sh packet_byte_script \
|
|
remote_hosts runemomni.sh runemomniagg2.sh runemomniaggdemo.sh \
|
|
sctp_stream_script snapshot_script tcp_range_script \
|
|
tcp_rr_script tcp_stream_script udp_rr_script \
|
|
udp_stream_script
|
|
|
|
post-patch:
|
|
.for i in ${SCRIPTS}
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/doc/examples/$i
|
|
.endfor
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for i in ${SCRIPTS}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/examples/$i ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|