summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorheinz <heinz>2007-05-18 21:30:49 +0000
committerheinz <heinz>2007-05-18 21:30:49 +0000
commit6a4336531a24d243f0a2d345a1cecf17e4ac5c75 (patch)
treef753aedb6675d884876947999b4a5cea1dad69cb /benchmarks
parentde13ed58d6b73ce1b18cc55da6e2371b9dd2e0ab (diff)
downloadpkgsrc-6a4336531a24d243f0a2d345a1cecf17e4ac5c75.tar.gz
Added support for installation to DESTDIR.
Fixed a forgotten instance of PKGMANDIR.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/nettest/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/benchmarks/nettest/Makefile b/benchmarks/nettest/Makefile
index ac34a7cd75f..bf4540976f1 100644
--- a/benchmarks/nettest/Makefile
+++ b/benchmarks/nettest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/01/07 09:13:48 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2007/05/18 21:30:49 heinz Exp $
DISTNAME= nettest.92.11.09
PKGNAME= nettest-92.11.09
@@ -9,6 +9,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ginsbach@cray.com
COMMENT= Performs client and server functions for timing data throughput
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
@@ -16,8 +17,8 @@ WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC:Q}/nettest ${PREFIX:Q}/bin/nettest
- ${INSTALL_PROGRAM} ${WRKSRC:Q}/nettestd ${PREFIX:Q}/bin/nettestd
- ${INSTALL_MAN} ${WRKSRC:Q}/nettest.8 ${PREFIX:Q}/man/man8/nettest.8
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/nettest ${DESTDIR:Q}${PREFIX:Q}/bin/nettest
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/nettestd ${DESTDIR:Q}${PREFIX:Q}/bin/nettestd
+ ${INSTALL_MAN} ${WRKSRC:Q}/nettest.8 ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man8/nettest.8
.include "../../mk/bsd.pkg.mk"