blob: 20d5469ff01da59689f5338c97e77a8148eefdcd (
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
|
# $NetBSD: Makefile,v 1.19 2012/04/13 22:52:53 hans Exp $
DISTNAME= iperf-2.0.5
CATEGORIES= net benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://iperf.sourceforge.net/
COMMENT= TCP and UDP bandwidth performance measurement tool
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
GCC_REQD+= 3.0
.endif
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
LIBS.SunOS+= -lrt
INSTALLATION_DIRS+= share/doc/${PKGBASE}
PTHREAD_OPTS+= native optional
.include "../../mk/pthread.buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${WRKSRC}/doc/*.html \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.pkg.mk"
|