2011-01-31 09:42:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2011/01/31 08:42:09 adam Exp $
|
2003-01-27 14:13:55 +01:00
|
|
|
|
2011-01-31 09:42:09 +01:00
|
|
|
DISTNAME= iperf-2.0.5
|
|
|
|
CATEGORIES= net benchmarks
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
|
2003-01-27 14:13:55 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2011-01-31 09:42:09 +01:00
|
|
|
HOMEPAGE= http://iperf.sourceforge.net/
|
2003-01-27 14:13:55 +01:00
|
|
|
COMMENT= TCP and UDP bandwidth performance measurement tool
|
2011-01-31 09:42:09 +01:00
|
|
|
LICENSE= modified-bsd
|
2003-01-27 14:13:55 +01:00
|
|
|
|
2010-02-11 22:33:29 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-04-12 15:36:37 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
|
|
|
|
GCC_REQD+= 3.0
|
|
|
|
.endif
|
2003-01-27 14:13:55 +01:00
|
|
|
|
2004-04-12 15:36:37 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2004-12-03 14:30:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-04-12 15:36:37 +02:00
|
|
|
|
2011-01-31 09:42:09 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
2003-01-27 14:13:55 +01:00
|
|
|
|
2011-01-31 09:42:09 +01:00
|
|
|
PTHREAD_OPTS+= native optional
|
2004-04-12 15:36:37 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-01-27 14:13:55 +01:00
|
|
|
|
|
|
|
post-install:
|
2011-01-31 09:42:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${WRKSRC}/doc/*.html \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
2003-01-27 14:13:55 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|