COMMENT=	bandwidth test tool compatible with Mikrotiks' btest

GH_ACCOUNT=	samm-git
GH_PROJECT=	btest-opensource
GH_COMMIT=	c093e2a64b832218ff836d503f79e348008ad7fe

DISTNAME=	btest-opensource-0.0.20220728

CATEGORIES=	benchmarks net

# MIT
PERMIT_PACKAGE=	Yes

WANTLIB=	c pthread

CONFIGURE_STYLE=	autoreconf
AUTOCONF_VERSION=	2.71
AUTOMAKE_VERSION=	1.16

NO_TEST=	Yes

post-extract:
	cd ${WRKSRC}; touch NEWS README AUTHORS ChangeLog

# avoid conflict with zeek
post-install:
	mv ${PREFIX}/bin/btest{,-opensource}

.include <bsd.port.mk>
