openbsd-ports/benchmarks/netpipe/Makefile
2013-03-10 23:04:44 +00:00

29 lines
609 B
Makefile

# $OpenBSD: Makefile,v 1.26 2013/03/10 23:04:44 espie Exp $
COMMENT= self-scaling network benchmark
DISTNAME= netpipe-2.4
DISTFILES= NetPIPE_2.4.tar.gz
REVISION= 0
CATEGORIES= benchmarks net
HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}/code/
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_GETRUSAGE"
ALL_TARGET= NPtcp
USE_GROFF = Yes
NO_TEST= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/NPtcp ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/netpipe.1 ${PREFIX}/man/man1
cd ${PREFIX}/bin && ln -sf NPtcp netpipe
.include <bsd.port.mk>