summaryrefslogtreecommitdiff
path: root/net/iperf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/iperf/Makefile')
-rw-r--r--net/iperf/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
index 03e03c16041..f39102bec9c 100644
--- a/net/iperf/Makefile
+++ b/net/iperf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/05/21 11:37:58 zafer Exp $
+# $NetBSD: Makefile,v 1.17 2010/02/11 21:34:34 joerg Exp $
DISTNAME= iperf-2.0.2
CATEGORIES= net
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://dast.nlanr.net/Projects/Iperf/
COMMENT= TCP and UDP bandwidth performance measurement tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
@@ -27,7 +29,7 @@ PTHREAD_OPTS+= native optional
post-install:
for f in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif; do \
- ${INSTALL_DATA} $$f ${PREFIX}/share/doc/html/${PKGBASE}; \
+ ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/doc/html/${PKGBASE}; \
done
.include "../../mk/bsd.pkg.mk"