summaryrefslogtreecommitdiff
path: root/net/iperf
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 21:33:29 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 21:33:29 +0000
commitc1664a02eefa7c9bbd90fba48cfe81fa44e74507 (patch)
treebc07d0214d409774e49eaf3de5f775c4a607a401 /net/iperf
parent7a24433f224ae449d94a502f8eefbd2b13810db3 (diff)
downloadpkgsrc-c1664a02eefa7c9bbd90fba48cfe81fa44e74507.tar.gz
DESTDIR support
Diffstat (limited to 'net/iperf')
-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"