blob: 7080ac403fef93d09e7c299235104bb5e58f2737 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.5 2008/05/12 15:49:30 tonnerre Exp $
#
DISTNAME= netperf-2.3pl1
PKGNAME= netperf-2.3.1
PKGREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/archive/ \
ftp://ftp.netperf.org/netperf/archive/ \
ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ \
ftp://ftp.netperf.org/netperf/
MAINTAINER= pkgsrc-users@NetBSD.org
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}/${PKGMANDIR}/man1/netperf.1
${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/${PKGMANDIR}/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"
|