summaryrefslogtreecommitdiff
path: root/sysutils/memtest86/Makefile
diff options
context:
space:
mode:
authorasau <asau>2009-12-12 19:34:46 +0000
committerasau <asau>2009-12-12 19:34:46 +0000
commita19af8145753c66807b9f468419adf2a6a8835da (patch)
tree18f13ffcd44dd1ff04a55045ac6e055c2d5055c1 /sysutils/memtest86/Makefile
parent4aa519cff9dc011eb3e4230d38154cbce4901a3d (diff)
downloadpkgsrc-a19af8145753c66807b9f468419adf2a6a8835da.tar.gz
Support staged installation.
Diffstat (limited to 'sysutils/memtest86/Makefile')
-rw-r--r--sysutils/memtest86/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/memtest86/Makefile b/sysutils/memtest86/Makefile
index 6b9d7c21ea4..130d4990c4e 100644
--- a/sysutils/memtest86/Makefile
+++ b/sysutils/memtest86/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/05/22 17:23:06 zafer Exp $
+# $NetBSD: Makefile,v 1.22 2009/12/12 19:34:46 asau Exp $
#
DISTNAME= memtest86-3.4
@@ -13,15 +13,17 @@ COMMENT= Thorough, stand alone memory test for x86 arch
ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
DIST_SUBDIR= ${PKGNAME}
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/mdec
- ${INSTALL_DATA} ${WRKSRC}/memtest ${PREFIX}/mdec
- ${INSTALL_DATA} ${WRKSRC}/memtest.bin ${PREFIX}/mdec
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/memtest
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/memtest
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/mdec
+ ${INSTALL_DATA} ${WRKSRC}/memtest ${DESTDIR}${PREFIX}/mdec
+ ${INSTALL_DATA} ${WRKSRC}/memtest.bin ${DESTDIR}${PREFIX}/mdec
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/memtest
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/memtest
.include "../../mk/bsd.pkg.mk"