summaryrefslogtreecommitdiff
path: root/benchmarks/netperf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/netperf/Makefile')
-rw-r--r--benchmarks/netperf/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile
index dd2ddd2fc4a..043c2defb51 100644
--- a/benchmarks/netperf/Makefile
+++ b/benchmarks/netperf/Makefile
@@ -1,12 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2009/07/08 14:28:28 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.8 2010/05/06 11:14:01 adam Exp $
-DISTNAME= netperf-2.3pl1
-PKGNAME= netperf-2.3.1
-PKGREVISION= 1
+DISTNAME= netperf-2.4.5
CATEGORIES= benchmarks
-MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/archive/ \
- ftp://ftp.netperf.org/netperf/archive/
+MASTER_SITES= ftp://ftp.netperf.org/netperf/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.netperf.org/
@@ -14,18 +11,12 @@ COMMENT= Rick Jones' network performance benchmarking package
PKG_DESTDIR_SUPPORT= user-destdir
-USE_TOOLS+= gzip
-MAKE_FILE= makefile
+GNU_CONFIGURE= yes
+INFO_FILES= yes
-CFLAGS.IRIX+= -DIRIX
+CFLAGS.IRIX+= -DIRIX
-INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/netperf
-
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/netperf.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netperf.1
- ${INSTALL_MAN} ${WRKSRC}/netserver.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netserver.1
- ${INSTALL_MAN} ${WRKSRC}/netperf.ps ${DESTDIR}${PREFIX}/share/doc/netperf
- ${GZIP_CMD} ${DESTDIR}${PREFIX}/share/doc/netperf/netperf.ps
+INSTALLATION_DIRS= ${PKGMANDIR}/man1
# The sources assume <malloc.h> exists. Create a fake one for platforms
# that don't have it.