summaryrefslogtreecommitdiff
path: root/benchmarks/netio
diff options
context:
space:
mode:
authorheinz <heinz>2008-01-03 23:15:47 +0000
committerheinz <heinz>2008-01-03 23:15:47 +0000
commit937bbf4977f84fce3a859d2ff1b1580425b07d50 (patch)
tree5f773944a33ea3e446535e9a7b2f867719fd3123 /benchmarks/netio
parent2e76da0ac25a1a142dff042e64232affebbf8438 (diff)
downloadpkgsrc-937bbf4977f84fce3a859d2ff1b1580425b07d50.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'benchmarks/netio')
-rw-r--r--benchmarks/netio/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile
index f6a3ce4c3e3..8667ef7c97f 100644
--- a/benchmarks/netio/Makefile
+++ b/benchmarks/netio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/07/02 15:02:59 tron Exp $
+# $NetBSD: Makefile,v 1.17 2008/01/03 23:15:47 heinz Exp $
DISTNAME= netio126
PKGNAME= netio-1.26
@@ -12,6 +12,7 @@ COMMENT= Network benchmark for OS/2 2.x, Windows NT/2000 and Unix
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
@@ -26,9 +27,10 @@ LIBS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/netio ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netio
- ${INSTALL_DATA} ${WRKSRC}/netio.doc ${PREFIX}/share/doc/netio/netio.txt
+ ${INSTALL_PROGRAM} ${WRKSRC}/netio ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/netio
+ ${INSTALL_DATA} ${WRKSRC}/netio.doc \
+ ${DESTDIR}${PREFIX}/share/doc/netio/netio.txt
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"