diff options
author | joerg <joerg> | 2010-02-11 21:33:29 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 21:33:29 +0000 |
commit | 8e9998130d65cc1cf913bc9eae715159cfc68ea6 (patch) | |
tree | bc07d0214d409774e49eaf3de5f775c4a607a401 /net/iperf | |
parent | d61dcf563ee813c14ec9f69a3ceb49c0b6c42ff7 (diff) | |
download | pkgsrc-8e9998130d65cc1cf913bc9eae715159cfc68ea6.tar.gz |
DESTDIR support
Diffstat (limited to 'net/iperf')
-rw-r--r-- | net/iperf/Makefile | 6 |
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" |