summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-05-18 21:30:49 +0000
committerheinz <heinz@pkgsrc.org>2007-05-18 21:30:49 +0000
commit44cb0a218dbeb805ed2756d6c9afd327d7502b42 (patch)
treef753aedb6675d884876947999b4a5cea1dad69cb /benchmarks
parentf51b3050e1a079dcf5d6e048e4aad3dbfc672de6 (diff)
downloadpkgsrc-44cb0a218dbeb805ed2756d6c9afd327d7502b42.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"