diff options
Diffstat (limited to 'benchmarks/netperf/Makefile')
-rw-r--r-- | benchmarks/netperf/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile new file mode 100644 index 00000000000..437bc55833b --- /dev/null +++ b/benchmarks/netperf/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2006/11/21 10:59:25 tron Exp $ +# KAME Id: Makefile,v 1.3 2000/01/21 12:34:29 itojun Exp +# + +DISTNAME= netperf-2.3pl1 +PKGNAME= netperf-2.3.1 +CATEGORIES= benchmarks +MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ + +MAINTAINER= itojun@kame.net +HOMEPAGE= http://www.netperf.org/ +COMMENT= Rick Jones' network performance benchmarking package + +USE_TOOLS+= gzip +MAKE_FILE= makefile + +CFLAGS.IRIX+= -DIRIX + +post-install: + strip ${PREFIX}/netperf/netperf + strip ${PREFIX}/netperf/netserver + ${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1 + ${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1 + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netperf + ${INSTALL_MAN} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf + ${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps + +# The sources assume <malloc.h> exists. Create a fake one for platforms +# that don't have it. +post-wrapper: + if ${TEST} ! -f /usr/include/malloc.h; then \ + ${ECHO} "#include <stdlib.h>" \ + > ${BUILDLINK_DIR}/include/malloc.h; \ + fi + +.include "../../mk/bsd.pkg.mk" |